Merge: s390/sclp: Allow PCI reports for NVMe SMART data

MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/8387

s390/sclp: Allow PCI reports for NVMe SMART data

JIRA: https://redhat.atlassian.net/browse/RHEL-188090

commit 1f5ea7ade1bfb315ddec17814be31d21bfa28bc3

Author: Niklas Schnelle <schnelle@linux.ibm.com>

Date:   Tue Apr 28 15:38:30 2026 +0200

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

Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>

Signed-off-by: Jan Polensky <jpolensk@redhat.com>

Approved-by: Steve Best <sbest@redhat.com>
Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
This commit is contained in:
CKI KWF Bot
2026-07-21 16:17:45 +00:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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 __ASSEMBLY__
#include <linux/uio.h>
+1
View File
@@ -99,6 +99,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;