KVM: arm64: Hypervisor stack enhancements
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest6 patches 3 repliesApplied
- v76 patches 10 repliesSuperseded
- v68 patches 14 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 8 patches | 4 replies | Superseded | |
| v4 | 8 patches | 7 replies | Superseded | |
| v3 | 8 patches | 11 replies | Superseded | |
| v2 | 9 patches | 14 replies | Superseded | |
| v1 | 7 patches | 4 replies | Superseded |
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: arm64: Introduce hyp_alloc_private_va_range()arch/ arch/ | +44 | 0 replies | |
| 2/6 | KVM: arm64: Introduce pkvm_alloc_private_va_range()arch/ arch/ arch/ | +72 | 0 replies | |
| 3/6 | KVM: arm64: Add guard pages for KVM nVHE hypervisor stackarch/ arch/ arch/ +1 more | +39 | 0 replies | |
| 4/6 | KVM: arm64: Add guard pages for pKVM (protected nVHE) hypervisor stackarch/ | +28 | 0 replies | |
| 5/6 | KVM: arm64: Detect and handle hypervisor stack overflowsarch/ arch/ | +30 | 0 replies | |
| 6/6 | KVM: arm64: Symbolize the nVHE HYP addressesarch/ scripts/ | +7 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Fuad Tabba |
|---|---|
| 1/6 | T-b R-b |
| 2/6 | T-b R-b |
| 3/6 | T-b R-b |
| 4/6 | T-b R-b |
| 5/6 | T-b R-b |
| 6/6 | T-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/6] KVM: arm64: Hypervisor stack enhancements
Hi all,
This is v8 of the nVHE hypervisor stack enhancements. This version is based on 5.18-rc3.
Previous versions can be found at:
v7: https://lore.kernel.org/r/[email protected]/
v6: https://lore.kernel.org/r/[email protected]/
v5: https://lore.kernel.org/r/[email protected]/
v4: https://lore.kernel.org/r/[email protected]/
v3: https://lore.kernel.org/r/[email protected]/
v2: https://lore.kernel.org/r/[email protected]/
v1: https://lore.kernel.org/r/[email protected]/
Thanks,
Kalesh
-----
This series is based on 5.18-rc3 and adds stack guard pages to nVHE and pKVM hypervisor; and symbolization of hypervisor addresses.
The guard page stack overflow detection is based on the technique used by arm64 VMAP_STACK. i.e. the stack is aligned such that the 'stack shift' bit of any valid SP is 1. The 'stack shift' bit can be tested in the exception entry to detect overflow without corrupting GPRs.
Kalesh Singh (6):
KVM: arm64: Introduce hyp_alloc_private_va_range()
KVM: arm64: Introduce pkvm_alloc_private_va_range()
KVM: arm64: Add guard pages for KVM nVHE hypervisor stack
KVM: arm64: Add guard pages for pKVM (protected nVHE) hypervisor stack
KVM: arm64: Detect and handle hypervisor stack overflows
KVM: arm64: Symbolize the nVHE HYP addresses
arch/arm64/include/asm/kvm_asm.h | 1 + arch/arm64/include/asm/kvm_mmu.h | 3 ++ arch/arm64/kvm/arm.c | 37 +++++++++++-- arch/arm64/kvm/handle_exit.c | 13 ++--- arch/arm64/kvm/hyp/include/nvhe/mm.h | 6 ++- arch/arm64/kvm/hyp/nvhe/host.S | 24 +++++++++ arch/arm64/kvm/hyp/nvhe/hyp-main.c | 18 ++++++- arch/arm64/kvm/hyp/nvhe/mm.c | 78 ++++++++++++++++++---------- arch/arm64/kvm/hyp/nvhe/setup.c | 31 +++++++++-- arch/arm64/kvm/hyp/nvhe/switch.c | 7 ++- arch/arm64/kvm/mmu.c | 68 ++++++++++++++++-------- scripts/kallsyms.c | 3 +- 12 files changed, 220 insertions(+), 69 deletions(-)
base-commit: b2d229d4ddb17db541098b83524d901257e93845
Signature · 1 line
2.36.0.rc0.470.gd361397f0d-goog