]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: sanity checks: add missing AArch32 registers
authorMark Rutland <mark.rutland@arm.com>
Wed, 7 Jan 2015 10:31:56 +0000 (10:31 +0000)
committerWill Deacon <will.deacon@arm.com>
Wed, 7 Jan 2015 11:40:58 +0000 (11:40 +0000)
commit80639d4a79aac5081d43ed64a0801ef42de3aba3
tree4e267f05e990aa41e032a50c4b4b29ff55d1937b
parent3efcb7a44bb75bd94d889245ba82e2195a7ab0a2
arm64: sanity checks: add missing AArch32 registers

We don't currently check a number of registers exposed to AArch32 guests
(MVFR{0,1,2}_EL1 and ID_DFR0_EL1), despite the fact these describe
AArch32 feature support exposed to userspace and KVM guests similarly to
AArch64 registers which we do check. We do not expect these registers to
vary across a set of CPUs.

This patch adds said registers to the cpuinfo framework and sanity
checks. No sanity check failures have been observed on a current ARMv8
big.LITTLE platform (Juno).

Cc: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpu.h
arch/arm64/kernel/cpuinfo.c