s390/ap: re-enable interrupt for AP queues
authorHarald Freudenberger <freude@linux.ibm.com>
Mon, 23 Oct 2023 13:42:21 +0000 (15:42 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 5 Nov 2023 21:34:57 +0000 (22:34 +0100)
commitc40284b3642554d6cf519525872f2f5784933d8d
tree66834e2df6d845ace2a5efbbf7ead2f483b5597d
parent01c89ab7f81b76de00daccf6a856a00eb63a17d7
s390/ap: re-enable interrupt for AP queues

This patch introduces some code lines which check
for interrupt support enabled on an AP queue after
a reply has been received. This invocation has been
chosen as there is a good chance to have the queue
empty at that time. As the enablement of the irq
imples a state machine change the queue should not
have any pending requests or unreceived replies.

Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/ap_queue.c