arm64: tlb: add support for TLBI RANGE instructions
Status from this message: Applied to arm64 (for-next/tlbi), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 3/33 patches 2 repliesApplied
- v3 RFC posting 2/30 of 2 patches 0 repliesSuperseded
- v3 RFC posting 1/32 patches 9 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 RFC | 1 patch | 18 replies | Superseded |
Changes in v3 from the cover letter
- add check on whether binutils supports ARMv8.4-a instructions.
- pass -march=armv8.4-a to KBUILD_CFLAGS.
- make __TLBI_RANGE_PAGES to be 'unsigned long' explicitly.
Patches in v3 posting 3/3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: tlb: Detect the ARMv8.4 TLBI RANGE featurearch/ arch/ arch/ | +15 | 0 replies | |
| 2/3 | arm64: enable tlbi range instructionsarch/ arch/ | +21 | 1 reply | |
| 3/3 | arm64: tlb: Use the TLBI RANGE feature in arm64arch/ | +127 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] arm64: tlb: add support for TLBI RANGE instructions
NOTICE: this series are based on the arm64 for-next/tlbi branch:git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/tlbi
ARMv8.4-TLBI provides TLBI invalidation instruction that apply to a range of input addresses. This series add support for this feature.
--
ChangeList:
v3:
- add check on whether binutils supports ARMv8.4-a instructions.
- pass -march=armv8.4-a to KBUILD_CFLAGS.
- make __TLBI_RANGE_PAGES to be 'unsigned long' explicitly.
v2:
- remove the __tlbi_last_level() macro.
- add check for parameters in __TLBI_VADDR_RANGE macro.
RFC patches:
- Link: https://lore.kernel.org/linux-arm-kernel/[email protected]/
Zhenyu Ye (3):
arm64: tlb: Detect the ARMv8.4 TLBI RANGE feature
arm64: enable tlbi range instructions
arm64: tlb: Use the TLBI RANGE feature in arm64
arch/arm64/Kconfig | 14 +++ arch/arm64/Makefile | 7 ++ arch/arm64/include/asm/cpucaps.h | 3 +- arch/arm64/include/asm/sysreg.h | 3 + arch/arm64/include/asm/tlbflush.h | 156 ++++++++++++++++++++++++------ arch/arm64/kernel/cpufeature.c | 10 ++ 6 files changed, 163 insertions(+), 30 deletions(-)
Signature · 1 line
2.19.1