]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/mm: Allow temporary MMs when IRQs are on
authorAndy Lutomirski <luto@kernel.org>
Wed, 2 Apr 2025 09:45:38 +0000 (11:45 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 12 Apr 2025 08:06:00 +0000 (10:06 +0200)
commit58f8ffa917669a0c8c027e24d5349f0b488f8181
tree1188958db264524accfeb6f6d1983e3fcb8d2861
parent4873f494bbe4670f353a9b76ce44e6028c811cbb
x86/mm: Allow temporary MMs when IRQs are on

EFI runtime services should use temporary MMs, but EFI runtime services
want IRQs on.  Preemption must still be disabled in a temporary MM context.

At some point, the entirely temporary MM mechanism should be moved out of
arch code.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250402094540.3586683-6-mingo@kernel.org
arch/x86/mm/tlb.c