Re: [PATCH 1/2] x86/microcode/AMD: Load late on both threads too
From: Borislav Petkov
Date: Wed Jun 07 2023 - 16:03:52 EST
On Wed, Jun 07, 2023 at 12:36:53PM -0700, Dave Hansen wrote:
> What's the benefit of doing the loading on both threads? I would have
> naively thought it was just wasted work.
I have the perfect example for this, see:
e7ad18d1169c ("x86/microcode/AMD: Apply the patch early on every logical thread")
so it is for reasons like that.
> I think I even have a back-burnered Intel patch around somewhere that
> ensures that we *never* load on both threads.
Interesting - I guess there are considerable differences in microcode
architecture between the two. :-)
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette