Comment 3 for bug 1943464

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2021-10-27 04:49 EDT-------
There a new patch for this issue. The previous fixes still had an issue around the handling of multiple events for a single reserve state transition of the device.

The fix is the following upstream commit:

a46044a92add6a400f4dada7b943b30221f7cc80 s390/pci: fix zpci_zdev_put() on reserve

This fix has also been added to the v5.14.15 stable kernel where
we needed to pull in an additional trivial prerequisite commit:

Prerequisite: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.14.y&id=e27170d5f2fca8a42d610e0c87e52c41cfae7a21
Fix:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.14.y&id=4e5d794a2743f5a1e13ee1066ce37711f2696044

It has also been added to the v5.10.76 stable kernel, here the prerequisite
commit is *NOT* necessary since we don't have the refactoring of introducing
the zdev->has_resources attribute.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=188907c252188ac7a5ec3efcfa31dae1f47b8a20

I can of course provide separate backports if neither of the above backport approaches apply cleanly on the relevant Ubuntu kernels.