]> www.infradead.org Git - users/dwmw2/linux.git/commit
perf/arm-cmn: Hide XP PUB events for CMN-600
authorRobin Murphy <robin.murphy@arm.com>
Thu, 24 Feb 2022 18:41:21 +0000 (18:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:37 +0000 (13:57 +0200)
commit9776106c235da478ba375fffded4fd43b7fc2d1f
tree1d2c28a85c696d591216e772a5e14baf7e2a53ba
parent9778d9f04f3db8900cf87ea41d36130722a65206
perf/arm-cmn: Hide XP PUB events for CMN-600

[ Upstream commit 205295c7e1abba9c1db1f9fe075f22f71351887f ]

CMN-600 doesn't have XP events for the PUB channel, but we missed
the appropriate check to avoid exposing them.

Fixes: 60d1504070c2 ("perf/arm-cmn: Support new IP features")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/4c108d39a0513def63acccf09ab52b328f242aeb.1645727871.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