[PATCH 0/3] KVM: arm64: TLBI fixes for the pgtable code

Will Deacon will at kernel.org
Mon Mar 25 11:51:55 PDT 2024


Hi folks,

While debugging something else, I noticed a few TLBI oddities in KVM's
page-table code. These were found by inspection, so please have a good
look as I may be mistaken.

Patches against -rc1.

Cheers,

Will

Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Gavin Shan <gshan at redhat.com>
Cc: Marc Zyngier <maz at kernel.org>
Cc: Mostafa Saleh <smostafa at google.com>
Cc: Oliver Upton <oliver.upton at linux.dev>
Cc: Quentin Perret <qperret at google.com>
Cc: Raghavendra Rao Ananta <rananta at google.com>
Cc: Ryan Roberts <ryan.roberts at arm.com>
Cc: Shaoqin Huang <shahuang at redhat.com>
Cc: Suzuki K Poulose <suzuki.poulose at arm.com>
Cc: Zenghui Yu <yuzenghui at huawei.com>

--->8

Will Deacon (3):
  KVM: arm64: Don't defer TLB invalidation when zapping table entries
  KVM: arm64: Don't pass a TLBI level hint when zapping table entries
  KVM: arm64: Use TLBI_TTL_UNKNOWN in __kvm_tlb_flush_vmid_range()

 arch/arm64/kvm/hyp/nvhe/tlb.c |  3 ++-
 arch/arm64/kvm/hyp/pgtable.c  | 12 ++++++++----
 arch/arm64/kvm/hyp/vhe/tlb.c  |  3 ++-
 3 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.44.0.396.g6e790dbe36-goog




More information about the linux-arm-kernel mailing list