[PATCH v8 02/20] KVM: ARM64: Define PMU data structure for each vcpu
From: Marc Zyngier <hidden>
Date: 2016-01-07 10:21:45
Also in:
kvm, kvmarm
From: Marc Zyngier <hidden>
Date: 2016-01-07 10:21:45
Also in:
kvm, kvmarm
On 22/12/15 08:07, Shannon Zhao wrote:
From: Shannon Zhao <redacted> Here we plan to support virtual PMU for guest by full software emulation, so define some basic structs and functions preparing for futher steps. Define struct kvm_pmc for performance monitor counter and struct kvm_pmu for performance monitor unit for each vcpu. According to ARMv8 spec, the PMU contains at most 32(ARMV8_MAX_COUNTERS) counters. Since this only supports ARM64 (or PMUv3), add a separate config symbol for it. Signed-off-by: Shannon Zhao <redacted>
Acked-by: Marc Zyngier <redacted> M. -- Jazz is not dead. It just smells funny...