s390/ap: add error response code field for ap queue devices
authorHarald Freudenberger <freude@linux.ibm.com>
Thu, 2 Jul 2020 13:56:15 +0000 (15:56 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 7 Oct 2020 19:50:00 +0000 (21:50 +0200)
commit2ea2a6099ae3d1708f90f43c81a98cba3d4bb74c
tree6d717f8afe74dd70f6943839a98bd1cec3913943
parent0b641cbd24445e56073c69dd046be488dcf1965b
s390/ap: add error response code field for ap queue devices

On AP instruction failures the last response code is now
kept in the struct ap_queue. There is also a new sysfs
attribute showing this field (enabled only on debug kernels).

Also slight rework of the AP_DBF macros to get some more
content into one debug feature message line.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h
drivers/s390/crypto/ap_debug.h
drivers/s390/crypto/ap_queue.c