diff options
author | Suzuki K. Poulose <suzuki.poulose@arm.com> | 2015-10-19 16:24:47 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-21 17:35:56 +0300 |
commit | b3f1537893b54d0f42f52e0f4cde5e17e21f564c (patch) | |
tree | 7099fece1301fdee963f52cf406027b3aab433e0 /arch/arm64/include | |
parent | 3086d391f992984def0aa6aa4a36f54853c58536 (diff) | |
download | linux-b3f1537893b54d0f42f52e0f4cde5e17e21f564c.tar.xz |
arm64: Read system wide CPUID value
Add an API for reading the safe CPUID value across the
system from the new infrastructure.
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')
-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 01bb5cf995af..81217220eb92 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -144,6 +144,8 @@ void check_local_cpu_features(void); bool cpu_supports_mixed_endian_el0(void); bool system_supports_mixed_endian_el0(void); +u64 read_system_reg(u32 id); + #endif /* __ASSEMBLY__ */ #endif |