linux_dsm_epyc7002/drivers/net/ethernet
Heiner Kallweit 714c19bc13 r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
[ Upstream commit cc9f07a838c4988ed244d0907cb71d54b85482a5 ]

So far phy_disconnect() is called before free_irq(). If CONFIG_DEBUG_SHIRQ
is set and interrupt is shared, then free_irq() creates an "artificial"
interrupt by calling the interrupt handler. The "link change" flag is set
in the interrupt status register, causing phylib to eventually call
phy_suspend(). Because the net_device is detached from the PHY already,
the PHY driver can't recognize that WoL is configured and powers down the
PHY.

Fixes: f1e911d5d0 ("r8169: add basic phylib support")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/fe732c2c-a473-9088-3974-df83cfbd6efd@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-10 09:29:14 +01:00
..
3com networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
8390 lib8390: Use netif_msg_init to initialize msg_enable bits 2020-10-01 19:08:46 -07:00
adaptec
aeroflex
agere ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
alacritech
allwinner net: allwinner: Fix some resources leak in the error handling path of the probe and in the remove function 2020-12-30 11:53:57 +01:00
alteon
altera
amazon net: ena: fix packet's addresses for rx_offset feature 2020-11-24 16:07:13 -08:00
amd networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
apm
apple
aquantia aquantia: Remove the build_skb path 2020-11-24 10:59:17 -08:00
arc drivers/net/ethernet: add some basic kdoc tags 2020-09-25 16:29:00 -07:00
atheros atl1e: fix error return code in atl1e_probe() 2020-11-18 11:02:15 -08:00
aurora
broadcom net: systemport: free dev before on error path 2021-01-27 11:55:27 +01:00
brocade net: bna: Use fallthrough pseudo-keyword 2020-10-03 17:33:23 -07:00
cadence ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
calxeda drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
cavium net: thunderx: Use struct_size() helper in kmalloc() 2020-10-10 10:34:03 -07:00
chelsio cxgb4/chtls: Fix tid stuck due to wrong update of qid 2021-01-23 16:04:05 +01:00
cirrus
cisco net: remove unneeded break 2020-10-20 10:28:21 -07:00
cortina drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
davicom
dec drivers/net/ethernet: clean up unused assignments 2020-09-25 16:29:00 -07:00
dlink
emulex
ezchip
faraday ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
freescale net: fec: put child node on error path 2021-02-07 15:37:11 +01:00
fujitsu
google gve: Replace zero-length array with flexible-array member 2020-10-30 16:57:41 -05:00
hisilicon net: hns3: fix a phy loopback fail issue 2021-01-17 14:16:54 +01:00
huawei Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
i825xx lib82596: convert to dma_alloc_noncoherent 2020-09-25 06:20:45 +02:00
ibm ibmvnic: device remove has higher precedence over reset 2021-02-10 09:29:14 +01:00
intel i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues" 2021-02-10 09:29:13 +01:00
marvell net: mvpp2: TCAM entry enable should be written after SRAM data 2021-02-10 09:29:14 +01:00
mediatek net: ethernet: mtk-star-emac: fix error return code in mtk_star_enable() 2020-11-12 17:58:37 -08:00
mellanox net/mlx5e: Release skb in case of failure in tc update skb 2021-02-10 09:29:14 +01:00
micrel net: ksz884x: Use fallthrough pseudo-keyword 2020-10-03 17:33:23 -07:00
microchip lan743x: fix rx_napi_poll/interrupt ping-pong 2020-12-30 11:53:56 +01:00
moxa
mscc net: mscc: ocelot: Fix multicast to the CPU port 2021-01-27 11:55:26 +01:00
myricom
natsemi net/sonic: Fix some resource leaks in error handling paths 2021-01-17 14:16:55 +01:00
neterion net: vxge: Remove in_interrupt() conditionals 2020-09-29 14:02:54 -07:00
netronome nfp: move indirect block cleanup to flower app stop callback 2020-12-30 11:54:00 +01:00
ni
nvidia
nxp ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
oki-semi drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
packetengines drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
pasemi net: pasemi: fix error return code in pasemi_mac_open() 2020-12-02 18:03:58 -08:00
pensando ionic: start queues before announcing link up 2021-01-17 14:16:59 +01:00
qlogic netxen_nic: fix MSI/MSI-x interrupts 2021-01-23 16:03:59 +01:00
qualcomm net: qualcomm: rmnet: Fix incorrect receive packet handling during cleanup 2020-11-16 16:34:49 -08:00
rdc
realtek r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set 2021-02-10 09:29:14 +01:00
renesas sh_eth: Fix power down vs. is_opened flag ordering 2021-01-27 11:55:22 +01:00
rocker ethernet: select CONFIG_CRC32 as needed 2020-12-04 14:42:21 -08:00
samsung drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
seeq sgiseeq: convert to dma_alloc_noncoherent 2020-09-25 06:20:45 +02:00
sfc sfc: move initialisation of efx->filter_sem to efx_init_struct() 2020-10-20 21:22:23 -07:00
sgi
silan
sis drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
smsc
socionext netsec: ignore 'phy-mode' device property on ACPI systems 2020-10-20 15:59:43 -07:00
stmicro stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing 2021-02-07 15:37:12 +01:00
sun networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
synopsys drivers/net/ethernet: clean up unused assignments 2020-09-25 16:29:00 -07:00
tehuti drivers/net/ethernet: clean up mis-targeted comments 2020-09-25 16:29:00 -07:00
ti net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered 2021-01-12 20:18:11 +01:00
toshiba
tundra
via Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
wiznet
xilinx net: ll_temac: Fix potential NULL dereference in temac_probe() 2020-12-08 16:15:46 -08:00
xircom
xscale
dnet.c drivers/net/ethernet: clean up unused assignments 2020-09-25 16:29:00 -07:00
dnet.h
ec_bhf.c
ethoc.c net: ethernet: Fix memleak in ethoc_probe 2021-01-12 20:18:10 +01:00
fealnx.c
jme.c
jme.h
Kconfig
korina.c net: korina: fix return value 2020-12-30 11:53:57 +01:00
lantiq_etop.c
lantiq_xrx200.c net: lantiq: Add locking for TX DMA channel 2020-09-23 18:01:03 -07:00
Makefile