]> Git Repo - qemu.git/commit - target/i386/cpu.c
target/i386: Fix cpuid level for AMD
authorzhenwei pi <[email protected]>
Thu, 8 Jul 2021 17:06:41 +0000 (12:06 -0500)
committerEduardo Habkost <[email protected]>
Tue, 13 Jul 2021 13:13:29 +0000 (09:13 -0400)
commit760746ac533dd770a56340b1376e7b3fb1693562
treeccafaabaef7b44365df18f26a264bd0652260cca
parenta7a0da844d299971bdbf99665bd63398668dde83
target/i386: Fix cpuid level for AMD

A AMD server typically has cpuid level 0x10(test on Rome/Milan), it
should not be changed to 0x1f in multi-dies case.

* to maintain compatibility with older machine types, only implement
  this change when the CPU's "x-vendor-cpuid-only" property is false

Cc: "Dr. David Alan Gilbert" <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Igor Mammedov <[email protected]>
Cc: zhenwei pi <[email protected]>
Fixes: a94e1428991 (target/i386: Add CPUID.1F generation support for multi-dies PCMachine)
Signed-off-by: zhenwei pi <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
Message-Id: <20210708170641[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
target/i386/cpu.c
This page took 0.02459 seconds and 4 git commands to generate.