]> git.baikalelectronics.ru Git - kernel.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)
committerWill Deacon <will@kernel.org>
Tue, 8 Mar 2022 11:02:26 +0000 (11:02 +0000)
commit2dd8f146c959aaa3431624f031de5586bc2fe704
tree150dff9e9f91807754493718a0a4286ad3156140
parentd3d3a652951bda1b8f163911fdee34a9e8aa15fd
perf/arm-cmn: Hide XP PUB events for CMN-600

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

Fixes: 70dcc7165f0b ("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>
drivers/perf/arm-cmn.c