Hello Tony Gutierrez,

I'd like you to do a code review. Please visit

    https://gem5-review.googlesource.com/c/public/gem5/+/28131

to review the following change.


Change subject: arch-x86: ignore cache config desc cpu id func
......................................................................

arch-x86: ignore cache config desc cpu id func

Change-Id: If07ae8f48e31dd5bdf21dd1e7385e389e01ca5cd
---
M src/arch/x86/cpuid.cc
1 file changed, 8 insertions(+), 0 deletions(-)



diff --git a/src/arch/x86/cpuid.cc b/src/arch/x86/cpuid.cc
index 64d4544..0efd83b 100644
--- a/src/arch/x86/cpuid.cc
+++ b/src/arch/x86/cpuid.cc
@@ -35,6 +35,9 @@
     enum StandardCpuidFunction {
         VendorAndLargestStdFunc,
         FamilyModelStepping,
+        ProcessorConfigDescriptors,
+        ProcessorSerialNums,
+        CacheConfigDescriptors,
         CacheAndTLB,
         SerialNumber,
         CacheParams,
@@ -162,6 +165,11 @@
                 result = CpuidResult(0x00020f51, 0x00000805,
                                      0xe7dbfbff, 0x00000209);
                 break;
+              case CacheConfigDescriptors:
+                warn("x86 cpuid family 0x0000: unimplemented function %u "
+                    "returning 0x0, 0x0, 0x0, 0x0.", funcNum);
+                result = CpuidResult(0x0, 0x0, 0x0, 0x0);
+                break;
               case ExtendedFeatures:
                 result = CpuidResult(0x00000000, 0x01800000,
                                      0x00000000, 0x00000000);

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/28131
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: If07ae8f48e31dd5bdf21dd1e7385e389e01ca5cd
Gerrit-Change-Number: 28131
Gerrit-PatchSet: 1
Gerrit-Owner: Anthony Gutierrez <anthony.gutier...@amd.com>
Gerrit-Reviewer: Tony Gutierrez <anthony.gutier...@amd.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to