]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/arm-cmn: Fix CCLA register offset
authorRobin Murphy <robin.murphy@arm.com>
Mon, 2 Sep 2024 17:51:58 +0000 (18:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:28:54 +0000 (16:28 +0200)
commit5418a61e3207883016e6a9c8646c19cae06983de
tree3dd03a2d135d67b89a3900cb6d8fdcc4cfcdce07
parenta687d9d1feddee92f1c5880981b3c6ff488e3755
perf/arm-cmn: Fix CCLA register offset

[ Upstream commit 88b63a82c84ed9bbcbdefb10cb6f75dd1dd04887 ]

Apparently pmu_event_sel is offset by 8 for all CCLA nodes, not just
the CCLA_RNI combination type.

Fixes: 23760a014417 ("perf/arm-cmn: Add CMN-700 support")
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/6e7bb06fef6046f83e7647aad0e5be544139763f.1725296395.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/perf/arm-cmn.c