[PATCH] arm64: defconfig: enable QoriQ dependencies as modules

Ard Biesheuvel ardb at kernel.org
Wed Jun 24 10:55:48 EDT 2020


On Wed, 24 Jun 2020 at 16:51, Arnd Bergmann <arnd at arndb.de> wrote:
>
> On Wed, Jun 24, 2020 at 4:04 PM Ard Biesheuvel <ardb at kernel.org> wrote:
> >
> > The arm64 port adopts a single image policy, and therefore has a single
> > defconfig that should produce a kernel that can boot on any platform.
> > Given the shared nature, we typically enable tristate Kconfig options
> > as modules, unless there is a good reason to enable it as a builtin.
> >
> > In the case of commit 97c1ed02f765bc89 ("arm64: defconfig: Enable PHY
> > devices used on QorIQ boards"), this is not really the case, and the
> > various options are enabled as builtins as a convenience for the NXP
> > developers that actually work on such boards. This pulls in other
> > dependencies, such as CRYPTO_AES and CRYPTO_ECB (for MICROSEMI_PHY),
> > which themselves pull in other pieces of the crypto stack.
> >
> > Since all the options that this commit enables are tristate, let's
> > switch them all to =m
> >
> > Fixes: 97c1ed02f765bc89 ("arm64: defconfig: Enable PHY devices used on QorIQ boards")
> > Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
>
> Acked-by: Arnd Bergmann <arnd at arndb.de>
>
> I assume it's sufficient to apply this in linux-5.9 rather than 5.8, right?
>

Whatever you prefer.

Thanks,
Ard.



More information about the linux-arm-kernel mailing list