diff options
author | Swathi Madhuri Bhattiprolu <bhmadhur@in.ibm.com> | 2018-02-28 07:08:54 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-04-05 14:34:23 -0400 |
commit | 571e1d84dfe50aaa674aa7e33abb75868b432d78 (patch) | |
tree | 2ab7eb56240999e074be13138d7d2ac5e24802cc /src/include/usr | |
parent | ad4459feb84ab2a4ec9f512b220a9aa67be858c8 (diff) | |
download | talos-hostboot-571e1d84dfe50aaa674aa7e33abb75868b432d78.tar.gz talos-hostboot-571e1d84dfe50aaa674aa7e33abb75868b432d78.zip |
Verify frequency attributes across nodes
-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: I922d32456c9d3c4e53dae528f088dbb013c3ded9
RTC:158036
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54825
CI-Ready: SWATHI M. BHATTIPROLU <bhmadhur@in.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Richard Ward <rward15@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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/hwas/common/hwasCallout.H | 8 | ||||
-rw-r--r-- | src/include/usr/isteps/hwpf_reasoncodes.H | 2 | ||||
-rw-r--r-- | src/include/usr/isteps/istep_reasoncodes.H | 10 | ||||
-rw-r--r-- | src/include/usr/mbox/ipc_msg_types.H | 2 | ||||
-rw-r--r-- | src/include/usr/mbox/mbox_queues.H | 1 |
5 files changed, 20 insertions, 3 deletions
diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H index 8f5126e6e..840323657 100644 --- a/src/include/usr/hwas/common/hwasCallout.H +++ b/src/include/usr/hwas/common/hwasCallout.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2017 */ +/* Contributors Listed Below - COPYRIGHT 2012,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -61,6 +61,12 @@ typedef enum { GARD_Void = 0xFF } GARD_ErrorType; +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/hwpf_reasoncodes.H b/src/include/usr/isteps/hwpf_reasoncodes.H index 78024bdcc..75a88f7ee 100644 --- a/src/include/usr/isteps/hwpf_reasoncodes.H +++ b/src/include/usr/isteps/hwpf_reasoncodes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2017 */ +/* Contributors Listed Below - COPYRIGHT 2013,2018 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ diff --git a/src/include/usr/isteps/istep_reasoncodes.H b/src/include/usr/isteps/istep_reasoncodes.H index 2d165b7e5..646c58c54 100644 --- a/src/include/usr/isteps/istep_reasoncodes.H +++ b/src/include/usr/isteps/istep_reasoncodes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2017 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -60,6 +60,7 @@ namespace ISTEP MOD_SET_IPL_PARMS = 0x1D, MOD_OCC_XSTOP_HANDLER = 0x1E, MOD_VERIFY_AND_MOVE_PAYLOAD = 0x1F, + MOD_FREQ_ATTR_DATA = 0x20, }; /** @@ -114,6 +115,13 @@ namespace ISTEP RC_P9N_DD1_NOT_SUPPORTED = ISTEP_COMP_ID | 0x35, RC_PREVENT_REBOOT_IN_MFG_TERM_MODE = ISTEP_COMP_ID | 0x36, RC_FAILED_WRITE_SPR = ISTEP_COMP_ID | 0x37, + RC_FREQ_ATTR_TIMER_EXPIRED = ISTEP_COMP_ID | 0x38, + RC_FREQ_ATTR_TIMER_THREAD_FAIL = ISTEP_COMP_ID | 0x39, + RC_FLOOR_FREQ_MISMATCH = ISTEP_COMP_ID | 0x40, + RC_CEIL_FREQ_MISMATCH = ISTEP_COMP_ID | 0x41, + RC_TURBO_FREQ_MISMATCH = ISTEP_COMP_ID | 0x42, + RC_ULTRA_TURBO_FREQ_MISMATCH = ISTEP_COMP_ID | 0x43, + RC_NEST_FREQ_MISMATCH = ISTEP_COMP_ID | 0x44, }; }; diff --git a/src/include/usr/mbox/ipc_msg_types.H b/src/include/usr/mbox/ipc_msg_types.H index 5a2ead6c9..7009c01d1 100644 --- a/src/include/usr/mbox/ipc_msg_types.H +++ b/src/include/usr/mbox/ipc_msg_types.H @@ -40,6 +40,8 @@ namespace IPC IPC_QUERY_CHIPINFO, IPC_SET_SBE_CHIPINFO, IPC_CLOSE_TCES, + 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 e1e698c91..5b76c51f8 100644 --- a/src/include/usr/mbox/mbox_queues.H +++ b/src/include/usr/mbox/mbox_queues.H @@ -55,6 +55,7 @@ namespace MBOX HB_COALESCE_MSGQ = 11, //host_coalesce response HB_SBE_SYSCONFIG_MSGQ = 12, //For SBE System Config response HB_CLOSE_TCES_MSGQ = 13, // close/disable TCEs + HB_FREQ_ATTR_DATA_MSGQ = 14, // 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 |