]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: sanity checks: add ID_AA64DFR{0,1}_EL1
authorMark Rutland <mark.rutland@arm.com>
Tue, 25 Nov 2014 13:27:43 +0000 (13:27 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 25 Nov 2014 15:56:44 +0000 (15:56 +0000)
commit4caf0aa7832092d096632d6540d86f21778a0e5e
treea0becda51d87b3dc19f00401a1ef138f0c133acd
parent306486043bf953b3fc893b8b33f61171ae2cd1e0
arm64: sanity checks: add ID_AA64DFR{0,1}_EL1

While we currently expect self-hosted debug support to be identical
across CPUs, we don't currently sanity check this.

This patch adds logging of the ID_AA64DFR{0,1}_EL1 values and associated
sanity checking code.

It's not clear to me whether we need to check PMUVer, TraceVer, and
DebugVer, as we don't currently rely on these fields at all.

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