s390/ap: introduce new AP bus sysfs attribute features
authorHarald Freudenberger <freude@linux.ibm.com>
Tue, 20 Sep 2022 13:18:39 +0000 (15:18 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Mar 2023 10:12:48 +0000 (11:12 +0100)
commitd7b1813af6a589597290cd5f720e138c0a2bf913
treeec5436621a7836daa01c61314862a600f768d8a7
parentf6047040217babeb9655b855c83d61cb1c375ac9
s390/ap: introduce new AP bus sysfs attribute features

Introduce a new AP bus sysfs attribute /sys/bus/ap/features
which shows the features from the QCI information.
Currently these feature bits are evaluated:

- QCI S bit is shown as 'APSC'
- QCI N bit is shown as 'APXA'
- QCI C bit is shown as 'QACT'
- QCI R bit is shown as 'RC8A'
- QCI B bit is shown as 'APSB'

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>
drivers/s390/crypto/ap_bus.c