diff options
author | 2022-06-28 16:30:59 +0200 | |
---|---|---|
committer | 2022-07-22 16:06:03 -0500 | |
commit | 189c6c33ff421def040b904fb14ef76c5bf5af4c (patch) | |
tree | 864dd92ce7aec34c0cf4929b14c70214ee29f3a8 /tools/perf/scripts/python | |
parent | PCI: Move jailhouse's isolated function handling to pci_scan_slot() (diff) | |
download | linux-dev-189c6c33ff421def040b904fb14ef76c5bf5af4c.tar.xz linux-dev-189c6c33ff421def040b904fb14ef76c5bf5af4c.zip |
PCI: Extend isolated function probing to s390
Like the jailhouse hypervisor, s390's PCI architecture allows passing
isolated PCI functions to a guest OS instance. As of now this is was not
utilized even with multi-function support as the s390 PCI code makes sure
that only virtual PCI busses including a function with devfn 0 are
presented to the PCI subsystem. A subsequent change will remove this
restriction.
Allow probing such functions by replacing the existing check for
jailhouse_paravirt() with a new hypervisor_isolated_pci_functions() helper.
Link: https://lore.kernel.org/r/20220628143100.3228092-5-schnelle@linux.ibm.com
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions