[PATCH v2 0/3] arm64 kpti fixes

Ard Biesheuvel ardb at google.com
Mon Nov 27 04:00:50 PST 2023


From: Ard Biesheuvel <ardb at kernel.org>

A couple of fixes and tweaks for KPTI - the first patch is a true
regression in v6.7, the others are minor tweaks.

v2:
- add two more tweaks
- use correct method to test system cap before alternatives have been
  applied
- move check into kpti_install_ng_mappings()

Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Marc Zyngier <maz at kernel.org>
Cc: Mark Rutland <mark.rutland at arm.com>

Ard Biesheuvel (3):
  arm64: Avoid enabling KPTI unnecessarily
  arm64: mm: Only map KPTI trampoline if it is going to be used
  arm64: Kconfig: drop KAISER reference from KPTI option description

 arch/arm64/Kconfig             | 2 +-
 arch/arm64/kernel/cpufeature.c | 4 ++++
 arch/arm64/mm/mmu.c            | 3 +++
 3 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.43.0.rc1.413.gea7ed67945-goog




More information about the linux-arm-kernel mailing list