Re: [PATCH] target/i386: Add more features enumerated by CPUID.7.2.EDX

2024-10-10 Thread Zhao Liu
On Thu, Oct 10, 2024 at 03:17:16PM +0200, Paolo Bonzini wrote: > Date: Thu, 10 Oct 2024 15:17:16 +0200 > From: Paolo Bonzini > Subject: Re: [PATCH] target/i386: Add more features enumerated by > CPUID.7.2.EDX > > On 10/9/24 10:12, Chao Gao wrote: > > > > diff --gi

Re: [PATCH] target/i386: Add more features enumerated by CPUID.7.2.EDX

2024-10-10 Thread Paolo Bonzini
Queued, thanks. Paolo

Re: [PATCH] target/i386: Add more features enumerated by CPUID.7.2.EDX

2024-10-10 Thread Paolo Bonzini
On 10/9/24 10:12, Chao Gao wrote: diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 85ef7452c0..18ba958f46 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1148,8 +1148,8 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = { [FEAT_7_2_EDX] = { .type = CPUID_FEAT

Re: [PATCH] target/i386: Add more features enumerated by CPUID.7.2.EDX

2024-10-09 Thread Chao Gao
>> diff --git a/target/i386/cpu.c b/target/i386/cpu.c >> index 85ef7452c0..18ba958f46 100644 >> --- a/target/i386/cpu.c >> +++ b/target/i386/cpu.c >> @@ -1148,8 +1148,8 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = { >> [FEAT_7_2_EDX] = { >> .type = CPUID_FEATURE_WORD, >>

Re: [PATCH] target/i386: Add more features enumerated by CPUID.7.2.EDX

2024-10-09 Thread Zhao Liu
On Thu, Sep 19, 2024 at 01:10:11PM +0800, Chao Gao wrote: > Date: Thu, 19 Sep 2024 13:10:11 +0800 > From: Chao Gao > Subject: [PATCH] target/i386: Add more features enumerated by CPUID.7.2.EDX > X-Mailer: git-send-email 2.46.1 > > Following 5 bits in CPUID.7.2.EDX are supported

[PATCH] target/i386: Add more features enumerated by CPUID.7.2.EDX

2024-09-19 Thread Chao Gao
Following 5 bits in CPUID.7.2.EDX are supported by KVM. Add their supports in QEMU. Each of them indicates certain bits of IA32_SPEC_CTRL are supported. Those bits can control CPU speculation behavior which can be used to defend against side-channel attacks. bit0: intel-psfd if 1, indicates bit