[PATCH 03/38] arm64: interrupts: Add common exception state helpers
Vladimir Murzin
vladimir.murzin at arm.com
Mon Sep 21 07:10:32 PDT 2026
On 9/17/26 10:10, Jinjie Ruan wrote:
>
> 在 2026/9/14 18:20, Vladimir Murzin 写道:
>> From: Ada Couprie Diaz <ada.coupriediaz at arm.com>
>>
[snip]
>> +
>> +static __always_inline
>> +arm64_exc_hwstate_t arm64_inherit_exc_hwstate(struct pt_regs *regs)
>> +{
>> + arm64_exc_hwstate_t state = {.daif=regs->pstate & DAIF_MASK};
>> +
>> + if (system_uses_irq_prio_masking())
>> + state.pmr = regs->pmr;
>> +
>> + return state;
>> +}
> Hi Vladimir,
>
> This helper looks more related to the 5th patch "arm64: entry: Introduce
> entry specific exception masking helpers", as it is entry-related.
> Moving it to 5th patch may make it easier to review.
>
> Best regards,
> Jinjie
>
Hi Jinjie,
Sure, I'll move it there :)
Thanks
Vladimir
More information about the linux-arm-kernel
mailing list