Skip to content

Commit

Permalink
Update attr_engine to handle more cases
Browse files Browse the repository at this point in the history
Change-Id: I9424bf4b337399c29f16c3fac9a9638c6b3eea21
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/91701
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Dev-Ready: ANDRE A MARIN <aamarin@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com>
Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/93014
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com>
  • Loading branch information
aamarin authored and crgeddes committed Mar 27, 2020
1 parent d179744 commit 81fe481
Show file tree
Hide file tree
Showing 7 changed files with 160 additions and 31 deletions.

Large diffs are not rendered by default.

Expand Up @@ -72,7 +72,6 @@ struct setTimingTraits< exp::attr_eff_engine_fields, exp::attr_eff_engine_fields
// Traits for explorer specific attr_eff_engine_fields
////////////////////////////////////////////////////////


///
/// @brief Traits for attr_engine
/// @class attrEngineTraits
Expand All @@ -94,6 +93,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EXP_DRAM_ADDRESS_MIRRORING_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EXP_DRAM_ADDRESS_MIRRORING_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_EXP_DRAM_ADDRESS_MIRRORING;

Expand Down Expand Up @@ -145,6 +145,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_BYTE_ENABLES_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_BYTE_ENABLES_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_BYTE_ENABLES;

Expand Down Expand Up @@ -196,6 +197,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_NIBBLE_ENABLES_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_NIBBLE_ENABLES_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_NIBBLE_ENABLES;

Expand Down Expand Up @@ -247,6 +249,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EXP_SPD_TAA_MIN_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EXP_SPD_TAA_MIN_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_TAA_MIN;

Expand Down Expand Up @@ -283,7 +286,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
static fapi2::ReturnCode get_value_to_set(const spd::facade& i_spd_data,
attr_integral_type& o_setting)
{
return mss::calc_spd_time_in_ps<exp::attr_eff_engine_fields, exp::attr_eff_engine_fields::SPD_TAA_MIN>(i_spd_data,
return mss::calc_spd_time_in_ps<exp::attr_eff_engine_fields, exp::attr_eff_engine_fields::SPD_TAA_MIN>(i_spd_data,
o_setting);
}
};
Expand All @@ -294,11 +297,12 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
/// @tparam P processor type
/// @note attr_eff_engine_fields, FOUR_RANK_MODE specialization
///
template< proc_type P >
template <proc_type P>
struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fields::FOUR_RANK_MODE>
{
using attr_type = fapi2::ATTR_MEM_EFF_FOUR_RANK_MODE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_FOUR_RANK_MODE_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_FOUR_RANK_MODE;

Expand Down Expand Up @@ -357,6 +361,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_DDP_COMPATIBILITY_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_DDP_COMPATIBILITY_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_DDP_COMPATIBILITY;

Expand Down Expand Up @@ -415,6 +420,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_TSV_8H_SUPPORT_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_TSV_8H_SUPPORT_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_TSV_8H_SUPPORT;

Expand Down Expand Up @@ -466,6 +472,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_PSTATES_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_PSTATES_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_PSTATES;

Expand Down Expand Up @@ -517,6 +524,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_MRAM_SUPPORT_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_MRAM_SUPPORT_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_MRAM_SUPPORT;

Expand Down Expand Up @@ -575,6 +583,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EXP_SPD_CL_SUPPORTED_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EXP_SPD_CL_SUPPORTED_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_SPD_CL_SUPPORTED;

Expand Down Expand Up @@ -684,6 +693,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_MODULE_THERMAL_SENSORS_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_MODULE_THERMAL_SENSORS_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_MODULE_THERMAL_SENSORS;

Expand Down Expand Up @@ -735,6 +745,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_AVAIL_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_AVAIL_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_0_AVAIL;

Expand Down Expand Up @@ -787,6 +798,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_TYPE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_TYPE_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_0_TYPE;

Expand Down Expand Up @@ -838,6 +850,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_USAGE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_USAGE_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_0_USAGE;

Expand Down Expand Up @@ -889,6 +902,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_I2C_ADDR_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_0_I2C_ADDR_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_0_I2C_ADDR;

Expand Down Expand Up @@ -940,6 +954,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_AVAIL_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_AVAIL_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_1_AVAIL;

Expand Down Expand Up @@ -992,6 +1007,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_TYPE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_TYPE_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_1_TYPE;

Expand Down Expand Up @@ -1043,6 +1059,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_USAGE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_USAGE_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_1_USAGE;

Expand Down Expand Up @@ -1094,6 +1111,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_I2C_ADDR_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_1_I2C_ADDR_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_1_I2C_ADDR;

Expand Down Expand Up @@ -1145,6 +1163,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_AVAIL_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_AVAIL_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_DIFF_AVAIL;

Expand Down Expand Up @@ -1197,6 +1216,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_TYPE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_TYPE_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_DIFF_TYPE;

Expand Down Expand Up @@ -1248,6 +1268,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_USAGE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_USAGE_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_DIFF_USAGE;

Expand Down Expand Up @@ -1299,6 +1320,7 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
{
using attr_type = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_I2C_ADDR_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_THERM_SENSOR_DIFF_I2C_ADDR_TargetType;
static constexpr exp::ffdc_codes FFDC_CODE = exp::SET_THERM_SENSOR_DIFF_I2C_ADDR;

Expand Down Expand Up @@ -1349,11 +1371,12 @@ struct attrEngineTraits<P, exp::attr_eff_engine_fields, exp::attr_eff_engine_fie
/// @tparam P processor type
/// @note AXONE, DIMM_TYPE_METADATA specialization
///
template< proc_type P >
template <proc_type P>
struct attrEngineTraits<P, generic_metadata_fields, generic_metadata_fields::DIMM_TYPE_METADATA>
{
using attr_type = fapi2::ATTR_MEM_DIMM_TYPE_METADATA_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_DIMM_TYPE_METADATA_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DIMM_TYPE_METADATA;

Expand Down Expand Up @@ -1439,6 +1462,7 @@ struct attrEngineTraits<P, generic_metadata_fields, generic_metadata_fields::DRA
{
using attr_type = fapi2::ATTR_MEM_DRAM_GEN_METADATA_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_DRAM_GEN_METADATA_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DRAM_GEN_METADATA;

Expand Down Expand Up @@ -1490,6 +1514,7 @@ struct attrEngineTraits<P, generic_metadata_fields, generic_metadata_fields::DIM
{
using attr_type = fapi2::ATTR_MEM_DIMM_POS_METADATA_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_DIMM_POS_METADATA_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DIMM_POS_METADATA;

Expand Down Expand Up @@ -1531,6 +1556,6 @@ struct attrEngineTraits<P, generic_metadata_fields, generic_metadata_fields::DIM
}
};

}//mss
} // namespace mss

#endif
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* Contributors Listed Below - COPYRIGHT 2018,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -296,6 +296,7 @@ struct attrEngineTraits<proc_type::NIMBUS, generic_metadata_fields, generic_meta
{
using attr_type = fapi2::ATTR_MEM_DIMM_TYPE_METADATA_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_DIMM_TYPE_METADATA_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DIMM_TYPE_METADATA;

Expand Down Expand Up @@ -377,6 +378,7 @@ struct attrEngineTraits<proc_type::NIMBUS, generic_metadata_fields, generic_meta
{
using attr_type = fapi2::ATTR_MEM_DRAM_GEN_METADATA_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_DRAM_GEN_METADATA_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DRAM_GEN_METADATA;

Expand Down Expand Up @@ -427,6 +429,7 @@ struct attrEngineTraits<proc_type::NIMBUS, generic_metadata_fields, generic_meta
{
using attr_type = fapi2::ATTR_MEM_DIMM_POS_METADATA_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_DIMM_POS_METADATA_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DIMM_POS_METADATA;

Expand Down
Expand Up @@ -55,6 +55,7 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi
{
using attr_type = fapi2::ATTR_MEM_EFF_DIMM_TYPE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_DIMM_TYPE_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DIMM_TYPE;

Expand Down Expand Up @@ -128,6 +129,7 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi
{
using attr_type = fapi2::ATTR_MEM_EFF_DRAM_GEN_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_DRAM_GEN_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DRAM_GEN;

Expand Down Expand Up @@ -199,6 +201,7 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi
{
using attr_type = fapi2::ATTR_MEM_EFF_HOST_TO_DDR_SPEED_RATIO_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_HOST_TO_DDR_SPEED_RATIO_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_HOST_TO_DDR_SPEED_RATIO;

Expand Down Expand Up @@ -277,6 +280,7 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi
{
using attr_type = fapi2::ATTR_MEM_EFF_HYBRID_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_HYBRID_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_HYBRID;

Expand Down Expand Up @@ -349,6 +353,7 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi
{
using attr_type = fapi2::ATTR_MEM_EFF_HYBRID_MEMORY_TYPE_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_HYBRID_MEMORY_TYPE_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_HYBRID_MEDIA;

Expand Down Expand Up @@ -421,6 +426,7 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi
{
using attr_type = fapi2::ATTR_MEM_EFF_NUM_MASTER_RANKS_PER_DIMM_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static constexpr fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_NUM_MASTER_RANKS_PER_DIMM_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_MRANKS;

Expand Down Expand Up @@ -494,6 +500,7 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi

using attr_type = fapi2::ATTR_MEM_EFF_DIMM_RANKS_CONFIGED_Type;
using attr_integral_type = std::remove_all_extents<attr_type>::type;
using attr_type_to_set = attr_integral_type;
static const fapi2::TargetType TARGET_TYPE = fapi2::ATTR_MEM_EFF_DIMM_RANKS_CONFIGED_TargetType;
static constexpr generic_ffdc_codes FFDC_CODE = SET_DIMM_RANKS_CNFG;

Expand Down Expand Up @@ -550,6 +557,6 @@ struct attrEngineTraits<proc_type::AXONE, pre_data_init_fields, pre_data_init_fi
}
};

}//mss
} // namespace mss

#endif

0 comments on commit 81fe481

Please sign in to comment.