aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2025-04-18 11:50:34 +0200
committerIngo Molnar <mingo@kernel.org>2025-04-18 14:36:18 +0200
commitaef1d0209ddf127a8069aca5fa3a062be4136b76 (patch)
tree7ba7624416fe05ec288301ba4dfadf6b88c00831 /scripts/gdb/linux/utils.py
parentx86/mm: Remove the mm_cpumask(prev) warning from switch_mm_irqs_off() (diff)
downloadlinux-rng-aef1d0209ddf127a8069aca5fa3a062be4136b76.tar.xz
linux-rng-aef1d0209ddf127a8069aca5fa3a062be4136b76.zip
x86/mm: Fix {,un}use_temporary_mm() IRQ state
As the function switch_mm_irqs_off() implies, it ought to be called with IRQs *off*. Commit 58f8ffa91766 ("x86/mm: Allow temporary MMs when IRQs are on") caused this to not be the case for EFI. Ensure IRQs are off where it matters. Fixes: 58f8ffa91766 ("x86/mm: Allow temporary MMs when IRQs are on") Reported-by: Borislav Petkov (AMD) <bp@alien8.de> Tested-by: Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Rik van Riel <riel@surriel.com> Link: https://lore.kernel.org/r/20250418095034.GR38216@noisy.programming.kicks-ass.net
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions