[PATCH V5 0/4] PCI/ASPM: reconfigure ASPM following hotplug for POLICY_DEFAULT

Sinan Kaya okaya at codeaurora.org
Tue Mar 28 06:04:29 PDT 2017


On 3/28/2017 8:52 AM, Sinan Kaya wrote:
> On 3/28/2017 2:02 AM, Patel, Mayurkumar wrote:
>> Thanks for your patches. I am seeing kernel panic after applying
>> these patches (on top of latest kernel) each time during early boot in pci_aspm_init() (any hints already?) function.
>> Need to check if it's something related to my local setup or it's because of these changes.
>> For now I don't have more details why it crashes but I will dig in further and I will provide
>> you more data as soon as I have it.
>>
> 
> Interesting, I retested Qemu and I don't see an issue. 
> Can you share your bootlog when you see the crash?
> 
Thinking more...

Can you add this to the top of pci_aspm_init() and try again?

if (!pci_is_pcie(pdev))
          return -EINVAL;

-- 
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.



More information about the linux-arm-kernel mailing list