[PATCH 0/2] a couple of corrections to the IRQ enablement function

From: Tony Krowiak
Date: Wed Sep 13 2023 - 09:07:08 EST


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.

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

drivers/s390/crypto/vfio_ap_ops.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

--
2.41.0