diff options
author | James Clark <james.clark@arm.com> | 2023-12-11 16:13:17 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-12-12 09:46:22 +0000 |
commit | 3115ee021bfb04efde2e96507bfcc1330261a6a1 (patch) | |
tree | 8eebb641f4e5df35c27c3712790c2643eaaebe53 /tools | |
parent | d30f09b6d7de5d159dbb537f9d67dceb67409420 (diff) | |
download | linux-stable-3115ee021bfb04efde2e96507bfcc1330261a6a1.tar.gz linux-stable-3115ee021bfb04efde2e96507bfcc1330261a6a1.tar.bz2 linux-stable-3115ee021bfb04efde2e96507bfcc1330261a6a1.zip |
arm64: perf: Include threshold control fields in PMEVTYPER mask
FEAT_PMUv3_TH (Armv8.8) adds two new fields to PMEVTYPER, so include
them in the mask. These aren't writable on 32 bit kernels as they are in
the high part of the register, so only include them for arm64.
It would be difficult to do this statically in the asm header files for
each platform without resulting in circular includes or #ifdefs inline
in the code. For that reason the ARMV8_PMU_EVTYPE_MASK definition has
been removed and the mask is constructed programmatically.
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: James Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20231211161331.1277825-6-james.clark@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions