mbox series

[0/2] i386/cpuid: Minor fixes for CPUID leaf 1f setup

Message ID 20220712021249.3227256-1-xiaoyao.li@intel.com (mailing list archive)
Headers show
Series i386/cpuid: Minor fixes for CPUID leaf 1f setup | expand

Message

Xiaoyao Li July 12, 2022, 2:12 a.m. UTC
The issue that fixed by Patch 1 looks fatal though it doesn't appear on
KVM because KVM always searches with assending order and hit with the
correct cpuid leaf 0.

Patch 2 removes the wrong constraint on CPUID leaf 1f

Xiaoyao Li (2):
  i386/cpuid: Decrease cpuid_i when skipping CPUID leaf 1F
  i386/cpuid: Remove subleaf constraint on CPUID leaf 1F

 target/i386/kvm/kvm.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Xiaoyao Li Nov. 2, 2022, 12:49 a.m. UTC | #1
On 7/12/2022 10:12 AM, Xiaoyao Li wrote:
> The issue that fixed by Patch 1 looks fatal though it doesn't appear on
> KVM because KVM always searches with assending order and hit with the
> correct cpuid leaf 0.
> 
> Patch 2 removes the wrong constraint on CPUID leaf 1f

Kindly ping.

> Xiaoyao Li (2):
>    i386/cpuid: Decrease cpuid_i when skipping CPUID leaf 1F
>    i386/cpuid: Remove subleaf constraint on CPUID leaf 1F
> 
>   target/i386/kvm/kvm.c | 5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)
>
Xiaoyao Li June 7, 2023, 6:33 a.m. UTC | #2
On 11/2/2022 8:49 AM, Xiaoyao Li wrote:
> On 7/12/2022 10:12 AM, Xiaoyao Li wrote:
>> The issue that fixed by Patch 1 looks fatal though it doesn't appear on
>> KVM because KVM always searches with assending order and hit with the
>> correct cpuid leaf 0.
>>
>> Patch 2 removes the wrong constraint on CPUID leaf 1f
> 
> Kindly ping.

ping it one more time.

Does it need a rebase and resend?

>> Xiaoyao Li (2):
>>    i386/cpuid: Decrease cpuid_i when skipping CPUID leaf 1F
>>    i386/cpuid: Remove subleaf constraint on CPUID leaf 1F
>>
>>   target/i386/kvm/kvm.c | 5 +----
>>   1 file changed, 1 insertion(+), 4 deletions(-)
>>
> 
>