[PATCH v4 1/4] firmware: arm_sdei: add sdei_is_present()

Doug Anderson dianders at chromium.org
Wed Jun 17 13:02:16 PDT 2026


Hi,

On Wed, Jun 17, 2026 at 12:20 PM Kiryl Shutsemau <kirill at shutemov.name> wrote:
>
> From: "Kiryl Shutsemau (Meta)" <kas at kernel.org>
>
> invoke_sdei_fn() returns -EIO when no SDEI conduit was probed, and the
> core warns ("Failed to create event ...") on any registration that hits
> that. An optional consumer that registers an event from an unconditional
> initcall would therefore make every boot on a non-SDEI system emit that
> warning for what is simply absent firmware.
>
> Expose whether SDEI firmware is present so such a consumer can skip
> registration -- and the warning -- when there is nothing to talk to.
>
> Signed-off-by: Kiryl Shutsemau (Meta) <kas at kernel.org>
> ---
>  drivers/firmware/arm_sdei.c | 10 ++++++++++
>  include/linux/arm_sdei.h    |  3 +++
>  2 files changed, 13 insertions(+)

>From a non-expert in SDEI, but FWIW:

Reviewed-by: Douglas Anderson <dianders at chromium.org>



More information about the kexec mailing list