Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies

From: Andrew Morton
Date: Thu Nov 30 2023 - 11:57:04 EST


On Thu, 2 Nov 2023 16:03:18 +0800 Baoquan He <bhe@xxxxxxxxxx> wrote:

> > > CONFIG_KEXEC_FILE, but still get purgatory code built in which is
> > > totally useless.
> > >
> > > Not sure if I think too much over this.
> >
> > I see your point here, and I would suggest changing the
> > CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY symbol to just indicate
> > the availability of the purgatory code for the arch, rather
> > than actually controlling the code itself. I already mentioned
> > this for s390, but riscv would need the same thing on top.
> >
> > I think the change below should address your concern.
>
> Since no new comment, do you mind spinning v2 to wrap all these up?

This patchset remains in mm-hotfixes-unstable from the previous -rc
cycle. Eric, do you have any comments? Arnd, do you plan on a v2? If
not, should I merge v1? If so, should I now add cc:stable?