]> rtime.felk.cvut.cz Git - linux-imx.git/commit
arm64: add explicit symbols to ESR_EL1 decoding
authorMarc Zyngier <Marc.Zyngier@arm.com>
Mon, 8 Apr 2013 16:17:03 +0000 (17:17 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 17 Apr 2013 14:58:25 +0000 (15:58 +0100)
commit5c1ce6f7c2aae5329f667fb079b3198266d9a3fa
tree5e8b0db09bf756512d42a0c2e7d7fa8918248921
parentd4784be3b20ed0dd19bbde3b2d58df023ae1dc86
arm64: add explicit symbols to ESR_EL1 decoding

The ESR_EL1 decoding process is a bit cryptic, and KVM has also
a need for the same constants.

Add a new esr.h file containing the appropriate exception classes
constants, and change entry.S to use it. Fix a small bug in the
EL1 breakpoint check while we're at it.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/esr.h [new file with mode: 0644]
arch/arm64/kernel/entry.S