[PATCH 0/2] KVM: arm64: Fix a couple of pKVM/nVHE TLB invalidation bugs

Will Deacon will at kernel.org
Wed Aug 14 05:34:27 PDT 2024


Hi folks,

These two patches fix a couple of TLB invalidation bugs in pKVM. The
first one was spotted by inspection while I was debugging a crash which
turned out to be caused by the second problem.

Feedback welcome.

Cheers,

Will

Cc: Marc Zyngier <maz at kernel.org>
Cc: Oliver Upton <oliver.upton at linux.dev>
Cc: Fuad Tabba <tabba at google.com>
Cc: kvmarm at lists.linux.dev

--->8

Will Deacon (2):
  KVM: arm64: Invalidate EL1&0 TLB entries for all VMIDs in nvhe hyp
    init
  KVM: arm64: Ensure TLBI uses correct VMID after changing context

 arch/arm64/kvm/hyp/nvhe/hyp-init.S | 2 +-
 arch/arm64/kvm/hyp/nvhe/tlb.c      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.46.0.76.ge559c4bf1a-goog




More information about the linux-arm-kernel mailing list