Re: [PATCH 5/8] x86/microcode/hygon: Add microcode loading support for Hygon processors
From: Borislav Petkov
Date: Fri Mar 27 2026 - 04:14:13 EST
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.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette