Use the new CPUModel enum names from libpeci
libpeci was updated with new CPUModel names, so update uses here to
match.
Change-Id: I9b779df7806cfc8786ff1a9f3c41484c64f1fd18
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
diff --git a/include/error_monitors/ierr_monitor.hpp b/include/error_monitors/ierr_monitor.hpp
index 41453c0..b16ce17 100644
--- a/include/error_monitors/ierr_monitor.hpp
+++ b/include/error_monitors/ierr_monitor.hpp
@@ -90,7 +90,7 @@
switch (model)
{
- case skx:
+ case skylake:
{
// First check the MCA_ERR_SRC_LOG to see if this is the CPU
// that caused the IERR
@@ -184,7 +184,7 @@
}
break;
}
- case icx:
+ case iceLake:
{
// First check the MCA_ERR_SRC_LOG to see if this is the CPU
// that caused the IERR
diff --git a/include/host_error_monitor.hpp b/include/host_error_monitor.hpp
index a7710f9..f1d26ac 100644
--- a/include/host_error_monitor.hpp
+++ b/include/host_error_monitor.hpp
@@ -197,7 +197,7 @@
switch (model)
{
- case skx:
+ case skylake:
{
// Check the ERRPINSTS to see if this is the CPU that
// caused the ERRx (B(0) D8 F0 offset 210h)
@@ -214,7 +214,7 @@
errPinCPUs[cpu] = (errpinsts & (1 << errPin)) != 0;
break;
}
- case icx:
+ case iceLake:
{
// Check the ERRPINSTS to see if this is the CPU that
// caused the ERRx (B(30) D0 F3 offset 274h) (Note: Bus