KVM: arm64: Hide absent PMU registers from userspace
Status from this message: Applied to next.
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: Hide PMU registers from userspace when not availablearch/ | +48 | 0 replies | |
| 2/2 | KVM: arm64: Simplify handling of absent PMU system registersarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] KVM: arm64: Hide absent PMU registers from userspace
We're now able to hide PMU registers from the guest when no PMU is available, but I just realised that we don't do the same thing for userspace, which is pretty annoying (as it ends up with garbage).
The first patch introduces a visibility callback for all PMU regs, which applies to both guest and userspace. That's what I should have done the first place.
The second patch is only a cleanup, now that we are doing the right thing.
This is a potential fix for 5.11, so shout if you spot something!
Thanks,
M.
Marc Zyngier (2):
KVM: arm64: Hide PMU registers from userspace when not available
KVM: arm64: Simplify handling of absent PMU system registers
arch/arm64/kvm/sys_regs.c | 76 +++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 27 deletions(-)
Signature · 6 lines
2.29.2 _______________________________________________ kvmarm mailing list [email protected] https://lists.cs.columbia.edu/mailman/listinfo/kvmarm