kernel_samsung_a53x/drivers/net/ethernet/realtek
Heiner Kallweit fd0a3436e4 r8169: avoid unsolicited interrupts
[ Upstream commit 10ce0db787004875f4dba068ea952207d1d8abeb ]

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: 0e4851502f84 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:22:01 +01:00
..
8139cp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8139too.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169_firmware.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169_firmware.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169_main.c r8169: avoid unsolicited interrupts 2024-11-23 23:22:01 +01:00
r8169_phy_config.c r8169: disable ALDPS per default for RTL8125 2024-11-23 23:21:19 +01:00