arm64: KVM: Add access handler for PMSWINC register
authorShannon Zhao <shannon.zhao@linaro.org>
Tue, 8 Sep 2015 07:49:39 +0000 (15:49 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:20 +0000 (18:34 +0000)
commit7a0adc7064b88609e2917446af8789fac1d4fdd1
treec534e2ffac1a2977b3d5be4e2fe07c1ddc145fe4
parent76d883c4e6401b98ea26d40c437ff62719a517ad
arm64: KVM: Add access handler for PMSWINC register

Add access handler which emulates writing and reading PMSWINC
register and add support for creating software increment event.

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/include/asm/kvm_perf_event.h
arch/arm64/kvm/sys_regs.c
include/kvm/arm_pmu.h
virt/kvm/arm/pmu.c