summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2025-02-07 13:30:16 +0100
committerVasily Gorbik <gor@linux.ibm.com>2025-02-11 19:35:08 +0100
commit05793884a1f30509e477de9da233ab73584b1c8c (patch)
treeaca408f167e6f76ab70f2cda44de3f1f3050719a /ipc
parent6166caf3bbe2429e4fac71b77e1c8254f2690383 (diff)
s390/pci: Pull search for parent PF out of zpci_iov_setup_virtfn()
This creates a new zpci_iov_find_parent_pf() function which a future commit can use to find if a VF has a configured parent PF. Use zdev->rid instead of zdev->devfn such that the new function can be used before it has been decided if the RID will be exposed and zdev->devfn is set. Also handle the hypotheical case that the RID is not available but there is an otherwise matching zbus. Fixes: 25f39d3dcb48 ("s390/pci: Ignore RID for isolated VFs") Cc: stable@vger.kernel.org Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions