s390/ap: handle outband SE bind state change
authorHarald Freudenberger <freude@linux.ibm.com>
Thu, 9 Nov 2023 10:24:20 +0000 (11:24 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 30 Nov 2023 15:24:23 +0000 (16:24 +0100)
commit207022d39d3b158ca3581e321212f799fa5e7e24
tree099ebc5b6c45b5048e037672343874686cafe950
parentd4c53ae8e4948f7f733f24cd863da31c8e9379a7
s390/ap: handle outband SE bind state change

This patch addresses some weird scenarios where an outband
manipulation of the SE bind state of a queue assigned and
maybe in use by an SE guest with AP pass-through support
took place. So for example when the guest has bound and
associated a queue and then this domain has been zeroed on
the service element.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h
drivers/s390/crypto/ap_queue.c