Re: [PATCH 5/8] x86/microcode/hygon: Add microcode loading support for Hygon processors

From: Fu Hao

Date: Fri Mar 27 2026 - 04:39:56 EST


On 2026/3/27 16:13, Borislav Petkov wrote:
On Fri, Mar 27, 2026 at 04:10:09PM +0800, Fu Hao wrote:
Add support for loading Hygon microcode, which is compatible with AMD one.

Signed-off-by: Fu Hao <fuhao@xxxxxxxxxxxxxx>
---
arch/x86/Kconfig | 2 +-
arch/x86/kernel/cpu/microcode/amd.c | 63 ++++++++++++++++++------

No.

arch/x86/kernel/cpu/microcode/hygon.c

please.

Do a separate compilation unit where all the Hygon stuff can live instead of
sprinkling "if HYGON" everywhere in the AMD loader.

Thx.


OK, thanks! I will create arch/x86/kernel/cpu/microcode/hygon.c in next
patch series.

--
Regards,
Fu Hao