[PATCH v2 17/39] arm64/efi: Implement override for IRQ flags checks

Mark Brown broonie at kernel.org
Fri Nov 13 05:22:54 PST 2026


On Thu, Nov 12, 2026 at 01:20:20PM +0000, Vladimir Murzin wrote:

> +#define arch_efi_check_flags(state_flags, caller)									\
> +do {															\
> +	arm64_exc_hwstate_t __actual = {.flags =  arch_local_save_flags() };						\
> +	arm64_exc_hwstate_t __expected = {.flags=state_flags};								\

The generic version has an:

        if (!WARN_ON_ONCE(mismatch & ARCH_EFI_IRQ_FLAGS_MASK))
                break;

which will generate a backtrace the first time things go wrong, this
doesn't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261113/c0156752/attachment.sig>


More information about the linux-arm-kernel mailing list