KVM: arm64: vPMU fixes for NV/EL2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Disallow vPMU for NV guestsarch/ | +3 | 2 replies | |
| 2/2 | KVM: arm64: Treat PMEVTYPER<n>_EL0.NSH as RES0arch/ | +1 | 5 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Suzuki K Poulose |
|---|---|
| 1/2 | |
| 2/2 | R-b |
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: vPMU fixes for NV/EL2
KVM allows userspace to select both the vPMU and NV feature flags, which is an absolute no-go since we do not handle any of the EL2 controls. Furthermore, our sysreg emulation allows the guest to set the NSH bit responsible for counting events at EL2 despite the fact it does absolutely nothing.
Series to address the both of these issues. While neither of them are really a big deal at the moment, the second patch is relevant to James C's PMU event threshold series [*].
[*] https://lore.kernel.org/kvmarm/[email protected]/
Oliver Upton (2):
KVM: arm64: Disallow vPMU for NV guests
KVM: arm64: Treat PMEVTYPER<n>_EL0.NSH as RES0
arch/arm64/kvm/arm.c | 5 +++-- arch/arm64/kvm/pmu-emul.c | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.42.0.609.gbb76f46606-goog