[SRU][Cosmic][Disco][PATCH 0/1] s390/zcrypt: reinit ap queue state machine during device probe

Joseph Salisbury joseph.salisbury at canonical.com
Fri Dec 14 16:32:05 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1805414

== SRU Justification ==
The vfio device driver when receiving an ap queue device does
              additional resets thereby removing the registration for
              interrupts for the ap device done by the ap bus core
              code. So when later the vfio driver releases the device and
              one of the default zcrypt drivers takes care of the device
              the interrupt registration needs to get renewed. The current
              code does no renew and result is that requests send into such
              a queue will never see a reply processed - the application
              hangs.

This commit has also been cc'd to upstream stable.

== Fix ==
104f708fd ("s390/zcrypt: reinit ap queue state machine during device probe")

== Regression Potential ==
Low.  Limited to s390.

== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.

Harald Freudenberger (1):
  s390/zcrypt: reinit ap queue state machine during device probe

 drivers/s390/crypto/ap_bus.c        |  8 ++++----
 drivers/s390/crypto/ap_bus.h        |  1 +
 drivers/s390/crypto/ap_queue.c      | 15 +++++++++++++++
 drivers/s390/crypto/zcrypt_cex2a.c  |  1 -
 drivers/s390/crypto/zcrypt_cex4.c   |  1 -
 drivers/s390/crypto/zcrypt_pcixcc.c |  1 -
 6 files changed, 20 insertions(+), 7 deletions(-)

-- 
2.7.4




More information about the kernel-team mailing list