]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/capabilities: Make use of system wide safe value
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Mon, 19 Oct 2015 13:24:51 +0000 (14:24 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 21 Oct 2015 14:35:58 +0000 (15:35 +0100)
commit8704cddda04c2ccd95f5077ed4dfa5590cdfe64a
tree2476e4ff30f1cdc887e39bd1e067de832a562dd8
parentd6b1e23bb8d1751446ce64dfe589074ab4cb15c2
arm64/capabilities: Make use of system wide safe value

Now that we can reliably read the system wide safe value for a
feature register, use that to compute the system capability.
This patch also replaces the 'feature-register-specific'
methods with a generic routine to check the capability.

Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Tested-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c