]> 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>
Thu, 30 May 2024 07:48:58 +0000 (09:48 +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 86993de253451a948aa60e1169a9d2a8d1b6fd74..a4c5c6736b31078b6424a4bc0cb44368b8f12db3 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;