[PATCH v5 12/16] arm64: add KHO support
Changyuan Lyu
changyuanl at google.com
Thu Mar 20 16:29:56 PDT 2025
Hi, Krzysztof
On Thu, Mar 20, 2025 at 08:13:24 +0100, Krzysztof Kozlowski <krzk at kernel.org> wrote:
> On 20/03/2025 02:55, Changyuan Lyu wrote:
> >
> > +/**
> > + * early_init_dt_check_kho - Decode info required for kexec handover from DT
> > + */
> > +static void __init early_init_dt_check_kho(void)
> > +{
> > + unsigned long node = chosen_node_offset;
> > + u64 kho_start, scratch_start, scratch_size;
> > + const __be32 *p;
> > + int l;
> > +
> > + if (!IS_ENABLED(CONFIG_KEXEC_HANDOVER) || (long)node < 0)
> > + return;
> > +
> > + p = of_get_flat_dt_prop(node, "linux,kho-fdt", &l);
>
>
> You are adding undocumented ABI for OF properties. That's not what was
> explained last time.
Thanks for the reminder! Sorry I missed [1].
I drafted a PR to add the documentation:
https://github.com/devicetree-org/dt-schema/pull/158 .
[1] https://lore.kernel.org/all/b1e59928-b2f4-47d4-87b8-424234c52f8d@kernel.org/
Best,
Changyuan
More information about the linux-arm-kernel
mailing list