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>