arm64: KVM: Add access handler for PMCEID0 and PMCEID1 register
authorShannon Zhao <shannon.zhao@linaro.org>
Mon, 7 Sep 2015 08:11:12 +0000 (16:11 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:19 +0000 (18:34 +0000)
commita86b5505304404dc5fc5e62a6dc294706e525003
tree3fef56246415fb62c904b0ba0387f7084bf95458
parent3965c3ce751ab5a97618a2818eec4497576f4654
arm64: KVM: Add access handler for PMCEID0 and PMCEID1 register

Add access handler which gets host value of PMCEID0 or PMCEID1 when
guest access these registers. Writing action to PMCEID0 or PMCEID1 is
UNDEFINED.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/sys_regs.c