Thread (122 messages) 122 messages, 5 authors, 2026-09-02

Re: [RFC PATCH v2 16/45] arm64: interrupts: Introduce exception masking save/restore helpers

flat view

From: Vladimir Murzin <hidden>
Date: 2026-08-03 12:24:57

On 7/28/26 12:56, Jinjie Ruan wrote:
quoted
+static __always_inline
+void __local_exceptions_cpu_init_mask(arm64_exc_context_t context)
+{
+	if (context == PROCESS_CONTEXT)
+		trace_hardirqs_on();
+
+	arm64_update_exc_context(context);
Is following miss for setup_arch()?

      if (context == NOIRQ_CONTEXT)
	  trace_hardirqs_off();
Yup. Perhaps better do

      if (context != PROCESS_CONTEXT)
	  trace_hardirqs_off();

I'll fix that in the next version.

Cheers
Vladimir
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help