linux-yocto/drivers/net/ethernet/realtek
Heiner Kallweit 10ce0db787 r8169: avoid unsolicited interrupts
It was reported that after resume from suspend a PCI error is logged
and connectivity is broken. Error message is:
PCI error (cmd = 0x0407, status_errs = 0x0000)
The message seems to be a red herring as none of the error bits is set,
and the PCI command register value also is normal. Exception handling
for a PCI error includes a chip reset what apparently brakes connectivity
here. The interrupt status bit triggering the PCI error handling isn't
actually used on PCIe chip versions, so it's not clear why this bit is
set by the chip. Fix this by ignoring this bit on PCIe chip versions.

Fixes: 0e4851502f ("r8169: merge with version 8.001.00 of Realtek's r8168 driver")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219388
Tested-by: Atlas Yu <atlas.yu@canonical.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/78e2f535-438f-4212-ad94-a77637ac6c9c@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-10-23 15:41:27 +02:00
..
rtase rtase: Fix error code in rtase_init_board() 2024-09-13 21:23:43 -07:00
8139cp.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
8139too.c net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers). 2022-10-28 20:13:54 -07:00
atp.c ethernet: replace netdev->dev_addr 16bit writes 2021-10-14 09:22:27 -07:00
atp.h net: wan: atp: remove unused eeprom_delay() 2022-04-26 17:09:23 -07:00
Kconfig realtek: Update the Makefile and Kconfig in the realtek folder 2024-09-05 22:02:39 -07:00
Makefile realtek: Update the Makefile and Kconfig in the realtek folder 2024-09-05 22:02:39 -07:00
r8169_firmware.c r8169: remove not needed check in rtl_fw_write_firmware 2023-11-24 15:27:22 +00:00
r8169_firmware.h r8169: factor out firmware handling 2019-06-05 11:41:59 -07:00
r8169_leds.c r8169: fix LED-related deadlock on module removal 2024-04-10 10:44:29 +01:00
r8169_main.c r8169: avoid unsolicited interrupts 2024-10-23 15:41:27 +02:00
r8169_phy_config.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-09-15 09:13:19 -07:00
r8169.h r8169: add support for RTL8126A rev.b 2024-09-02 18:56:28 -07:00