KVM: arm64: Fix for probing default PMU
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Iterate arm_pmus list to probe for default PMUarch/ | +12 | 1 reply | |
| 2/2 | KVM: arm64: Document default vPMU behavior on heterogeneous systemsarch/ | +11 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Nathan Chancellor |
|---|---|
| 1/2 | T-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] KVM: arm64: Fix for probing default PMU
Follow-up to the discussion in [1].
KVM uses a junk perf event to probe for a default PMU instance to use for the guest, which depends on perf finding the right PMU instance to use for the event. Looks like perf is going to rely strictly on the specified PMU type, breaking the entire scheme.
KVM now maintains a list of valid PMU instances that can be selected by userspace, we can simply walk that to probe for a default PMU.
Applies to 6.4-rc3 and tested on -next.
[1] https://lore.kernel.org/all/[email protected]/
Oliver Upton (2):
KVM: arm64: Iterate arm_pmus list to probe for default PMU
KVM: arm64: Document default vPMU behavior on heterogeneous systems
arch/arm64/kvm/pmu-emul.c | 58 ++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 35 deletions(-)
base-commit: 44c026a73be8038f03dbdeef028b642880cf1511
Signature · 1 line
2.41.0.rc0.172.g3f132b7071-goog