arm64: KVM: add trap handlers for AArch32 debug registers
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 24 Apr 2014 09:31:37 +0000 (10:31 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:45 +0000 (04:57 -0700)
commitbdfb4b389c8d8f07e2d5b8e1291e01c789ba4aad
treec8ea6ce76344e6ad816ab89ca2bf280bca88ac28
parente6a9551760623d1703487e8a16bb9c3ea8a7e7a8
arm64: KVM: add trap handlers for AArch32 debug registers

Add handlers for all the AArch32 debug registers that are accessible
from EL0 or EL1. The code follow the same strategy as the AArch64
counterpart with regards to tracking the dirty state of the debug
registers.

Reviewed-by: Anup Patel <anup.patel@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/sys_regs.c