s390/ap: exploit new B bit from QCI config info
authorHarald Freudenberger <freude@linux.ibm.com>
Tue, 20 Sep 2022 13:12:01 +0000 (15:12 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Mar 2023 10:12:48 +0000 (11:12 +0100)
commitf6047040217babeb9655b855c83d61cb1c375ac9
tree1d324433a041d9d5a10fed6c09d0b797ae126b6f
parent964d581daf46a1e65af220786104c6db88f833aa
s390/ap: exploit new B bit from QCI config info

This patch introduces an update to the ap_config_info
struct which is filled with the QCI subfunction. There
is a new bit apsb (short 'B') showing if the AP secure
bind facility is available. The patch also includes a
simple function ap_sb_available() wrapping this bit test.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ap.h
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h
drivers/s390/crypto/vfio_ap_ops.c