]> 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)
commit56b24f9fd93b1baf469627029f581ab12e95f22c
treea0becda51d87b3dc19f00401a1ef138f0c133acd
parentdd37ddaed279b104e9f7e2fe742cd99f34128df7
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