]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
arm64: cpufeature: Don't enforce system-wide SPE capability
authorWill Deacon <will.deacon@arm.com>
Thu, 22 Sep 2016 10:23:07 +0000 (11:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 10 Jan 2017 14:28:01 +0000 (14:28 +0000)
commitf31deaadff0d81a4963b5d816c1ae4a67296aa0c
tree4c54b291e306ac9e25582617066cdf2f4fba6a26
parentb20d1ba3cf4b99dc47ea3e1102399e4728386783
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>
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/cpufeature.c