mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
s390/sclp: Allow SCLP Action Qualifiers for Spyre card status reporting
Add SCLP Action Qualifiers used by the Spyre stack for reporting of the card's initialization status, recoverable errors, and telemetry data. Co-developed-by: Andreas Krebbel <krebbel@linux.ibm.com> Signed-off-by: Andreas Krebbel <krebbel@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
bdce129e44
commit
753b3873ce
|
|
@ -21,6 +21,9 @@
|
|||
#define SCLP_ERRNOTIFY_AQ_INFO_LOG 2
|
||||
#define SCLP_ERRNOTIFY_AQ_OPTICS_DATA 3
|
||||
#define SCLP_ERRNOTIFY_AQ_NVME_SMART_LOG 4
|
||||
#define SCLP_ERRNOTIFY_AQ_ADAPTER_INITIALIZED 5
|
||||
#define SCLP_ERRNOTIFY_AQ_RECOVERABLE_ERROR 6
|
||||
#define SCLP_ERRNOTIFY_AQ_TELEMETRY_DATA 7
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
#include <linux/uio.h>
|
||||
|
|
|
|||
|
|
@ -99,6 +99,9 @@ static int sclp_pci_check_report(struct zpci_report_error_header *report)
|
|||
case SCLP_ERRNOTIFY_AQ_INFO_LOG:
|
||||
case SCLP_ERRNOTIFY_AQ_OPTICS_DATA:
|
||||
case SCLP_ERRNOTIFY_AQ_NVME_SMART_LOG:
|
||||
case SCLP_ERRNOTIFY_AQ_ADAPTER_INITIALIZED:
|
||||
case SCLP_ERRNOTIFY_AQ_RECOVERABLE_ERROR:
|
||||
case SCLP_ERRNOTIFY_AQ_TELEMETRY_DATA:
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user