diff options
author | Matt Spinler <spinler@us.ibm.com> | 2014-10-22 10:32:01 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-12-13 10:16:26 -0600 |
commit | 61c9acc8fd01eab34b942a284ac851bbd990d9f7 (patch) | |
tree | 92c86f3f8e1ad6b3b5f5cf016ae8d8cfb61c88e2 /src/usr/targeting | |
parent | 5cdd71606bc1577f9cfe87b326190b84b9137dee (diff) | |
download | talos-hostboot-61c9acc8fd01eab34b942a284ac851bbd990d9f7.tar.gz talos-hostboot-61c9acc8fd01eab34b942a284ac851bbd990d9f7.zip |
HTMGT code to build several of the OCC config message payloads.
Includes an interface to run the hardware procedures related to memory
throttling, which will write attributes needed for an OCC config message.
Change-Id: I302e5c2f0e354dd57d6f6f9c8ad81095277a3d8c
RTC: 114286
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14131
Reviewed-by: Christopher Cain <cjcain@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
4 files changed, 142 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml index d519a9253..c912b455e 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml @@ -622,6 +622,18 @@ </attribute> <attribute> + <id>PSTATE_TABLE</id> + <description>HTMGT PSTATE data</description> + <simpleType> + <uint8_t></uint8_t> + <array>1904</array> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> <id>OCC_CONTROL_DATA</id> <description>OCC operational data </description> @@ -633,6 +645,88 @@ <readable/> <writeable/> </attribute> + +<attribute> + <id>OT_MIN_N_PER_MBA</id> + <description> + Lowest per MBA numerator ever allowed when OCC is + throttling due to OT. + </description> + <simpleType> + <uint16_t> + <default>0</default> + </uint16_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> + <id>N_PLUS_ONE_N_PER_MBA</id> + <description> + Static per MBA numerator setting when not in + oversubscription. Calculated based on MRW memory + power with redundant power. Lowest per MBA numerator + ever allowed when OCC is throttling due to OT. + </description> + <simpleType> + <uint16_t> + <default>0</default> + </uint16_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> + <id>N_PLUS_ONE_N_PER_CHIP</id> + <description> + Static per chip numerator setting when not in oversubscription. + </description> + <simpleType> + <uint16_t> + <default>0</default> + </uint16_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> + <id>OVERSUB_N_PER_MBA</id> + <description> + Static per MBA numerator setting when in oversubscription. + Calculated based on MRW oversubscription memory power. + </description> + <simpleType> + <uint16_t> + <default>0</default> + </uint16_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> + <id>OVERSUB_N_PER_CHIP</id> + <description> + Static per chip numerator setting when in oversubscription. + </description> + <simpleType> + <uint16_t> + <default>0</default> + </uint16_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + + <!-- end HTMGT attributes --> <attribute> diff --git a/src/usr/targeting/common/xmltohb/simics_MURANO.system.xml b/src/usr/targeting/common/xmltohb/simics_MURANO.system.xml index d1f832c4a..c17e7dcb5 100644 --- a/src/usr/targeting/common/xmltohb/simics_MURANO.system.xml +++ b/src/usr/targeting/common/xmltohb/simics_MURANO.system.xml @@ -166,6 +166,22 @@ <default>5000</default> </attribute> <attribute> + <id>OPEN_POWER_REGULATOR_EFFICIENCY_FACTOR</id> + <default>85</default> + </attribute> + <attribute> + <id>OPEN_POWER_MIN_MEM_UTILIZATION_THROTTLING</id> + <default>5</default> + </attribute> + <attribute> + <id>OPEN_POWER_N_PLUS_ONE_MAX_MEM_POWER_WATTS</id> + <default>500</default> + </attribute> + <attribute> + <id>OPEN_POWER_N_MAX_MEM_POWER_WATTS</id> + <default>500</default> + </attribute> + <attribute> <id>PM_EXTERNAL_VRM_STEPSIZE</id> <default>0xc4</default> </attribute> diff --git a/src/usr/targeting/common/xmltohb/simics_VENICE.system.xml b/src/usr/targeting/common/xmltohb/simics_VENICE.system.xml index ab81014c2..9b81815fa 100644 --- a/src/usr/targeting/common/xmltohb/simics_VENICE.system.xml +++ b/src/usr/targeting/common/xmltohb/simics_VENICE.system.xml @@ -169,6 +169,22 @@ <id>MRW_THERMAL_MEMORY_POWER_LIMIT</id> <default>5000</default> </attribute> + <attribute> + <id>OPEN_POWER_REGULATOR_EFFICIENCY_FACTOR</id> + <default>85</default> + </attribute> + <attribute> + <id>OPEN_POWER_MIN_MEM_UTILIZATION_THROTTLING</id> + <default>5</default> + </attribute> + <attribute> + <id>OPEN_POWER_N_PLUS_ONE_MAX_MEM_POWER_WATTS</id> + <default>500</default> + </attribute> + <attribute> + <id>OPEN_POWER_N_MAX_MEM_POWER_WATTS</id> + <default>500</default> + </attribute> <attribute> <id>PM_EXTERNAL_VRM_STEPSIZE</id> <default>0xc4</default> diff --git a/src/usr/targeting/common/xmltohb/target_types_hb.xml b/src/usr/targeting/common/xmltohb/target_types_hb.xml index dbbf1a167..cdab85f84 100644 --- a/src/usr/targeting/common/xmltohb/target_types_hb.xml +++ b/src/usr/targeting/common/xmltohb/target_types_hb.xml @@ -153,4 +153,20 @@ <attribute><id>VPD_SWITCHES</id></attribute> </targetTypeExtension> +<targetTypeExtension> + <id>occ</id> + <attribute> + <id>PSTATE_TABLE</id> + </attribute> +</targetTypeExtension> + +<targetTypeExtension> + <id>unit-mba-power8</id> + <attribute><id>OT_MIN_N_PER_MBA</id></attribute> + <attribute><id>N_PLUS_ONE_N_PER_MBA</id></attribute> + <attribute><id>N_PLUS_ONE_N_PER_CHIP</id></attribute> + <attribute><id>OVERSUB_N_PER_MBA</id></attribute> + <attribute><id>OVERSUB_N_PER_CHIP</id></attribute> +</targetTypeExtension> + </attributes> |