diff options
author | Harald Freudenberger <freude@linux.ibm.com> | 2021-11-17 15:38:39 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-03-08 00:33:00 +0100 |
commit | a7e701dba1234adbfbacad5ce19656c5606728da (patch) | |
tree | 245680d4d662d8bfe5470ef51b4d57d9d56588a2 /lib/libcrc32c.c | |
parent | s390/zcrypt: CEX8S exploitation support (diff) | |
download | linux-a7e701dba1234adbfbacad5ce19656c5606728da.tar.xz linux-a7e701dba1234adbfbacad5ce19656c5606728da.zip |
s390/zcrypt: handle checkstopped cards with new state
A crypto card may be in checkstopped state. With this
patch this is handled as a new state in the ap card and
ap queue structs. There is also a new card sysfs attribute
/sys/devices/ap/cardxx/chkstop
and a new queue sysfs attribute
/sys/devices/ap/cardxx/xx.yyyy/chkstop
displaying the checkstop state of the card or queue. Please
note that the queue's checkstop state is only a copy of the
card's checkstop state but makes maintenance much easier.
The checkstop state expressed here is the result of an
RC 0x04 (CHECKSTOP) during an AP command, mostly the
PQAP(TAPQ) command which is 'testing' the queue.
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Jürgen Christ <jchrist@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions