All of lore.kernel.org
 help / color / mirror / Atom feed
* [dovetail][PATCH] x86: dovetail: Drop bogus local_irq_disable_full from __bad_area_nosemaphore
@ 2026-11-12 11:32 Jan Kiszka
  2026-11-12 13:09 ` Philippe Gerum
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2026-11-12 11:32 UTC (permalink / raw)
  To: Philippe Gerum, Xenomai, Florian Bezdeka

From: Jan Kiszka <jan.kiszka@siemens.com>

There is no technical reason to disable IRQs here again, neither when
the IRQ pipeline is enable nor when it is off, which this change also
causes. We are never passing this point from OOB because of the
!running_inband check and jump earlier in function. The inband case is
identical to the !IRQ_PIPELINE case, and that one does not need any
additional IRQ disabling as well (upstream code path).

The addition was most likely a mismerged during the forward-port from
6.18 to 6.19. Remove it.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 arch/x86/mm/fault.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index e41ed2092730c..e9a08a5d26e60 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -886,8 +886,6 @@ __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code,
 		force_sig_pkuerr((void __user *)address, pkey);
 	else
 		force_sig_fault(SIGSEGV, si_code, (void __user *)address);
-
-	local_irq_disable_full();
 out:
 	oob_trap_unwind(X86_TRAP_PF, regs);
 }
-- 
2.47.3

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 11:32 [dovetail][PATCH] x86: dovetail: Drop bogus local_irq_disable_full from __bad_area_nosemaphore Jan Kiszka
2026-11-12 13:09 ` Philippe Gerum
2026-11-12 13:38   ` Jan Kiszka
2026-11-12 14:01     ` Philippe Gerum
2026-11-12 14:37       ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.