[PATCH v3 0/4] PCI: Rework pci_scan_slot() and isolated PCI functions
From: Niklas Schnelle
Date: Tue Apr 19 2022 - 06:28:28 EST
Hi Bjorn, Hi Jan,
In an earlier version[0], I sought to apply the existing jailhouse special case
for isolated PCI functions to s390. As Bjorn noted in[1] there appears to be
some potential for cleaning things up and removing duplication though.
This series attempts to do this cleanup (Patches 1 and 2) followed by enabling
isolated PCI functions for s390 (Patches 3 and 4). If need be I can of course
split the cleanup off but for now I kept it as one as that's what I have
been testing.
Thanks,
Niklas
Changes v2 -> v3:
- Removed now unused nr_devs variable (kernel test robot)
[0] https://lore.kernel.org/linux-pci/20220404095346.2324666-1-schnelle@xxxxxxxxxxxxx/
[1] https://lore.kernel.org/linux-pci/20220408224514.GA353445@bhelgaas/
Niklas Schnelle (4):
PCI: Clean up pci_scan_slot()
PCI: Move jailhouse's isolated function handling to pci_scan_slot()
PCI: Extend isolated function probing to s390
s390/pci: allow zPCI zbus without a function zero
arch/s390/pci/pci_bus.c | 82 ++++++++++----------------------------
drivers/pci/probe.c | 63 +++++++++++------------------
include/linux/hypervisor.h | 9 +++++
3 files changed, 52 insertions(+), 102 deletions(-)
--
2.32.0