Skip to content

KVM: arm64: nv: Fix issue with Stage 2 MMU init for Nested case.

Ganapatrao Kulkarni kvm kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: Use appropriate mmu pointer in stage2 page table init.arch/arm64/include/asm/kvm_pgtable.h arch/arm64/kvm/hyp/nvhe/mem_protect.c arch/arm64/kvm/hyp/pgtable.c +1 more+8 -54 replies
2/2KVM: arm64: nv: fixup! Support multiple nested Stage-2 mmu structuresarch/arm64/kvm/nested.c+9 -06 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGanapatrao Kulkarni
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: arm64: nv: Fix issue with Stage 2 MMU init for Nested case.

The Guest Hypervisor stage 2 mmu table was used while creating map and subsequent tlb flush for Nested VM. This resulted in unresolvable stage 2 fault for Nested VM since tlb was invalidated with Guest-Hypervisor VMID.

Patch 1/2 should be applied before the NV patchset[1]. Patch 2/2 can be squashed in to Commit 1776c91346b6 ("KVM: arm64: nv:
Support multiple nested Stage-2 mmu structures")[2].

[1] https://lore.kernel.org/kvmarm/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/
branch kvm-arm64/nv-5.13

Ganapatrao Kulkarni (2):
KVM: arm64: Use appropriate mmu pointer in stage2 page table init.
KVM: arm64: nv: fixup! Support multiple nested Stage-2 mmu structures

 arch/arm64/include/asm/kvm_pgtable.h  | 6 ++++--
 arch/arm64/kvm/hyp/nvhe/mem_protect.c | 2 +-
 arch/arm64/kvm/hyp/pgtable.c          | 3 ++-
 arch/arm64/kvm/mmu.c                  | 2 +-
 arch/arm64/kvm/nested.c               | 9 +++++++++
 5 files changed, 17 insertions(+), 5 deletions(-)
Signature · 1 line
2.27.0