Bug 219513

Summary: PCIe drivers do not bind
Product: Drivers Reporter: Jonathan Currier (dullfire)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: NEW ---    
Severity: normal    
Priority: P3    
Hardware: Sparc64   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: debug info (some shell commands to check the PCIe devices and drivers)
full dmesg from a non working boot (PCIe drivers don't bind
Extracted device tree of running system (non bound PCIe)

Description Jonathan Currier 2024-11-19 12:55:36 UTC
Created attachment 307241 [details]
debug info (some shell commands to check the PCIe devices and drivers)

In linux-next (next-20241118), since
commit 03cfe0e05650 ("PCI/pwrctl: Ensure that the pwrctl drivers are probed before the PCI client drivers")
PCIe drivers no longer bind (at least on the tested SPARCv9 system).

It appears a "supplier" devlink is created, however it is are dormant. see attached "bug-info.txt"
Comment 1 Jonathan Currier 2024-11-19 17:01:47 UTC
Created attachment 307244 [details]
full dmesg from a non working boot (PCIe drivers don't bind

dmesg from a boot of next-20241118.
Comment 2 Jonathan Currier 2024-11-19 17:05:08 UTC
Created attachment 307245 [details]
Extracted device tree of running system (non bound PCIe)

SPARC uses actual openfirmware, which means there is no separate device tree source. The device tree is accessed via the openfirmare (PROM) interface. I took the live image, and converted it to a dts file for easy/sanity of debugging.