Re: [PATCH] ARM: fix XIP_KERNEL dependencies

From: Linus Walleij
Date: Wed Aug 31 2022 - 09:36:42 EST


On Tue, Aug 30, 2022 at 9:21 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:

> CONFIG_XIP_KERNEL does not work with any option that involves patching
> the read-only kernel .text.
>
> Since at least CONFIG_SMP_ON_UP is required in certain configurations,
> flip the dependency to always allow the .text patching options but make
> XIP_KERNEL have the dependency instead.
>
> This is a prerequisite for allowing CONFIG_ARCH_MULTIPLATFORM to
> be disabled.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

OK this should work!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij