KVM: arm64: Assorted IPA size fixes
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 5 repliesApplied
- v22 patches 3 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Reject VM creation when the default IPA size is unsupportedDocumentation/ arch/ | +11 | 2 replies | |
| 2/2 | KVM: arm64: Fix exclusive limit for IPA sizearch/ | +1 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Eric Auger | Andrew Jones |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] KVM: arm64: Assorted IPA size fixes
This is a rework of an initial patch posted a couple of days back[1]
While working on enabling KVM on "reduced IPA size" systems, I realise we have a couple of issues, some of while do impact userspace.
The first issue is that we accept the creation of a "default IPA size" VM (40 bits) even when the HW doesn't support it. Not good.
The second one is that we disallow a memslot to end right where the IPA limit is. One page less and you're good, but that's not quite what it should be.
I intend for both patches to be backported to -stable.
Thanks,
M.
* From v2 [2]:
- Fix silly printk blunder
- Added Cc-stable and Fixes tags
* From v1 [1]:
- Don't try to cap the default IPA size. If userspace uses 0 with an expectation that it will get 40bits, we should abide by it and return an error immediately (noticed by Andrew)
- Added a new patch to fix the exclusive nature of the IPA limit
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]
Marc Zyngier (2):
KVM: arm64: Reject VM creation when the default IPA size is
unsupported
KVM: arm64: Fix exclusive limit for IPA size
Documentation/virt/kvm/api.rst | 3 +++ arch/arm64/kvm/mmu.c | 3 +-- arch/arm64/kvm/reset.c | 12 ++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-)
Signature · 6 lines
2.29.2 _______________________________________________ kvmarm mailing list [email protected] https://lists.cs.columbia.edu/mailman/listinfo/kvmarm