Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: Missing barriers in kernel page-table updates
@ 2026-11-20 12:16 Fuad Tabba
  2026-11-20 12:16 ` [PATCH 1/3] arm64: pi: Add an ISB after mapping the FDT in the initial ID map Fuad Tabba
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fuad Tabba @ 2026-11-20 12:16 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: Mark Rutland, Ard Biesheuvel, Ryan Roberts, Yang Shi,
	Kevin Brodsky, Anshuman Khandual, linux-arm-kernel, linux-kernel,
	Fuad Tabba

Hi folks,

Three fixes for kernel mappings that are made valid and then used on
the same CPU before an ISB, so the access can take a translation fault.

Tested on QEMU. The runtime changes to the linear map that patch 3
covers were not exercised, since they require a CPU with BBML3.

Based on Linux 7.4-rc1 (6628e7d4c6b25).

Cheers,
/fuad

Fuad Tabba (3):
  arm64: pi: Add an ISB after mapping the FDT in the initial ID map
  arm64: mm: Add an ISB after remapping the KPTI page-table slot
  arm64: mm: Don't defer the barriers when installing a fixmap entry

 arch/arm64/kernel/pi/map_kernel.c | 1 +
 arch/arm64/mm/fixmap.c            | 4 +++-
 arch/arm64/mm/proc.S              | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.47.3



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-20 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 12:16 [PATCH 0/3] arm64: Missing barriers in kernel page-table updates Fuad Tabba
2026-11-20 12:16 ` [PATCH 1/3] arm64: pi: Add an ISB after mapping the FDT in the initial ID map Fuad Tabba
2026-11-20 12:16 ` [PATCH 2/3] arm64: mm: Add an ISB after remapping the KPTI page-table slot Fuad Tabba
2026-11-20 12:16 ` [PATCH 3/3] arm64: mm: Don't defer the barriers when installing a fixmap entry Fuad Tabba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox