Re: [PATCH 2/2] x86/microcode: Add a "microcode=" command line option

From: Borislav Petkov
Date: Fri Jun 09 2023 - 08:29:33 EST


On Wed, Jun 07, 2023 at 06:55:39PM -0700, Ashok Raj wrote:
> When end user changes the behavior, isn't it against the design
> specification? And if so, should that result in kernel being tainted
> after a reload?

That's a chicken bit and should not be used usually. I'm adding it just
in case.

> Is this reload on all threads required by all models, or only certain
> models? I was wondering if the forced reload could be limited to only
> affected CPUs instead of doing it on all unconditionally.

Unconditionally.

> Shouldn't the "control" be under LATE_LOADING? Since this only controls
> late-loading behavior?

No, that's a bitfield and is going to be used for other flags, if
needed and which are not necessarily late-loading related.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette