From ac6b97d1a4ffbd006f15e79e2b85d8089c05238b Mon Sep 17 00:00:00 2001 From: Stephen Glancy Date: Mon, 1 Apr 2019 13:56:39 -0400 Subject: Adds git commit data to p9a/exp procedures Change-Id: I1df5fcb9661b3aca592c742efb13b82e5f519624 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75330 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Reviewed-by: Louis Stermole Tested-by: Hostboot CI Reviewed-by: ANDRE A. MARIN Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75347 Reviewed-by: Christian R. Geddes Tested-by: Christian R. Geddes --- src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C | 3 +++ src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C | 3 +++ src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C | 5 ++++- src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C | 5 ++++- src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C | 3 +++ 5 files changed, 17 insertions(+), 2 deletions(-) (limited to 'src/import/chips/p9a/procedures') diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C index 75d23c6af..49c7c4e56 100644 --- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C +++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_eff_config.C @@ -44,6 +44,7 @@ #include #include #include +#include /// /// @brief Configure the attributes for each controller @@ -52,6 +53,8 @@ /// fapi2::ReturnCode p9a_mss_eff_config( const fapi2::Target& i_target ) { + mss::display_git_commit_info("p9a_mss_eff_config"); + // Workaround until DIMM level attrs work uint8_t l_ranks[mss::exp::MAX_DIMM_PER_PORT] = {}; diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C index 342523d5a..6646ba5c4 100644 --- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C +++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C @@ -47,6 +47,7 @@ #include #include #include +#include /// /// @brief Calculate and save off DIMM frequencies @@ -55,6 +56,8 @@ /// fapi2::ReturnCode p9a_mss_freq( const fapi2::Target& i_target ) { + mss::display_git_commit_info("p9a_mss_freq"); + // If there are no DIMM, we can just get out. if (mss::count_dimm(i_target) == 0) { diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C index a7b1d4b38..090f8f455 100644 --- a/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C +++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_mss_volt.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2018 */ +/* Contributors Listed Below - COPYRIGHT 2018,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -44,6 +44,7 @@ // mss lib #include #include +#include /// /// @brief Calculate and save off rail voltages @@ -52,6 +53,8 @@ /// fapi2::ReturnCode p9a_mss_volt( const std::vector< fapi2::Target >& i_targets ) { + mss::display_git_commit_info("p9a_mss_volt"); + for (const auto& l_port : i_targets) { FAPI_TRY( (mss::setup_voltage_rail_values(l_port)), diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C index 70202d95f..f26f85a87 100644 --- a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C +++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2018 */ +/* Contributors Listed Below - COPYRIGHT 2018,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -47,6 +47,7 @@ #include #include #include +#include /// @@ -56,6 +57,8 @@ /// fapi2::ReturnCode p9a_omi_train( const fapi2::Target& i_target) { + mss::display_git_commit_info("p9a_omi_train"); + FAPI_INF("%s Start p9a_omi_train", mss::c_str(i_target)); const auto l_mc = mss::find_target(i_target); diff --git a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C index 50119a44d..8a010bded 100644 --- a/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C +++ b/src/import/chips/p9a/procedures/hwp/memory/p9a_omi_train_check.C @@ -44,6 +44,7 @@ #include #include #include +#include /// /// @brief Check the omi status in Axone side @@ -52,6 +53,8 @@ /// fapi2::ReturnCode p9a_omi_train_check( const fapi2::Target& i_target) { + mss::display_git_commit_info("p9a_omi_train_check"); + FAPI_INF("%s Start p9a_omi_train_check", mss::c_str(i_target)); // Const -- cgit v1.2.1