public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI/portdev: Disable AER for Titan Ridge 4C 2018
@ 2026-01-06 18:20 Atharva Tiwari
  2026-01-06 18:27 ` Dave Jiang
  2026-01-06 19:00 ` Kuppuswamy Sathyanarayanan
  0 siblings, 2 replies; 11+ messages in thread
From: Atharva Tiwari @ 2026-01-06 18:20 UTC (permalink / raw)
  Cc: Atharva Tiwari, Bjorn Helgaas, Lukas Wunner, Dave Jiang,
	Kuppuswamy Sathyanarayanan, Feng Tang, linux-pci, linux-kernel

Disable AER for Intel Titan Ridge 4C 2018
(used in T2 iMacs, where the warnings appear)
that generates continuous pcieport warnings. such as:

pcieport 0000:00:1c.4: AER: Correctable error message received from 0000:07:00.0
pcieport 0000:07:00.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Receiver ID)
pcieport 0000:07:00.0:   device [8086:15ea] error status/mask=00000080/00002000
pcieport 0000:07:00.0:    [ 7] BadDLLP

(see: https://bugzilla.kernel.org/show_bug.cgi?id=220651)

macOS also disables AER for Thunderbolt devices and controllers in their drivers.

Signed-off-by: Atharva Tiwari <atharvatiwarilinuxdev@gmail.com>
---
 drivers/pci/pcie/portdrv.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/pci/pcie/portdrv.c b/drivers/pci/pcie/portdrv.c
index 38a41ccf79b9..5330a679fcff 100644
--- a/drivers/pci/pcie/portdrv.c
+++ b/drivers/pci/pcie/portdrv.c
@@ -240,7 +240,9 @@ static int get_port_device_capability(struct pci_dev *dev)
 	if ((pci_pcie_type(dev) == PCI_EXP_TYPE_ROOT_PORT ||
              pci_pcie_type(dev) == PCI_EXP_TYPE_RC_EC) &&
 	    dev->aer_cap && pci_aer_available() &&
-	    (pcie_ports_native || host->native_aer))
+	    (pcie_ports_native || host->native_aer) &&
+	    !(dev->vendor == PCI_VENDOR_ID_INTEL &&
+		    (dev->device >= 0x15EA && dev->device <= 0x15EC)))
 		services |= PCIE_PORT_SERVICE_AER;
 #endif
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-01-07 10:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 18:20 [PATCH] PCI/portdev: Disable AER for Titan Ridge 4C 2018 Atharva Tiwari
2026-01-06 18:27 ` Dave Jiang
2026-01-06 19:00 ` Kuppuswamy Sathyanarayanan
2026-01-06 19:33   ` Atharva Tiwari
2026-01-06 19:54   ` Kuppuswamy Sathyanarayanan
2026-01-07  4:43     ` Atharva Tiwari
2026-01-06 20:48   ` Bjorn Helgaas
2026-01-07  9:30     ` Mika Westerberg
2026-01-07  9:54       ` Atharva Tiwari
2026-01-07 10:01         ` Lukas Wunner
2026-01-07 10:02         ` Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox