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:
Niklas Schnelle 2026-07-24 14:23:01 +02:00 committed by Vasily Gorbik
parent bdce129e44
commit 753b3873ce
2 changed files with 6 additions and 0 deletions

View File

@ -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>

View File

@ -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;