Re: [PATCH 1/2] x86/microcode: Do not access MSR_IA32_PLATFORM_ID when running as a guest

From: Borislav Petkov

Date: Thu May 14 2026 - 10:27:17 EST


On Thu, May 14, 2026 at 08:38:20PM +0800, Xiaoyao Li wrote:
> But initializing x86_hypervisor_present by load_ucode_bsp() depends on
> CONFIG_MICROCODE, which depends on CPU_SUP_AMD || CPU_SUP_INTEL. So when
> both CPU_SUP_AMD and CPU_SUP_INTEL are not enabled,

... you don't need microcode loader either.

> x86_hypervisor_present will always be 0. It's not a problem for now, we can
> solve it when x86_hypervisor_present is going to be used by CENTAUR or
> ZHAOXIN.

Yes, we'll cross that bridge when we get to it.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette