diff options
author | Joel Stanley <joel@jms.id.au> | 2016-09-21 23:05:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 07:31:14 (GMT) |
commit | edcd692fe4816ba6cb240b7a1d8b984ee7082763 (patch) | |
tree | 2ddad3b2ce71d6237a3cf13499881510d5a68125 /arch/.gitignore | |
parent | e07dc63ba22df2d8bc931821b22938d4ce37a934 (diff) | |
download | linux-edcd692fe4816ba6cb240b7a1d8b984ee7082763.tar.xz |
net/faraday: Mask out PHYSTS_CHG interrupt
The PHYSTS_CHG (the ftgmac100's PHY IRQ) is telling the system to go
look at the PHY registers for a link status change.
The interrupt was causing issues on Aspeed SoC where some board designs
had an active high configuration, some active low, and in some cases
repurposed for other functions. When misconfigured Linux would chew 100%
of CPU cycles servicing interrupts:
[ 20.280000] ftgmac100 1e660000.ethernet eth0: [ISR] = 0x200: PHYSTS_CHG
[ 20.280000] ftgmac100 1e660000.ethernet eth0: [ISR] = 0x200: PHYSTS_CHG
[ 20.280000] ftgmac100 1e660000.ethernet eth0: [ISR] = 0x200: PHYSTS_CHG
[ 20.300000] ftgmac100 1e660000.ethernet eth0: [ISR] = 0x200: PHYSTS_CHG
While in the ftgmac100 IP can be configured for high, low and edge
sensitivity the current driver always polls the PHY, so we chose to mask
out the interrupt.
See https://patchwork.ozlabs.org/patch/672099/ for more discussion.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions