Thread (60 messages) 60 messages, 3 authors, 28d ago

Re: [PATCH 03/38] arm64: interrupts: Add common exception state helpers

flat view

From: Ashok Raj <hidden>
Date: 2026-09-21 23:36:45

On Mon, Sep 21, 2026 at 03:10:32PM +0100, Vladimir Murzin wrote:
On 9/17/26 10:10, Jinjie Ruan wrote:
quoted
在 2026/9/14 18:20, Vladimir Murzin 写道:
quoted
From: Ada Couprie Diaz <redacted>
[snip]
quoted
quoted
+
+static __always_inline
+arm64_exc_hwstate_t arm64_inherit_exc_hwstate(struct pt_regs *regs)
Minor, this isn't inheriting but rather reads a hwstate out? 
maybe arm64_exc_hwstate_of_reg() or something like that..
quoted
quoted
+{
+	arm64_exc_hwstate_t state = {.daif=regs->pstate & DAIF_MASK};
+
+	if (system_uses_irq_prio_masking())
+		state.pmr = regs->pmr;
+
+	return state;
+}
Otherwise 

Reviewed-by: Ashok Raj <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help