Kevin Loughlin has submitted this change. (
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]>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41633
Reviewed-by: Gabe Black <[email protected]>
Maintainer: Gabe Black <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/x86/cpuid.cc
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Gabe Black: Looks good to me, approved; Looks good to me, approved
kokoro: Regressions pass
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,
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the
submitted one.
--
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: 3
Gerrit-Owner: Kevin Loughlin <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Kevin Loughlin <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s