Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1570910
| From | Punit Agrawal <punit.agrawal@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 9/9] arm/arm64: KVM: Initialise the host pmu |
| Date | 2017-01-31 18:20 +0100 |
| Message-ID | <t5Kg2-3p5-19@gated-at.bofh.it> (permalink) |
| References | <t5Kg1-3p5-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Now that we've added support for handling TLB traps as well as
infrastructure for monitoring these operations, all that remains is
initialising the host pmu for arm/arm64.
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
---
arch/arm/kvm/arm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 9d7446456e0c..e5f77a3d08ea 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -1266,6 +1266,7 @@ static int init_subsystems(void)
goto out;
kvm_perf_init();
+ arm_host_pmu_init();
kvm_coproc_table_init();
out:
@@ -1456,6 +1457,7 @@ int kvm_arch_init(void *opaque)
void kvm_arch_exit(void)
{
kvm_perf_teardown();
+ arm_host_pmu_teardown();
}
static int arm_init(void)
--
2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/9] Add support for monitoring guest TLB operations Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:20 +0100 [PATCH v4 4/9] arm64: KVM: Handle trappable TLB instructions Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:20 +0100 [PATCH v4 6/9] KVM: arm/arm64: Add support for tracking guest TLB operations Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:20 +0100 [PATCH v4 5/9] kvm: Add host pmu to support VM introspection Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:20 +0100 [PATCH v4 9/9] arm/arm64: KVM: Initialise the host pmu Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:20 +0100 [PATCH v4 8/9] arm: KVM: Enable support for host pmu Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:20 +0100 [PATCH v4 3/9] arm: KVM: Handle trappable TLB instructions Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:20 +0100 [PATCH v4 1/9] arm64/kvm: hyp: tlb: use __tlbi() helper Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:30 +0100 [PATCH v4 2/9] KVM: Add event to trace tlb invalidations Punit Agrawal <punit.agrawal@arm.com> - 2017-01-31 18:40 +0100
csiph-web