diff options
author | Will Deacon <will.deacon@arm.com> | 2016-09-22 11:23:07 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-01-10 14:28:01 +0000 |
commit | f31deaadff0d81a4963b5d816c1ae4a67296aa0c (patch) | |
tree | 4c54b291e306ac9e25582617066cdf2f4fba6a26 /arch/arm64/include | |
parent | b20d1ba3cf4b99dc47ea3e1102399e4728386783 (diff) | |
download | op-kernel-dev-f31deaadff0d81a4963b5d816c1ae4a67296aa0c.zip op-kernel-dev-f31deaadff0d81a4963b5d816c1ae4a67296aa0c.tar.gz |
arm64: cpufeature: Don't enforce system-wide SPE capability
The statistical profiling extension (SPE) is an optional feature of
ARMv8.1 and is unlikely to be supported by all of the CPUs in a
heterogeneous system.
This patch updates the cpufeature checks so that such systems are not
tainted as unsupported.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Suzuki Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/sysreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 98ae03f..e156e77 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -190,6 +190,7 @@ #define ID_AA64MMFR2_CNP_SHIFT 0 /* id_aa64dfr0 */ +#define ID_AA64DFR0_PMSVER_SHIFT 32 #define ID_AA64DFR0_CTX_CMPS_SHIFT 28 #define ID_AA64DFR0_WRPS_SHIFT 20 #define ID_AA64DFR0_BRPS_SHIFT 12 |