Re: [PATCH 1/2] x86/microcode/AMD: Load late on both threads too

From: Jim Mattson
Date: Wed Aug 16 2023 - 16:18:37 EST


On Wed, Jun 07, 2023 at 13:15:42 -0700, Dave Hansen wrote:
>On 6/7/23 13:03, Borislav Petkov wrote:
>> 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.
>
>Yikes, so the second CMT thread reports a bumped version but not all the
>_effects_ of that version? That's, uh ... fun???

That does seem like fun. :)

Borislav,

Is there any way to tell that a microcode patch has been loaded on only one
thread? And what does this mean for SEV-SNP attestation?