linux_dsm_epyc7002/arch/arm64/kvm/hyp
Andrew Murray 3d91befbb3 arm64: KVM: Enable !VHE support for :G/:H perf event modifiers
Enable/disable event counters as appropriate when entering and exiting
the guest to enable support for guest or host only event counting.

For both VHE and non-VHE we switch the counters between host/guest at
EL2.

The PMU may be on when we change which counters are enabled however
we avoid adding an isb as we instead rely on existing context
synchronisation events: the eret to enter the guest (__guest_enter)
and eret in kvm_call_hyp for __kvm_vcpu_run_nvhe on returning.

Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2019-04-24 15:36:22 +01:00
..
debug-sr.c KVM: arm64: Repurpose vcpu_arch.debug_flags for general-purpose flags 2018-05-25 12:28:13 +01:00
entry.S KVM: arm/arm64: Context-switch ptrauth registers 2019-04-24 15:30:40 +01:00
fpsimd.S
hyp-entry.S arm64: KVM: Drop VHE-specific HYP call stub 2019-02-19 21:05:28 +00:00
Makefile kvm: arm64: Configure VTCR_EL2 per VM 2018-10-01 13:50:29 +01:00
switch.c arm64: KVM: Enable !VHE support for :G/:H perf event modifiers 2019-04-24 15:36:22 +01:00
sysreg-sr.c ARM: some cleanups, direct physical timer assignment, cache sanitization 2019-03-15 15:00:28 -07:00
tlb.c arm64: KVM: Handle ARM erratum 1165522 in TLB invalidation 2018-12-10 12:20:42 +00:00
vgic-v2-cpuif-proxy.c arm64: KVM: Consistently advance singlestep when emulating instructions 2018-12-18 14:11:37 +00:00