Re: [PATCH v4 00/14] kexec: introduce Kexec HandOver (KHO)

From: Mike Rapoport
Date: Wed Feb 19 2025 - 02:33:04 EST


On Mon, Feb 17, 2025 at 11:19:45AM +0800, RuiRui Yang wrote:
> On Thu, 6 Feb 2025 at 21:34, Mike Rapoport <rppt@xxxxxxxxxx> wrote:
> > == Limitations ==
> >
> > Currently KHO is only implemented for file based kexec. The kernel
> > interfaces in the patch set are already in place to support user space
> > kexec as well, but it is still not implemented it yet inside kexec tools.
> >
>
> What architecture exactly does this KHO work fine? Device Tree
> should be ok on arm*, x86 and power*, but how about s390?

KHO does not use device tree as the boot protocol, it uses FDT as a data
structure and adds architecture specific bits to the boot structures to
point to that data, very similar to how IMA_KEXEC works.

Currently KHO is implemented on arm64 and x86, but there is no fundamental
reason why it wouldn't work on any architecture that supports kexec.

> Thanks
> Dae
>

--
Sincerely yours,
Mike.