Re: [PATCH] x86/microcode: Do not select FW_LOADER

From: Herbert Xu
Date: Wed Jun 10 2020 - 06:29:56 EST


On Wed, Jun 10, 2020 at 10:16:09AM +0200, Borislav Petkov wrote:
> On Wed, Jun 10, 2020 at 02:29:11PM +1000, Herbert Xu wrote:
> > The x86 microcode support works just fine without FW_LOADER. In
> > fact these days most people load them early in boot so FW_LOADER
> > never gets into the picture anyway.
>
> What's the use case here?

Because MICROCODE is the only thing on my system that pulls it
into the kernel.

> Also, I'm working on removing that homegrown get_builtin_firmware() and
> use the one in the fw loader:
>
> https://lkml.kernel.org/r/20200408094526.GC24663@xxxxxxx

That shouldn't be a problem. That function can simply move under
another (hidden) Kconfig option that gets selected by both MICROCODE
and FW_LOADER.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt