mbox series

[v3,0/3] a couple of corrections to the IRQ enablement function

Message ID 20231026183250.254432-1-akrowiak@linux.ibm.com (mailing list archive)
Headers show
Series a couple of corrections to the IRQ enablement function | expand

Message

Anthony Krowiak Oct. 26, 2023, 6:32 p.m. UTC
This series corrects two issues related to enablement of interrupts in 
response to interception of the PQAP(AQIC) command:

1. Returning a status response code 06 (Invalid address of AP-queue 
   notification byte) when the call to register a guest ISC fails makes no
   sense.
   
2. The pages containing the interrupt notification-indicator byte are not
   freed after a failure to register the guest ISC fails.

Change log v2 ==> v3:
--------------------
* Added 'Co-developed-by' for Janosch (Christian)

* Added 'Reviewed-by' tag for Matt Rosato (Matt)

Anthony Krowiak (2):
  s390/vfio-ap: unpin pages on gisc registration failure
  s390/vfio-ap: set status response code to 06 on gisc registration
    failure

Tony Krowiak (1):
  s390/vfio-ap: improve reaction to response code 07 from PQAP(AQIC)
    command

 drivers/s390/crypto/vfio_ap_ops.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)