projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11af4c3
)
KVM: arm64: PMU: Allow PMUv3p5 to be exposed to the guest
author
Marc Zyngier
<maz@kernel.org>
Sun, 13 Nov 2022 16:38:30 +0000
(16:38 +0000)
committer
Marc Zyngier
<maz@kernel.org>
Sat, 19 Nov 2022 12:56:39 +0000
(12:56 +0000)
Now that the infrastructure is in place, bump the PMU support up
to PMUv3p5.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link:
https://lore.kernel.org/r/20221113163832.3154370-15-maz@kernel.org
arch/arm64/kvm/pmu-emul.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kvm/pmu-emul.c
b/arch/arm64/kvm/pmu-emul.c
index
7e25ff7
..
be881ae
100644
(file)
--- a/
arch/arm64/kvm/pmu-emul.c
+++ b/
arch/arm64/kvm/pmu-emul.c
@@
-1057,6
+1057,6
@@
u8 kvm_arm_pmu_get_pmuver_limit(void)
tmp = read_sanitised_ftr_reg(SYS_ID_AA64DFR0_EL1);
tmp = cpuid_feature_cap_perfmon_field(tmp,
ID_AA64DFR0_EL1_PMUVer_SHIFT,
- ID_AA64DFR0_EL1_PMUVer_V3P
4
);
+ ID_AA64DFR0_EL1_PMUVer_V3P
5
);
return FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_EL1_PMUVer), tmp);
}