summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorSwathi Madhuri Bhattiprolu <bhmadhur@in.ibm.com>2018-04-20 06:18:21 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-05-16 12:51:54 -0400
commitb7a44c2259760465b375795baeea883b9f08b44d (patch)
tree94e7071daacc2f8751c9aadc45372c1a07b82c14 /src/include
parent6855bca779b8435856b0f6881480d7a4ed205b6b (diff)
downloadtalos-hostboot-b7a44c2259760465b375795baeea883b9f08b44d.tar.gz
talos-hostboot-b7a44c2259760465b375795baeea883b9f08b44d.zip
Verify frequency attributes across nodes to match with that of master node
-Existing code ensures consistency of frequency data across all modules in istep6.12. -In a multi-drawer config this data needs to be consistent across all drawers. -Master drawer sends the frequency data to all the other via IPC mechanism. -This data is compared and error is returned if there is a mismatch. Change-Id: Ia1daf1f0eeb90fbafb68417b979488b040efe535 RTC:158036 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57542 Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwas/common/hwasCallout.H7
-rw-r--r--src/include/usr/isteps/istep_reasoncodes.H8
-rw-r--r--src/include/usr/mbox/ipc_msg_types.H1
-rw-r--r--src/include/usr/mbox/mbox_queues.H1
4 files changed, 17 insertions, 0 deletions
diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H
index c5fbf2f21..a74330aaf 100644
--- a/src/include/usr/hwas/common/hwasCallout.H
+++ b/src/include/usr/hwas/common/hwasCallout.H
@@ -61,6 +61,13 @@ typedef enum {
GARD_Void = 0xFF
} GARD_ErrorType;
+// Used in EPUB_PRC_INVALID_PART
+// userdata 3 of the SRC
+enum ErrorCategory {
+ ERR_CATEGORY_INVALID_SERIAL = 0x01,
+ ERR_CATEGORY_INVALID_PART = 0x02,
+};
+
// from src/epub/fsp/epub_service_codes.H v1.24.24.4
// - Any additions should be added to FipS code first
diff --git a/src/include/usr/isteps/istep_reasoncodes.H b/src/include/usr/isteps/istep_reasoncodes.H
index 1595210e3..aa63ce0d8 100644
--- a/src/include/usr/isteps/istep_reasoncodes.H
+++ b/src/include/usr/isteps/istep_reasoncodes.H
@@ -61,6 +61,7 @@ namespace ISTEP
MOD_OCC_XSTOP_HANDLER = 0x1E,
MOD_VERIFY_AND_MOVE_PAYLOAD = 0x1F,
MOD_REDISCOVER_I2C_TARGETS = 0x20,
+ MOD_FREQ_ATTR_DATA = 0x21,
};
/**
@@ -118,6 +119,13 @@ namespace ISTEP
RC_FAILED_TO_BOOT_SBE = ISTEP_COMP_ID | 0x38,
RC_REDISCOVERED_TARGETS = ISTEP_COMP_ID | 0x39,
RC_HDAT_SIZE_CHECK_FAILED = ISTEP_COMP_ID | 0x3A,
+ RC_FREQ_ATTR_TIMER_EXPIRED = ISTEP_COMP_ID | 0x40,
+ RC_FREQ_ATTR_TIMER_THREAD_FAIL = ISTEP_COMP_ID | 0x41,
+ RC_FLOOR_FREQ_MISMATCH = ISTEP_COMP_ID | 0x42,
+ RC_CEIL_FREQ_MISMATCH = ISTEP_COMP_ID | 0x43,
+ RC_TURBO_FREQ_MISMATCH = ISTEP_COMP_ID | 0x44,
+ RC_ULTRA_TURBO_FREQ_MISMATCH = ISTEP_COMP_ID | 0x45,
+ RC_NEST_FREQ_MISMATCH = ISTEP_COMP_ID | 0x46,
};
};
diff --git a/src/include/usr/mbox/ipc_msg_types.H b/src/include/usr/mbox/ipc_msg_types.H
index 6a907ed8d..ee0896348 100644
--- a/src/include/usr/mbox/ipc_msg_types.H
+++ b/src/include/usr/mbox/ipc_msg_types.H
@@ -41,6 +41,7 @@ namespace IPC
IPC_SET_SBE_CHIPINFO,
IPC_CLOSE_TCES,
IPC_POPULATE_TPM_INFO_BY_NODE,
+ IPC_FREQ_ATTR_DATA, // frequency attribute data from master to other drawers
};
}; // namespace IPC
diff --git a/src/include/usr/mbox/mbox_queues.H b/src/include/usr/mbox/mbox_queues.H
index 882aad2b4..3b3b6ba10 100644
--- a/src/include/usr/mbox/mbox_queues.H
+++ b/src/include/usr/mbox/mbox_queues.H
@@ -56,6 +56,7 @@ namespace MBOX
HB_SBE_SYSCONFIG_MSGQ = 12, //For SBE System Config response
HB_CLOSE_TCES_MSGQ = 13, // close/disable TCEs
HB_POP_TPM_INFO_MSGQ = 14, // response to populate TPM info by node
+ HB_FREQ_ATTR_DATA_MSGQ = 15, // freq attributes data from master to all other drawers
// Add HB mbox msg queue ids (services) before this line
HB_LAST_VALID_MSGQ, // end of valid HB mbox msgQ ids
OpenPOWER on IntegriCloud