Bobby Bruce has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/65611?usp=email )
Change subject: arch-x86: X86ISA default vector_string to HygonGenuine
......................................................................
arch-x86: X86ISA default vector_string to HygonGenuine
This commit,
https://gem5-review.googlesource.com/c/public/gem5/+/64831, changed the
default 'vendor_string' for the 'X86ISA' SimObject from 'M5 Simulator'
and 'AuthenticAMD'. Unforunately due to an issue highlighted here:
https://gem5.atlassian.net/browse/GEM5-1300 we cannot use the
'AuthenticAMD'. Therefore, this change updates the default vector_string
to HygonGenuine.
The HygonGenuine is simple but works.
Change-Id: I21421da8ae73e76d9daaf2fdd0b3238d5b309172
---
M src/arch/x86/X86ISA.py
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/src/arch/x86/X86ISA.py b/src/arch/x86/X86ISA.py
index 2760b76..bb72c41 100644
--- a/src/arch/x86/X86ISA.py
+++ b/src/arch/x86/X86ISA.py
@@ -42,6 +42,15 @@
cxx_class = "gem5::X86ISA::ISA"
cxx_header = "arch/x86/isa.hh"
+ # Here we set the default vector string to "HygonGenuine". Previously
this
+ # "M5 Simulator" but due to stricter checks in newer versions of GLIBC,
+ # the CPUID is checked for the required features. As "M5 Simulator" is
not
+ # genuine CPUID, an error is returned. This change
+ # https://gem5-review.googlesource.com/c/public/gem5/+/64831 changed
this
+ # to "GenuineAMD" but due to issues with booting the Linux Kernel using
+ # this vector string (highlighted here:
+ # https://gem5.atlassian.net/browse/GEM5-1300) we opted to use
+ # "HygonGenuine" instead.
vendor_string = Param.String(
- "AuthenticAMD", "Vendor string for CPUID instruction"
+ "HygonGenuine", "Vendor string for CPUID instruction"
)
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/65611?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: release-staging-v22-1
Gerrit-Change-Id: I21421da8ae73e76d9daaf2fdd0b3238d5b309172
Gerrit-Change-Number: 65611
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org