Re: [PPC] Boot problems after the pci-v6.18-changes

Christian Zigotzky <[email protected]>
Newsgroups gmane.linux.ports.ppc64.devel,gmane.linux.kernel.pci,gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
On 13 October 2025 at 05:02 pm, Christian Zigotzky wrote:
> On 13 October 2025 at 04:50 pm, 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]
>>
>> -- Christian
>>
>> [1] 
>> https://github.com/chzigotzky/kernels/blob/main/patches/e5500/pci.patch
>>
>>
> 0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0451 (rev 21)
Solution?

+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_FSL, PCI_ANY_ID, 
quirk_disable_aspm_all);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.