Re: [PATCH v2] x86/cpu: Skip reading MSR_IA32_PLATFORM_ID in virtualized environment
From: Borislav Petkov
Date: Wed May 13 2026 - 09:37:31 EST
On May 13, 2026 12:20:01 PM UTC, Binbin Wu <binbin.wu@xxxxxxxxxxxxxxx> wrote:
>My fix was intended to skip reading MSR_IA32_PLATFORM_ID if hypervisor is
>detected, I used cpuid_ecx() instead of cpuid_ecx_native() so that Xen PV
>guest can also read the hypervisor bit using xen_cpuid() (Xen PV guest has
>overwritten the pv ops) to make the coverage
Which part of "can be handled completely separated from this" wasn't clear?
The current code uses the native cpuid variant. If you want to fix Xen, send a patch ontop please.
--
Small device. Typos and formatting crap