]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb44b789afbe006f16d6bd105c37b41dad1fe4709
treec8ea6ce76344e6ad816ab89ca2bf280bca88ac28
parentdf370bd69fc2c5f1a28f1cce8686dbcff55b2ea6
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