Re: [PPC] Boot problems after the pci-v6.18-changes
From: Christian Zigotzky <hidden>
Date: 2025-10-13 14:50:51
Also in:
linux-pci
On 13 October 2025 at 07:23 am, Christian Zigotzky wrote:
quoted hunk ↗ jump to hunk
Better for testing (All AMD graphics cards):diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 214ed060ca1b..e006b0560b39 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c@@ -2525,6 +2525,15 @@ static void quirk_disable_aspm_l0s_l1(struct pci_dev *dev)*/ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ASMEDIA, 0x1080, quirk_disable_aspm_l0s_l1); + +static void quirk_disable_aspm_all(struct pci_dev *dev) +{ + pci_info(dev, "Disabling ASPM\n"); + pci_disable_link_state(dev, PCIE_LINK_STATE_ALL); +} + +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, PCI_ANY_ID, quirk_disable_aspm_all); + /* * Some Pericom PCIe-to-PCI bridges in reverse mode need the PCIe Retrain * Link bit cleared after starting the link retrain process to allow this
This patch has solved the boot issue but I get the following error messages again and again: [ 186.765644] pcieport 0001:00:00.0: AER: Correctable error message received from 0001:00:00.0 (no details found [ 187.789034] pcieport 0001:00:00.0: AER: Correctable error message received from 0001:00:00.0 [ 187.789052] pcieport 0001:00:00.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Transmitter ID) [ 187.789058] pcieport 0001:00:00.0: device [1957:0451] error status/mask=00001000/00002000 [ 187.789066] pcieport 0001:00:00.0: [12] Timeout [ 187.789120] pcieport 0001:00:00.0: AER: Correctable error message received from 0001:00:00.0 (no details found [ 187.789169] pcieport 0001:00:00.0: AER: Correctable error message received from 0001:00:00.0 (no details found [ 187.789218] pcieport 0001:00:00.0: AER: Correctable error message received from 0001:00:00.0 (no details found [ 188.812514] pcieport 0001:00:00.0: AER: Correctable error message received from 0001:00:00.0 I don't get these messages with the revert patch. [1] -- Christian [1] https://github.com/chzigotzky/kernels/blob/main/patches/e5500/pci.patch