Skip to content

sriov enablement on s390

Sebastian Ott linux-pci linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pci: provide pcibios_sriov_add_vfsdrivers/pci/iov.c include/linux/pci.h+33 -120 replies
1/2pci: provide add_vfs/del_vfs callbacksdrivers/pci/iov.c include/linux/pci.h+41 -120 replies
1/2PCI: provide pcibios_sriov_add_vfsdrivers/pci/iov.c include/linux/pci.h+33 -121 reply
1/2PCI/IOV: provide flag to skip VF scanningdrivers/pci/iov.c include/linux/pci.h+37 -127 replies
2/2s390/pci: handle function enumeration after sriov enablementarch/s390/pci/pci.c+11 -00 replies
2/2s390/pci: handle function enumeration after sriov enablementarch/s390/pci/pci.c+11 -00 replies
2/2s390/pci: handle function enumeration after sriov enablementarch/s390/pci/pci.c+11 -04 replies
2/2s390/pci: skip VF scanningarch/s390/pci/pci.c+3 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b R-b R-b R-b
1/2R-b R-b R-b R-b
1/2R-b R-b R-b R-b
1/2R-b R-b R-b R-b
2/2R-b
2/2R-b
2/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] sriov enablement on s390

Hello Bjorn,

On s390 we currently handle SRIOV within firmware. Which means that the PF is under firmware control and not visible to operating systems. SRIOV enablement happens within firmware and VFs are passed through to logical partitions.

I'm working on a new mode were the PF is under operating system control (including SRIOV enablement). However we still need firmware support to access the VFs. The way this is supposed to work is that when firmware traps the SRIOV enablement it will present machine checks to the logical partition that triggered the SRIOV enablement and provide the VFs via hotplug events.

The problem I'm faced with is that the VF detection code in sriov_enable leads to unusable functions in s390.

Would you consider the following patches?

Sebastian Ott (2):
pci: provide pcibios_sriov_add_vfs
s390/pci: handle function enumeration after sriov enablement

 arch/s390/pci/pci.c | 11 +++++++++++
 drivers/pci/iov.c   | 43 +++++++++++++++++++++++++++++++------------
 include/linux/pci.h |  2 ++
 3 files changed, 44 insertions(+), 12 deletions(-)
Signature · 1 line
2.13.4