------- 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:
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.
------- 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:
a46044a92add6a4 00f4dada7b943b3 0221f7cc80 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=e27170d5f2fc a8a42d610e0c87e 52c41cfae7a21 /git.kernel. org/pub/ scm/linux/ kernel/ git/stable/ linux.git/ commit/ ?h=linux- 5.14.y& id=4e5d794a2743 f5a1e13ee1066ce 37711f2696044
Fix:
https:/
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=188907c25218 8ac7a5ec3efcfa3 1dae1f47b8a20
I can of course provide separate backports if neither of the above backport approaches apply cleanly on the relevant Ubuntu kernels.