Hi Krzysztof,
On 4/23/26 10:52 PM, Krzysztof Wilczyński wrote:
Hello,
This series converts every dynamically allocated PCI sysfs attribute to
a static const definition. After the full series, pci_sysfs_init() and
sysfs_initialized are gone, and every sysfs file is created by the
driver model at device_add() time.
A note on testing:
0-day bot (recent test runs; newer builds will arrive later):
- https://lore.kernel.org/linux-pci/[email protected]
- https://lore.kernel.org/linux-pci/[email protected]
- https://lore.kernel.org/linux-pci/[email protected]
- https://lore.kernel.org/linux-pci/[email protected]
- https://lore.kernel.org/linux-pci/[email protected]
- https://lore.kernel.org/linux-pci/[email protected]
- https://lore.kernel.org/linux-pci/[email protected]
- https://lore.kernel.org/linux-pci/[email protected]
KernelCI (for the "for-kernelci" branch):
-
https://dashboard.kernelci.org/tree/linux-pci/for-kernelci/941dd7c3e16840724dc961f10b84e193d13cdb57
-
https://dashboard.kernelci.org/tree/linux-pci/for-kernelci/683e66b11da157f730101f6919c7468a09cf3e3f
-
https://dashboard.kernelci.org/tree/linux-pci/for-kernelci/209e2cfd205a8aad4bae32e6f82b96b20902aa74
-
https://dashboard.kernelci.org/tree/linux-pci/for-kernelci/70293477e2c0ae8cbc250098818e726e1d658b53
- https://dashboard.kernelci.org/tree?ts=pci
Sashiko's feedback:
-
https://sashiko.dev/#/patchset/20260422161407.118748-1-kwilczynski%40kernel.org
-
https://sashiko.dev/#/patchset/20260416180107.777065-1-kwilczynski%40kernel.org
-
https://sashiko.dev/#/patchset/20260411080148.471335-1-kwilczynski%40kernel.org
-
https://sashiko.dev/#/patchset/20260410055040.39233-1-kwilczynski%40kernel.org
I sadly do not own any Alpha or PowerPC hardware, so when I was testing
these architectures while working on the series, it would be only under
QEMU.
I tested the patches on PPC64 machines running as pSeries(on PowerVM and
KVM) also PowerNV.
The sysfs attributes looks normal on boot, and on hotplug/unplug of
devices and SRIOV use cases.
I see no warnings/errors in dmesg during PCI scans, initialization.
Tested-By: Shivaprasad G Bhat <[email protected]>
Thanks,
Shivaprasad
That said, Magnus Lindholm was able to test the series on the Alpha
hardware he owns, see:
-
https://lore.kernel.org/linux-pci/CA+=fv5q1tzqwnanw99nbvzt-qenfyz7vudy02_tupqhx32z...@mail.gmail.com
Lorenzo Pieralisi did some testing reported outside the mailing list (we
talked on IRC), on the platform he had issues before, and while the issues
were more with procfs races, similar to the sysfs ones this series aims to
fix, he didn't notice regressions when having this series applied.
Thank you!
Krzysztof