]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:06 +0000 (14:03 +0100)
commit1ade1edef373e87ba8d4e5dfe07fe420e77474a4
tree82519683242c4b3345d68b1a974ed414078f36e7
parent3e5b25da0b4109a3e063759735e6ec4236ea5a05
perf arm_spe: Fix memset subclass in operation

[ Upstream commit 33e1fffea492b7158a168914dc0da6aedf78d08e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c
tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h