s390/cio: fix tracepoint subchannel type field
authorPeter Oberparleiter <oberpar@linux.ibm.com>
Tue, 26 Mar 2024 16:04:56 +0000 (17:04 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 12 Apr 2024 14:11:29 +0000 (16:11 +0200)
The subchannel-type field "st" of s390_cio_stsch and s390_cio_msch
tracepoints is incorrectly filled with the subchannel-enabled SCHIB
value "ena". Fix this by assigning the correct value.

Fixes: d1de8633d96a ("s390 cio: Rewrite trace point class s390_class_schib")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
drivers/s390/cio/trace.h

index 86993de..a4c5c67 100644 (file)
@@ -50,7 +50,7 @@ DECLARE_EVENT_CLASS(s390_class_schib,
                __entry->devno = schib->pmcw.dev;
                __entry->schib = *schib;
                __entry->pmcw_ena = schib->pmcw.ena;
-               __entry->pmcw_st = schib->pmcw.ena;
+               __entry->pmcw_st = schib->pmcw.st;
                __entry->pmcw_dnv = schib->pmcw.dnv;
                __entry->pmcw_dev = schib->pmcw.dev;
                __entry->pmcw_lpm = schib->pmcw.lpm;