-
- Downloads
arm64: KVM: Add access handler for PMOVSSET and PMOVSCLR register
Since the reset value of PMOVSSET and PMOVSCLR is UNKNOWN, use reset_unknown for its reset handler. Add a handler to emulate writing PMOVSSET or PMOVSCLR register. When writing non-zero value to PMOVSSET, the counter and its interrupt is enabled, kick this vcpu to sync PMU interrupt. 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>
Showing
- arch/arm64/include/asm/kvm_host.h 1 addition, 0 deletionsarch/arm64/include/asm/kvm_host.h
- arch/arm64/kvm/sys_regs.c 26 additions, 3 deletionsarch/arm64/kvm/sys_regs.c
- include/kvm/arm_pmu.h 2 additions, 0 deletionsinclude/kvm/arm_pmu.h
- virt/kvm/arm/pmu.c 31 additions, 0 deletionsvirt/kvm/arm/pmu.c
Loading