]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
s390/cio: fix tracepoint subchannel type field
authorPeter Oberparleiter <oberpar@linux.ibm.com>
Tue, 26 Mar 2024 16:04:56 +0000 (17:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:32:02 +0000 (13:32 +0200)
[ Upstream commit 8692a24d0fae19f674d51726d179ad04ba95d958 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/s390/cio/trace.h

index 4803139bce14934e052d7b6bee9ae3f152fb58cc..4716798b1368a03c1cb02530e68aace38613dd63 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;