APPLIED/Cmnt: [SRU][O][PATCH 0/1] [Ubuntu 25.04] s390/pci: Fix PCHID per port multi-function detection (LP: #2104120)

Mehmet Basaran mehmet.basaran at canonical.com
Wed Apr 9 20:43:45 UTC 2025


Applied to oracular:linux via upstream tags:
 - UBUNTU: Upstream stable to v6.6.79, v6.12.16
   - s390/pci: Fix handling of isolated VFs
   - s390/pci: Pull search for parent PF out of zpci_iov_setup_virtfn()
 - UBUNTU: Upstream stable to v6.6.77, v6.12.14
   - s390/pci: Fix SR-IOV for PFs initially in standby


-------------- next part --------------
Massimiliano Pellizzer <massimiliano.pellizzer at canonical.com> writes:

> BugLink: https://bugs.launchpad.net/bugs/2104120
>
> [Impact]
>
> Description: s390/pci: Fix PCHID per port multi-function detection
>
> Symptom: There are two cases in which PCI functions are incorrectly
>                placed, or not placed, in a shared PCI topology. In the first
>                case a PCI physical function (PF) which is initially in standby
>                was incorrectly not creating a new PCI topology when hotplugged,
>                but would if configured during boot. In the second case a PCI
>                virtual function (VF) would be placed in the shared PCI topology
>                of a PF if that PF is from the same card even if the parent PF
>                is not in the configuration which should lead the VF to be
>                isolated in its own single function topology.
>
> Problem: Both problems are caused by logic bugs in the determination of
>                which PCI functions create topologies and when a PCI function
>                may be added to an existing topology.
>
> [Fix]
>
> Cherry pick from mainline of:
> - dc287e4c9149 s390/pci: Fix SR-IOV for PFs initially in standby
> - 05793884a1f3 s390/pci: Pull search for parent PF out of pci_iov_setup_virtfn()
> - 2844ddbd540f s390/pci: Fix handling of isolated VFs
>
> [Test Plan]
>
> Fix tested by IBM.
>
> [Where problems could occur]
>
> The fix affects SR-IOV support in the s390x PCI subsystem.
> A user might experience issues like missing or misconfigured VFs,
> failed VF passthrough to guests, sysfs inconsistencies, or degraded I/O performance.
>
>
> [Other Info]
>
> The three commits mentioned above have been already included in Noble.
>
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 873 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250409/35f325c7/attachment.sig>


More information about the kernel-team mailing list