]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/HWCAP: Use system wide safe values
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Mon, 19 Oct 2015 13:24:52 +0000 (14:24 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 21 Oct 2015 14:35:58 +0000 (15:35 +0100)
commitd79877305193f61ae5e3cf3c7ec2db3bceb22678
treeaad84b9e739d08500e50e40d4168656ca4055539
parenta52b21f9f7edc8956ce0228efa827586e30880d5
arm64/HWCAP: Use system wide safe values

Extend struct arm64_cpu_capabilities to handle the HWCAP detection
and make use of the system wide value of the feature registers for
a reliable set of HWCAPs.

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/include/asm/hwcap.h
arch/arm64/kernel/cpufeature.c