From 572cd36df91c53f11ec9d73ea583fb401f18d622 Mon Sep 17 00:00:00 2001 From: Andre Marin Date: Mon, 16 May 2016 14:24:56 -0500 Subject: Add initial L2 mss_freq_system procedure. Change-Id: Ife86394b2779634f84392f3e0ca22e4f30854ebf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25028 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: STEPHEN GLANCY Reviewed-by: Louis Stermole Reviewed-by: Brian R. Silver Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25030 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- .../p9/procedures/hwp/memory/lib/utils/find.H | 38 +++++++++++++++++++++- .../xml/error_info/p9_memory_mss_freq.xml | 19 ++++++++++- 2 files changed, 55 insertions(+), 2 deletions(-) (limited to 'src/import/chips/p9') diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/utils/find.H b/src/import/chips/p9/procedures/hwp/memory/lib/utils/find.H index 77aa4fcc5..b549291e1 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/utils/find.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/utils/find.H @@ -115,7 +115,7 @@ inline std::vector< fapi2::Target > find_targets( const } /// -/// @brief find all the dimm connected to an MCBIST +/// @brief find all the dimms connected to an MCBIST /// @param[in] i_target a fapi2::Target MCBIST /// @return a vector of fapi2::TARGET_TYPE_DIMM /// @@ -210,6 +210,42 @@ inline fapi2::Target find_target( const fapi2::Target(); } + +/// +/// @brief find the McBIST given a MCS +/// @param[in] i_target the fapi2 target MCS +/// @return a McBIST target. +/// +template<> +inline fapi2::Target find_target( const fapi2::Target& i_target) +{ + return i_target.getParent(); +} + +/// +/// @brief find the PROC_CHIP given a MCBIST +/// @param[in] i_target the fapi2 target MCBIST +/// @return a PROC_CHIP target. +/// +template<> +inline fapi2::Target find_target( const fapi2::Target& + i_target) +{ + return i_target.getParent(); +} + +/// +/// @brief find all the MCBISTs connected to a PROC_CHIP +/// @param[in] i_target a fapi2::Target PROC_CHIP +/// @return a vector of fapi2::TARGET_TYPE_MCBIST +/// +template<> +inline std::vector< fapi2::Target > find_targets( const + fapi2::Target& i_target ) +{ + return i_target.getChildren(); +} + /// /// @brief find a key value from a vector of STL pairs /// @tparam T input type diff --git a/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_freq.xml b/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_freq.xml index 60e3e5bc7..73a14ea2d 100644 --- a/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_freq.xml +++ b/src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_freq.xml @@ -80,7 +80,24 @@ - + + RC_MSS_FREQ_NOT_EQUAL_NEST_FREQ + + Case when mss_freq speeds are different and sync mode is required, + and mss_freq is not equal to nest freq. + + MSS_FREQ + NEST_FREQ + + MCS_TARGET + HIGH + + + MCS_TARGET + + + + RC_MSS_UNSUPPORTED_FREQ_CALCULATED The frequency calculated with spd data is not supported by the jedec standards. -- cgit v1.2.1