mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
This commit is contained in:
committed by
Vasily Gorbik
parent
0b641cbd24
commit
2ea2a6099a
@@ -190,6 +190,7 @@ struct ap_queue {
|
||||
struct list_head requestq; /* List of message yet to be sent. */
|
||||
struct ap_message *reply; /* Per device reply message. */
|
||||
enum ap_sm_state sm_state; /* ap queue state machine state */
|
||||
int last_err_rc; /* last error state response code */
|
||||
};
|
||||
|
||||
#define to_ap_queue(x) container_of((x), struct ap_queue, ap_dev.device)
|
||||
|
||||
Reference in New Issue
Block a user