Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by John Garry
Tue, 03 Nov 2026 17:27
[RFC PATCH] PCI: Avoid bus reset for Realtek RTL8126
Author: John Garry
Date: Tue, 03 Nov 2026 17:27
Date: Tue, 03 Nov 2026 17:27
38 lines
9239 bytes
9239 bytes
From testing on a Orion O6 board, a bus level reset for a RTL8126 may not
recover:
root@radxa-kernel:/sys/devices/pci0000:00/0000:00:00.0/0000:01:00.0# more reset_method
bus
root@radxa-kernel:/sys/devices/pci0000:00/0000:00:00.0/0000:01:00.0# echo 1 > reset
r8169 0000:01:00.0: resetting
r8169 0000:01:00.0: not ready 1023ms after bus reset; waiting
r8169 0000:01:00.0: not ready 2047ms after bus reset; waiting
r8169 0000:01:00.0: not ready 4095ms after bus reset; waiting
r8169 0000:01:00.0: not ready 8191ms after bus reset; waiting
r8169 0000:01:00.0: not ready 16383ms after bus reset; waiting
r8169 0000:01:00.0: not ready 32767ms after bus reset; waiting
SError Interrupt on CPU6, code 0x00000000be000011 -- SError
Add a quirk to avoid this reset method.
Signed-off-by: John Garry <john.garry@arm.com>
---
I'm sending as an RFC as I am not sure that this is an issue with the
development board and not the controller.
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 7f1f47ea2ee4..69eef714838a 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3850,6 +3850,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ASMEDIA, 0x1164, quirk_no_bus_reset);
/* Intel DG1 0x4905 may not recover from bus reset */
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x4905, quirk_no_bus_reset);
+/* Realtek RTL8126 may not recover from a bus reset */
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_REALTEK, 0x8126, quirk_no_bus_reset);
+
static void quirk_no_pm_reset(struct pci_dev *dev)
{
/*
--
2.47.3
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads