[PATCH] ARM: fix XIP_KERNEL dependencies

Linus Walleij linus.walleij at linaro.org
Wed Aug 31 06:35:01 PDT 2022


On Tue, Aug 30, 2022 at 9:21 AM Arnd Bergmann <arnd at arndb.de> 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 at arndb.de>

OK this should work!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list