Re: [PATCH v6 00/24] PCI: Convert all dynamic sysfs attributes to static
Shivaprasad G Bhat <[email protected]> Mon, 27 Apr 2026 19:39:56 +0530
| Newsgroups | org.kernel.vger.linux-alpha,org.kernel.vger.linux-pci,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
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_TuPqHX32ZAiA@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 >