diff options
author | Suzuki K. Poulose <suzuki.poulose@arm.com> | 2015-10-19 15:24:52 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-21 16:35:58 +0200 |
commit | 37b01d53ceefa390d6eee7a82f3c156b64951bf3 (patch) | |
tree | aad84b9e739d08500e50e40d4168656ca4055539 /arch/arm64/include/asm/cpufeature.h | |
parent | arm64/capabilities: Make use of system wide safe value (diff) | |
download | linux-37b01d53ceefa390d6eee7a82f3c156b64951bf3.tar.xz linux-37b01d53ceefa390d6eee7a82f3c156b64951bf3.zip |
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>
Diffstat (limited to 'arch/arm64/include/asm/cpufeature.h')
-rw-r--r-- | arch/arm64/include/asm/cpufeature.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index eec584e7c701..ca4621033ca0 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -81,6 +81,8 @@ struct arm64_cpu_capabilities { u32 sys_reg; int field_pos; int min_field_value; + int hwcap_type; + unsigned long hwcap; }; }; }; |