Skip to content

improve AP queue reset processing

Tony Krowiak kvm linux-s390 lkml 2 versions – Applied

Status from this message: Thanks applied and queued for CI and regression runs. Will likely go via s390 tree.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesApplied
  2. v17 patches 17 repliesSuperseded

Changes in v2 from the cover letter

-------------------
Remove patch 7/7 to restore original behavior since we don't know whether interrupts are disabled when an unexpected response code is returned from ZAPQ. (Halil)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6s390/vfio-ap: verify reset complete in separate functiondrivers/s390/crypto/vfio_ap_ops.c+21 -90 replies
2/6s390/vfio_ap: check TAPQ response code when waiting for queue resetdrivers/s390/crypto/vfio_ap_ops.c+31 -50 replies
3/6s390/vfio_ap: use TAPQ to verify reset in progress completesdrivers/s390/crypto/vfio_ap_ops.c+13 -110 replies
4/6s390/vfio_ap: verify ZAPQ completion after return of response code zerodrivers/s390/crypto/vfio_ap_ops.c+3 -40 replies
5/6s390/vfio_ap: fix handling of error response codesdrivers/s390/crypto/vfio_ap_ops.c+7 -100 replies
6/6s390/vfio_ap: increase max wait time for reset verificationdrivers/s390/crypto/vfio_ap_ops.c+7 -30 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJason J. HerneHarald Freudenberger
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] improve AP queue reset processing

This series introduces several improvements to the function that performs AP queue resets:

* Breaks up reset processing into multiple smaller, more concise functions.

* Use TAPQ to verify completion of a reset in progress rather than mulitple invocations of ZAPQ.

* Check TAPQ response codes when verifying successful completion of ZAPQ.

* Fix erroneous handling of some error response codes.

* Increase the maximum amount of time to wait for successful completion of ZAPQ.

Change log v1 => v2:
-------------------
Remove patch 7/7 to restore original behavior since we don't know whether interrupts are disabled when an unexpected response code is returned from ZAPQ. (Halil)

Tony Krowiak (6):
s390/vfio-ap: verify reset complete in separate function s390/vfio_ap: check TAPQ response code when waiting for queue reset s390/vfio_ap: use TAPQ to verify reset in progress completes s390/vfio_ap: verify ZAPQ completion after return of response code
zero
s390/vfio_ap: fix handling of error response codes s390/vfio_ap: increase max wait time for reset verification

 drivers/s390/crypto/vfio_ap_ops.c | 104 +++++++++++++++++++++---------
 1 file changed, 72 insertions(+), 32 deletions(-)
Signature · 1 line
2.31.1