mbox series

[v2,0/4] PCI: Rework pci_scan_slot() and isolated PCI functions

Message ID 20220412143040.1882096-1-schnelle@linux.ibm.com (mailing list archive)
Headers show
Series PCI: Rework pci_scan_slot() and isolated PCI functions | expand

Message

Niklas Schnelle April 12, 2022, 2:30 p.m. UTC
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

[0] https://lore.kernel.org/linux-pci/20220404095346.2324666-1-schnelle@linux.ibm.com/
[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        | 60 ++++++++++------------------
 include/linux/hypervisor.h |  9 +++++
 3 files changed, 51 insertions(+), 100 deletions(-)