mbox series

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

Message ID 20240814123429.20457-1-will@kernel.org (mailing list archive)
Headers show
Series KVM: arm64: Fix a couple of pKVM/nVHE TLB invalidation bugs | expand

Message

Will Deacon Aug. 14, 2024, 12:34 p.m. UTC
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@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Fuad Tabba <tabba@google.com>
Cc: kvmarm@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(-)

Comments

Marc Zyngier Aug. 15, 2024, 1:08 p.m. UTC | #1
On Wed, 14 Aug 2024 13:34:27 +0100, Will Deacon wrote:
> 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,
> 
> [...]

Applied to next, thanks!

[1/2] KVM: arm64: Invalidate EL1&0 TLB entries for all VMIDs in nvhe hyp init
      commit: dc0dddb1d66de88c571cf1a5bc3b484521a578af
[2/2] KVM: arm64: Ensure TLBI uses correct VMID after changing context
      commit: ed49fe5a6fb9c1a1bbbf4b5b648c7d34a756cb6d

Cheers,

	M.