Re: [patch V3 00/30] x86/microcode: Cleanup and late loading enhancements

From: Qiuxu Zhuo
Date: Mon Sep 25 2023 - 13:03:21 EST


Hi Thomas,

> ...
>
> The series is also available from git:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git ucode-v3
> ...

I tested the 'ucode-v3' code above, and it worked well on my tested machine.
For more details, please refer to the test below:

Tested Machine
--------------
Intel Sapphire Rapids server with 2 sockets, each containing 48 cores,
resulting in a total of 192 threads.


Microcodes
----------
a) Microcode revisison of CPU : 0xab000130
b) Microcode revision in the initramfs : 0xab000140 // for early load
c) Microcode revision in /lib/firmware/intel-ucode/* : 0xab000160 // for late load

[ Microcode b) & c) headers both contain minirev 0x2b0000a1. ]

Test Results
------------
The following test results showed that this 'ucode-v3' worked well for both
early microcode loading and late microcode loading on this tested machine.
Based on the test results:

Tested-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>


Dmesg log
---------
// Early load OK.
[ 0.000000] microcode: updated early: 0xab000130 -> 0xab000140, date = 2022-11-04

...
[ 20.216675] microcode: Microcode Update Driver: v2.2.
...

// Late load OK.
[ 199.343654] microcode: Updated to revision 0xab000160, date = 2022-11-16
[ 199.352434] microcode: Microcode load: updated on 96 primary CPUs with 96 siblings
[ 199.361069] microcode: Microcode revision: 0xab000140 -> 0xab000160
...

Thanks!
-Qiuxu