Re: [PATCH 3/4] i386/cpu: Fix overflow of cache topology fields in CPUID.04H

2025-02-26 Thread Xiaoyao Li
On 2/27/2025 2:25 PM, Zhao Liu wrote: From: Qian Wen According to SDM, CPUID.0x4:EAX[31:26] indicates the Maximum number of addressable IDs for processor cores in the physical package. If we launch over 64 cores VM, the 6-bit field will overflow, and the wrong core_id number will be reported.

[PATCH 3/4] i386/cpu: Fix overflow of cache topology fields in CPUID.04H

2025-02-26 Thread Zhao Liu
From: Qian Wen According to SDM, CPUID.0x4:EAX[31:26] indicates the Maximum number of addressable IDs for processor cores in the physical package. If we launch over 64 cores VM, the 6-bit field will overflow, and the wrong core_id number will be reported. Since the HW reports 0x3f when the intel