[PATCH v2] arm64/irqflags: __always_inline the arch_local_irq_*() helpers
Catalin Marinas
catalin.marinas at arm.com
Mon Apr 27 05:26:18 PDT 2026
On Tue, Apr 21, 2026 at 08:58:57AM -0700, Breno Leitao wrote:
> Force-inline all of the arch_local_irq_*() wrappers so they cannot be
> emitted out-of-line:
>
> - arch_local_irq_enable()
> - arch_local_irq_disable()
> - arch_local_save_flags()
> - arch_irqs_disabled_flags()
> - arch_irqs_disabled()
> - arch_local_irq_save()
> - arch_local_irq_restore()
I'll queue this, thanks!
I think we should also do local_daif_{mask,restore,inherit} as they seem
to be called from noinstr locations in entry-common.c.
--
Catalin
More information about the linux-arm-kernel
mailing list