diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-06-22 22:28:26 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-06-22 22:28:26 +0300 |
commit | 2623b3dc875a3c92dd0e0775cd19fbaeef0574ca (patch) | |
tree | bc03570543111828d1a69ab64d6171b8f61c54fb /arch/arm | |
parent | 2230f9e1171a2e9731422a14d1bbc313c0b719d1 (diff) | |
parent | 30c60dda219ddda0bc6ff6ac55d493d9db8be4fa (diff) | |
download | linux-2623b3dc875a3c92dd0e0775cd19fbaeef0574ca.tar.xz |
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')
-rw-r--r-- | arch/arm/include/asm/arm_pmuv3.h | 5 |
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 |