aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorGravatar Paolo Bonzini <pbonzini@redhat.com> 2023-06-22 15:28:26 -0400
committerGravatar Paolo Bonzini <pbonzini@redhat.com> 2023-06-22 15:28:26 -0400
commit2623b3dc875a3c92dd0e0775cd19fbaeef0574ca (patch)
treebc03570543111828d1a69ab64d6171b8f61c54fb /arch/arm/include
parentKVM: Avoid illegal stage2 mapping on invalid memory slot (diff)
parentKVM: arm64: Use raw_smp_processor_id() in kvm_pmu_probe_armpmu() (diff)
downloadlinux-2623b3dc875a3c92dd0e0775cd19fbaeef0574ca.tar.gz
linux-2623b3dc875a3c92dd0e0775cd19fbaeef0574ca.tar.bz2
linux-2623b3dc875a3c92dd0e0775cd19fbaeef0574ca.zip
Merge tag 'kvmarm-fixes-6.4-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM/arm64 fixes for 6.4, take #4 - Correctly save/restore PMUSERNR_EL0 when host userspace is using PMU counters directly - Fix GICv2 emulation on GICv3 after the locking rework - Don't use smp_processor_id() in kvm_pmu_probe_armpmu(), and document why...
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arm_pmuv3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arm_pmuv3.h b/arch/arm/include/asm/arm_pmuv3.h
index 78d3d4b82c6c..92ddd950478e 100644
--- a/arch/arm/include/asm/arm_pmuv3.h
+++ b/arch/arm/include/asm/arm_pmuv3.h
@@ -222,6 +222,11 @@ static inline bool kvm_pmu_counter_deferred(struct perf_event_attr *attr)
return false;
}
+static inline bool kvm_set_pmuserenr(u64 val)
+{
+ return false;
+}
+
/* PMU Version in DFR Register */
#define ARMV8_PMU_DFR_VER_NI 0
#define ARMV8_PMU_DFR_VER_V3P4 0x5