[PATCH v3 1/2] kexec: introduce is_kho_boot()
Pratyush Yadav
pratyush at kernel.org
Tue Sep 9 05:13:58 PDT 2025
On Thu, Aug 21 2025, Evangelos Petrongonas wrote:
> During early initialisation, after a kexec, other components, like EFI
> need to know if a KHO enabled kexec is performed. The `kho_is_enabled`
> function is not enough as in the early stages, it only reflects
> whether the cmdline has KHO enabled, not if an actual KHO FDT exists.
>
> Extend the KHO API with `is_kho_boot()` to provide a way for components
> to check if a KHO enabled kexec is performed.
Neat! I have always found doing if (kho_get_fdt()) a bit awkward.
Reviewed-by: Pratyush Yadav <pratyush at kernel.org>
[...]
--
Regards,
Pratyush Yadav
More information about the kexec
mailing list