Skip to content

Commit

Permalink
Started implementation of bulk_pwr_throttles
Browse files Browse the repository at this point in the history
    Added calc_power and calc_databus functions for throttling
    Added testing for those calc functions
    Added a set_power_attrs which decodes power curve attributes

Change-Id: I2f08f846f6b19b0200b1c1df4a095cabfa9ee840
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31163
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69786
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
JacobHarvey authored and sgupta2m committed Dec 18, 2018
1 parent e61c662 commit 3e99f56
Showing 1 changed file with 2 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1127,18 +1127,6 @@
<mssAccessorName>eff_ibm_type</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_EFF_NUM_DROPS_PER_PORT</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>Specifies the number of DIMM dimensions that are valid per port. </description>
<initToZero></initToZero>
<valueType>uint8</valueType>
<enum>EMPTY = 0, SINGLE = 1, DUAL = 2</enum>
<writeable/>
<array>2</array>
<mssAccessorName>eff_num_drops_per_port</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_EFF_NUM_MASTER_RANKS_PER_DIMM</id>
<targetType>TARGET_TYPE_MCS</targetType>
Expand Down Expand Up @@ -1255,7 +1243,7 @@
consumer: mss_bulk_pwr_throttles
</description>
<initToZero></initToZero>
<valueType>uint32</valueType>
<valueType>uint16</valueType>
<writeable/>
<array> 2 2</array>
<mssAccessorName>total_pwr_slope</mssAccessorName>
Expand All @@ -1270,56 +1258,12 @@
consumer: mss_bulk_pwr_throttles
</description>
<initToZero></initToZero>
<valueType>uint32</valueType>
<valueType>uint16</valueType>
<writeable/>
<array> 2 2</array>
<mssAccessorName>total_pwr_intercept</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_MSS_MASTER_PWR_SLOPE</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>Master Power slope value for dimm</description>
<initToZero></initToZero>
<valueType>uint32</valueType>
<writeable/>
<array> 2 2</array>
<mssAccessorName>master_pwr_slope</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_MSS_SUPPLIER_PWR_SLOPE</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>Supplier Power slope value for dimm</description>
<initToZero></initToZero>
<valueType>uint32</valueType>
<writeable/>
<array> 2 2</array>
<mssAccessorName>supplier_pwr_slope</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_MSS_MASTER_PWR_INTERCEPT</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>Master Power intercept value for dimm</description>
<initToZero></initToZero>
<valueType>uint32</valueType>
<writeable/>
<array> 2 2</array>
<mssAccessorName>master_pwr_intercept</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_MSS_SUPPLIER_PWR_INTERCEPT</id>
<targetType>TARGET_TYPE_MCS</targetType>
<description>Supplier Power intercept value for dimm</description>
<initToZero></initToZero>
<valueType>uint32</valueType>
<writeable/>
<array> 2 2</array>
<mssAccessorName>supplier_pwr_intercept</mssAccessorName>
</attribute>

<attribute>
<id>ATTR_MSS_DIMM_MAXBANDWIDTH_GBS</id>
<targetType>TARGET_TYPE_MCS</targetType>
Expand Down

0 comments on commit 3e99f56

Please sign in to comment.