diff options
| author | Niklas Schnelle <[email protected]> | 2025-02-07 12:30:16 +0000 |
|---|---|---|
| committer | Vasily Gorbik <[email protected]> | 2025-02-11 18:35:08 +0000 |
| commit | 05793884a1f30509e477de9da233ab73584b1c8c (patch) | |
| tree | aca408f167e6f76ab70f2cda44de3f1f3050719a /net/unix/garbage.c | |
| parent | s390/bitops: Disable arch_test_bit() optimization for PROFILE_ALL_BRANCHES (diff) | |
| download | kernel-05793884a1f30509e477de9da233ab73584b1c8c.tar.gz kernel-05793884a1f30509e477de9da233ab73584b1c8c.zip | |
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: [email protected]
Reviewed-by: Halil Pasic <[email protected]>
Signed-off-by: Niklas Schnelle <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
