Kevin Loughlin has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/41633 )

Change subject: arch-x86: Adds rdtscp flag to cpuid for X86KvmCPU
......................................................................

arch-x86: Adds rdtscp flag to cpuid for X86KvmCPU

The rdtscp instruction is supported by gem5, so the X86KvmCPU
cpuid flags should be updated accordingly. Otherwise, KVM
needlessly crashes upon executing rdtscp.

Change-Id: If79017e60cbdf0757e929f07e56dba64322846bb
Signed-off-by: Kevin Loughlin <[email protected]>
---
M src/arch/x86/cpuid.cc
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/src/arch/x86/cpuid.cc b/src/arch/x86/cpuid.cc
index 2a560f5..ae1ba2e 100644
--- a/src/arch/x86/cpuid.cc
+++ b/src/arch/x86/cpuid.cc
@@ -104,7 +104,7 @@
                 break;
               case FamilyModelSteppingBrandFeatures:
                 result = CpuidResult(0x00020f51, 0x00000405,
-                                     0xe3d3fbff, 0x00000001);
+                                     0xebd3fbff, 0x00000001);
                 break;
               case NameString1:
               case NameString2:
@@ -165,7 +165,7 @@
                 break;
               case FamilyModelStepping:
                 result = CpuidResult(0x00020f51, 0x00000805,
-                                     0xe7dbfbff, 0x00000209);
+                                     0xefdbfbff, 0x00000209);
                 break;
               case ExtendedFeatures:
                 result = CpuidResult(0x00000000, 0x01800000,

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/41633
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: If79017e60cbdf0757e929f07e56dba64322846bb
Gerrit-Change-Number: 41633
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Loughlin <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to