[PPC] Boot problems after the pci-v6.18-changes
Manivannan Sadhasivam
mani at kernel.org
Tue Oct 14 02:58:59 AEDT 2025
On Mon, Oct 13, 2025 at 04:50:31PM +0200, Christian Zigotzky wrote:
> On 13 October 2025 at 07:23 am, Christian Zigotzky wrote:
> > 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]
>
Either the Root Port could be triggering these AER messages due to ASPM issue or
due to the endpoint connected downstream.
If possible, please share the whole dmesg log instead of the snippet so that we
can be sure from where the AER messages are coming from.
You can also add the below quirk and check:
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_FSL, 0x0451, quirk_disable_aspm_all);
But it would be better to get the whole dmesg.
- Mani
--
மணிவண்ணன் சதாசிவம்
More information about the Linuxppc-dev
mailing list