mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-23 03:57:32 -04:00
s390/sclp: Allow user-space to provide PCI reports for NVMe SMART data
The new SCLP action qualifier 4 is used by user-space code to provide NVMe SMART log data to the platform. Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
committed by
Alexander Gordeev
parent
58d50cad63
commit
1f5ea7ade1
@@ -20,6 +20,7 @@
|
||||
#define SCLP_ERRNOTIFY_AQ_REPAIR 1
|
||||
#define SCLP_ERRNOTIFY_AQ_INFO_LOG 2
|
||||
#define SCLP_ERRNOTIFY_AQ_OPTICS_DATA 3
|
||||
#define SCLP_ERRNOTIFY_AQ_NVME_SMART_LOG 4
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
#include <linux/uio.h>
|
||||
|
||||
@@ -98,6 +98,7 @@ static int sclp_pci_check_report(struct zpci_report_error_header *report)
|
||||
case SCLP_ERRNOTIFY_AQ_REPAIR:
|
||||
case SCLP_ERRNOTIFY_AQ_INFO_LOG:
|
||||
case SCLP_ERRNOTIFY_AQ_OPTICS_DATA:
|
||||
case SCLP_ERRNOTIFY_AQ_NVME_SMART_LOG:
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user