Patchwork [1/4] cpu model corrections/updates: fix Intel "model" fields

login
register
mail settings
Submitter john cooper
Date Sept. 7, 2010, 12:30 p.m.
Message ID <4C863068.8000905@redhat.com>
Download mbox | patch
Permalink /patch/64005/
State New
Headers show

Comments

john cooper - Sept. 7, 2010, 12:30 p.m.
Correct archaic CPU model "model" field for Intel CPUs.
The old "model" values caused two known problems:
    
    - Skype crashes on a winxp guest if model < 6, due to syscall vs.
      sysenter confusion.
    
    - 32 bit windows doesn't enable MSI support if model < 13.
    
After consulting with Intel the following recommendations were
received which more accurately represent shipped silicon.

Signed-off-by: john cooper <john.cooper@redhat.com>
---

Patch

diff --git a/sysconfigs/target/target-x86_64.conf b/sysconfigs/target/target-x86_64.conf
index 43ad282..0613870 100644
--- a/sysconfigs/target/target-x86_64.conf
+++ b/sysconfigs/target/target-x86_64.conf
@@ -5,7 +5,7 @@ 
    level = "2"
    vendor = "GenuineIntel"
    family = "6"
-   model = "2"
+   model = "15"
    stepping = "3"
    feature_edx = "sse2 sse fxsr mmx pat cmov pge sep apic cx8 mce pae msr tsc pse de fpu    mtrr clflush mca pse36"
    feature_ecx = "sse3 ssse3"
@@ -19,7 +19,7 @@ 
    level = "2"
    vendor = "GenuineIntel"
    family = "6"
-   model = "2"
+   model = "23"
    stepping = "3"
    feature_edx = "sse2 sse fxsr mmx pat cmov pge sep apic cx8 mce pae msr tsc pse de fpu    mtrr clflush mca pse36"
    feature_ecx = "sse3 cx16 ssse3 sse4.1"
@@ -33,7 +33,7 @@ 
    level = "2"
    vendor = "GenuineIntel"
    family = "6"
-   model = "2"
+   model = "26"
    stepping = "3"
    feature_edx = "sse2 sse fxsr mmx pat cmov pge sep apic cx8 mce pae msr tsc pse de fpu    mtrr clflush mca pse36"
    feature_ecx = "sse3 cx16 ssse3 sse4.1 sse4.2 popcnt"