Re: [v2 PATCH] target/i386: Fix the CPUID leaf CPUID_Fn80000008

2020-05-21 Thread Paolo Bonzini
On 17/04/20 23:55, Babu Moger wrote: > CPUID leaf CPUID_Fn8008_ECX provides information about the > number of threads supported by the processor. It was found that > the field ApicIdSize(bits 15-12) was not set correctly. > > ApicIdSize is defined as the number of bits required to represent >

Re: [Bug 1871842] [v2 PATCH] target/i386: Fix the CPUID leaf CPUID_Fn80000008

2020-04-21 Thread Philipp Eppelt
Hi, thanks for the patch, I tested it in my setup and I'm seeing numbers that make sense. However, I can create a setup which places the value 02h* into the ApicIdSize field, which is reserved. However, I deem this a configuration issue as well. * -cpu EPYC-v2 -smp 4,cores=4 --> 0x8000_0008[ECX]

[v2 PATCH] target/i386: Fix the CPUID leaf CPUID_Fn80000008

2020-04-17 Thread Babu Moger
CPUID leaf CPUID_Fn8008_ECX provides information about the number of threads supported by the processor. It was found that the field ApicIdSize(bits 15-12) was not set correctly. ApicIdSize is defined as the number of bits required to represent all the ApicId values within a package. Valid Va