aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorNiklas Schnelle <[email protected]>2025-03-20 16:26:12 +0000
committerVasily Gorbik <[email protected]>2025-03-31 10:20:39 +0000
commit8691abd3afaadd816a298503ec1a759df1305d2e (patch)
tree42fe8b63dc0987261ad9da5a589bb9f9fc2810a7 /drivers/tty/serial/sccnxp.c
parents390/lowcore: Remove unused machine_flags (diff)
downloadkernel-8691abd3afaadd816a298503ec1a759df1305d2e.tar.gz
kernel-8691abd3afaadd816a298503ec1a759df1305d2e.zip
s390/pci: Fix zpci_bus_is_isolated_vf() for non-VFs
For non-VFs, zpci_bus_is_isolated_vf() should return false because they aren't VFs. While zpci_iov_find_parent_pf() specifically checks if a function is a VF, it then simply returns that there is no parent. The simplistic check for a parent then leads to these functions being confused with isolated VFs and isolating them on their own domain even if sibling PFs should share the domain. Fix this by explicitly checking if a function is not a VF. Note also that at this point the case where RIDs are ignored is already handled and in this case all PCI functions get isolated by being detected in zpci_bus_is_multifunction_root(). Cc: [email protected] Fixes: 2844ddbd540f ("s390/pci: Fix handling of isolated VFs") Signed-off-by: Niklas Schnelle <[email protected]> Reviewed-by: Halil Pasic <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions