Skip to content

arm64: tlb: Prerequisites for TLBI erratum workaround

Mark Rutland stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: arm64: Remove VPIPT I-cache handlingarch/arm64/include/asm/kvm_mmu.h arch/arm64/kvm/hyp/nvhe/tlb.c arch/arm64/kvm/hyp/vhe/tlb.c+2 -500 replies
2/3arm64: tlb: Allow XZR argument to TLBI opsarch/arm64/include/asm/tlbflush.h+3 -30 replies
3/3arm64: tlb: Optimize ARM64_WORKAROUND_REPEAT_TLBIarch/arm64/include/asm/tlbflush.h arch/arm64/kernel/sys_compat.c arch/arm64/kvm/hyp/nvhe/tlb.c +1 more+44 -210 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchZenghui YuAnshuman KhandualMark Rutland
1/3R-b R-b A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 5.10.y 0/3] arm64: tlb: Prerequisites for TLBI erratum workaround

This is a v5.10.y-only backport of updates to arm64's ARM64_WORKAROUND_REPEAT_TLBI erratum workaround, which have been upstream since v7.0 and have already been backported to v6.18.y. These are prerequisites for patches to enable the workaround for many more CPUs, which are queued in the arm64 tree targetting v7.2-rc1:

https://lore.kernel.org/linux-arm-kernel/[email protected]/
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=for-next/errata

I'm sending backports of these ahead of backports of the not-yet-upstream portion as these have the key logic changes and I'm hoping they could be queued early and see more testing. On their own they serve as an optimization to existing users of the workaround.

I've pushed this series to my stable-5.10/arm-4118414/prerequisites branch:

https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/log/?h=stable-5.10/arm-4118414/prerequisites

I've pushed a v5.10.y backport of all the not yet upstream patches to my stable-5.10/arm-4118414/backport branch:

https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/log/?h=stable-5.10/arm-4118414/backport

... and once those are merged into mainline I will submit stable backports.

Mark.

Marc Zyngier (1):
KVM: arm64: Remove VPIPT I-cache handling

Mark Rutland (2):
arm64: tlb: Allow XZR argument to TLBI ops
arm64: tlb: Optimize ARM64_WORKAROUND_REPEAT_TLBI

 arch/arm64/include/asm/kvm_mmu.h  |  4 +--
 arch/arm64/include/asm/tlbflush.h | 55 ++++++++++++++++++++++---------
 arch/arm64/kernel/sys_compat.c    |  2 +-
 arch/arm64/kvm/hyp/nvhe/tlb.c     | 41 ++---------------------
 arch/arm64/kvm/hyp/vhe/tlb.c      | 19 ++---------
 5 files changed, 48 insertions(+), 73 deletions(-)
Signature · 1 line
2.30.2