arm64: Add decoding macros for CP15_32 and CP15_64 traps
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 27 Sep 2018 16:15:28 +0000 (17:15 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Oct 2018 12:35:50 +0000 (13:35 +0100)
commitbd7ac140b82f2bedfc792d8ccf9b2a108c1324f3
treea0386db0b4af28e2831ca698fc7ce109adcfd8fe
parent9376b1e7b62523c84fde34908af01a85b8d0468a
arm64: Add decoding macros for CP15_32 and CP15_64 traps

So far, we don't have anything to help decoding ESR_ELx when dealing
with ESR_ELx_EC_CP15_{32,64}. As we're about to handle some of those,
let's add some useful macros.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/esr.h