diff --git a/src/arch/x86/X86ISA.py b/src/arch/x86/X86ISA.py index 2760b7672d..bb72c415e9 100644 --- a/src/arch/x86/X86ISA.py +++ b/src/arch/x86/X86ISA.py @@ -42,6 +42,15 @@ class X86ISA(BaseISA): 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" )