]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/kvm: use ESR_ELx_EC to extract EC
authorMark Rutland <mark.rutland@arm.com>
Tue, 31 May 2016 11:33:02 +0000 (12:33 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 Jun 2016 16:07:38 +0000 (17:07 +0100)
commit07eb6924c03dc84e916f57e78d4d1fe5743c57b6
tree24c8d83ef16bb585d0760ebdd2b41ef17047b15c
parent32336cf5a9d374d6ceeab8915a1d3930bd3ddc9c
arm64/kvm: use ESR_ELx_EC to extract EC

Now that we have a helper to extract the EC from an ESR_ELx value, make
use of this in the arm64 KVM code for simplicity and consistency. There
should be no functional changes as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Dave P Martin <dave.martin@arm.com>
Cc: Huang Shijie <shijie.huang@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: kvmarm@lists.cs.columbia.edu
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/hyp/switch.c