]> git.baikalelectronics.ru Git - kernel.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)
commit6fb149e58fec9e8e76fec067aae762daa6155bc8
tree4e267f05e990aa41e032a50c4b4b29ff55d1937b
parentb59ff6748404f0c86d4e40603a35ad9a7df160e6
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