diff mbox series

[3/3] target/i386: modify Icelake-Client and Icelake-Server CPU model number

Message ID 20200227090808.17686-4-chenyi.qiang@intel.com (mailing list archive)
State New, archived
Headers show
Series Fix Skylake, Cascadelake and Icelake Server CPU models | expand

Commit Message

Chenyi Qiang Feb. 27, 2020, 9:08 a.m. UTC
According to the Intel Icelake family list, Icelake-Client uses model
number 126(0x7D) and Icelake-Server uses model number 106(0x6A).

Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
---
 target/i386/cpu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jack Wang Feb. 27, 2020, 9:48 a.m. UTC | #1
Chenyi Qiang <chenyi.qiang@intel.com> 于2020年2月27日周四 上午10:07写道:
>
> According to the Intel Icelake family list, Icelake-Client uses model
> number 126(0x7D)
0x7D is 125 in hex, so the commit message needs to be fixed.


Cheers
Jack Wang
Chenyi Qiang Feb. 28, 2020, 12:30 a.m. UTC | #2
On 2/27/2020 5:48 PM, Jack Wang wrote:
> Chenyi Qiang <chenyi.qiang@intel.com> 于2020年2月27日周四 上午10:07写道:
>>
>> According to the Intel Icelake family list, Icelake-Client uses model
>> number 126(0x7D)
> 0x7D is 125 in hex, so the commit message needs to be fixed.
> 

Sorry, my mistake.

> 
> Cheers
> Jack Wang
>
diff mbox series

Patch

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index c0be0f83b4..b43a479528 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3276,7 +3276,7 @@  static X86CPUDefinition builtin_x86_defs[] = {
         .level = 0xd,
         .vendor = CPUID_VENDOR_INTEL,
         .family = 6,
-        .model = 126,
+        .model = 125,
         .stepping = 0,
         .features[FEAT_1_EDX] =
             CPUID_VME | CPUID_SSE2 | CPUID_SSE | CPUID_FXSR | CPUID_MMX |
@@ -3389,7 +3389,7 @@  static X86CPUDefinition builtin_x86_defs[] = {
         .level = 0xd,
         .vendor = CPUID_VENDOR_INTEL,
         .family = 6,
-        .model = 134,
+        .model = 106,
         .stepping = 0,
         .features[FEAT_1_EDX] =
             CPUID_VME | CPUID_SSE2 | CPUID_SSE | CPUID_FXSR | CPUID_MMX |