[PATCH 0/3] arm64: Kill ESR_LNX_EXEC
mark.rutland at arm.com
Tue May 31 04:33:00 PDT 2016
Currently we (ab)use a reserved bit in ESR_ELx for our own purposes as
ESR_LNX_EXEC, which isn't ideal, especially as we're inconsistent with our
mnemonic usage. This series removes ESR_LNX_EXEC entirely, avoiding (ab)use of
reserved ESR_ELx bits, and makes things a little more consistent.
I've extracted this from my entry-deasm branch , and rebased to v4.7-rc1.
I've split the KVM changes as the KVM code is undergoing rapid change these
days, and it should be possible to take those as a subsequent cleanup rather
than forcing a painful merging process.
Mark Rutland (3):
arm64: add macro to extract ESR_ELx.EC
arm64/kvm: use ESR_ELx_EC to extract EC
arm64: kill ESR_LNX_EXEC
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/include/asm/kvm_emulate.h | 2 +-
arch/arm64/kernel/entry.S | 2 +-
arch/arm64/kernel/traps.c | 2 +-
arch/arm64/kvm/handle_exit.c | 4 ++--
arch/arm64/kvm/hyp/switch.c | 2 +-
arch/arm64/mm/fault.c | 15 +++++++++------
7 files changed, 16 insertions(+), 12 deletions(-)
More information about the linux-arm-kernel