]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf arm_spe: Fix memset subclass in operation
authorLeo Yan <leo.yan@arm.com>
Wed, 12 Nov 2025 18:24:27 +0000 (18:24 +0000)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 19 Nov 2025 04:31:29 +0000 (20:31 -0800)
commit33e1fffea492b7158a168914dc0da6aedf78d08e
treee17f3790feeda86cdec36b996b4c1410b4ba7c4b
parentd8d8a0b3603a9a8fa207cf9e4f292e81dc5d1008
perf arm_spe: Fix memset subclass in operation

The operation subclass is extracted from bits [7..1] of the payload.
Since bit [0] is not parsed, there is no chance to match the memset type
(0x25). As a result, the memset payload is never parsed successfully.

Instead of extracting a unified bit field, change to extract the
specific bits for each operation subclass.

Fixes: 34fb60400e32 ("perf arm-spe: Add raw decoding for SPEv1.3 MTE and MOPS load/store")
Signed-off-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c
tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h