diff options
| author | Oliver Upton <[email protected]> | 2025-03-05 20:26:33 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2025-03-11 19:54:29 +0000 |
| commit | a38b67d1518331a4147c52c4fa563846ea0969f9 (patch) | |
| tree | 61e203bb4f9c30b457b7a55faf289de4bb4aeefe /net/unix/unix_bpf.c | |
| parent | KVM: arm64: Use a cpucap to determine if system supports FEAT_PMUv3 (diff) | |
| download | kernel-a38b67d1518331a4147c52c4fa563846ea0969f9.tar.gz kernel-a38b67d1518331a4147c52c4fa563846ea0969f9.zip | |
KVM: arm64: Drop kvm_arm_pmu_available static key
With the PMUv3 cpucap, kvm_arm_pmu_available is no longer used in the
hot path of guest entry/exit. On top of that, guest support for PMUv3
may not correlate with host support for the feature, e.g. on IMPDEF
hardware.
Throw out the static key and just inspect the list of PMUs to determine
if PMUv3 is supported for KVM guests.
Tested-by: Janne Grunau <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
