arm64: KVM: Add access handler for PMINTENSET and PMINTENCLR register
authorShannon Zhao <shannon.zhao@linaro.org>
Tue, 8 Sep 2015 06:40:20 +0000 (14:40 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:20 +0000 (18:34 +0000)
commit9db52c78cd43c7fe69992cb7d57cffa991b36ced
tree1204cbc3ba171bdc799dde6c8ea63989bb580b2f
parent9feb21ac57d53003557ddc01f9aee496269996c7
arm64: KVM: Add access handler for PMINTENSET and PMINTENCLR register

Since the reset value of PMINTENSET and PMINTENCLR is UNKNOWN, use
reset_unknown for its reset handler. Add a handler to emulate writing
PMINTENSET or PMINTENCLR register.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/sys_regs.c