summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-04-15 09:46:34 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-04-27 10:16:27 -0400
commit9c0009a21f815a05a5ce052243e25462682cd25c (patch)
treeb20dd465836e58a09b7777b11ebaa1499f2c6c3b
parentfe4b8365d29937d01302bd3fb79b3a6d9284eb13 (diff)
downloadtalos-hostboot-9c0009a21f815a05a5ce052243e25462682cd25c.tar.gz
talos-hostboot-9c0009a21f815a05a5ce052243e25462682cd25c.zip
Get PoundV Bucket function and associated attributes
Uses the MVPD accessor method provided by FAPI2 interface to retrieve the right #V bucket data from the appropriate LRP record. RTC:127421 Change-Id: I8336b015d2b412c42a9a0e959c06cac011290525 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23290 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23293 Tested-by: FSP CI Jenkins
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/pm_plat_attributes.xml43
-rw-r--r--src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml3
2 files changed, 46 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/xml/attribute_info/pm_plat_attributes.xml b/src/import/chips/p9/procedures/xml/attribute_info/pm_plat_attributes.xml
index 0d94a0791..d7d7f84df 100644
--- a/src/import/chips/p9/procedures/xml/attribute_info/pm_plat_attributes.xml
+++ b/src/import/chips/p9/procedures/xml/attribute_info/pm_plat_attributes.xml
@@ -896,4 +896,47 @@
<platInit/>
</attribute>
<!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_POUNDV_BUCKET_NUM_OVERRIDE</id>
+ <targetType>TARGET_TYPE_EQ</targetType>
+ <description>
+ 1 if override of poundv bucket num is available.
+ 0 if override is unavailable.
+ </description>
+ <valueType>uint8</valueType>
+ <platInit/>
+ </attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_POUNDV_BUCKET_NUM</id>
+ <targetType>TARGET_TYPE_EQ</targetType>
+ <description>
+ Attribute in place to allow override of which POUNDV
+ bucket to use to set power management data.
+ 1 = Bucket A
+ 2 = Bucket B
+ 3 = Bucket C
+ 4 = Bucket D
+ 5 = Bucket E
+ 6 = Bucket F
+ </description>
+ <valueType>uint8</valueType>
+ <platInit/>
+</attribute>
+ <!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_POUNDV_BUCKET_DATA</id>
+ <targetType>TARGET_TYPE_EQ</targetType>
+ <description>
+ Power Management data for Quad targets. Stored as an array of bytes.
+ The data is read directly from VPD and stored in this attribute without
+ being altered.
+ NOTE: you may need to handle correcting endianness
+ if you are using this attribute.
+ </description>
+ <valueType>uint8</valueType>
+ <array>51</array>
+ <writeable/>
+ <platInit/>
+ </attribute>
</attributes>
diff --git a/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml b/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml
index 9bee6f910..60ae029f3 100644
--- a/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml
+++ b/src/import/hwpf/fapi2/xml/attribute_info/hb_temp_defaults.xml
@@ -69,6 +69,9 @@
<attribute>
<id>ATTR_VCS_AVSBUS_RAIL</id>
</attribute>
+ <attribute>
+ <id>ATTR_POUNDV_BUCKET_DATA</id>
+ </attribute>
<!-- =====================================================================
End of temporary definitions
================================================================= -->
OpenPOWER on IntegriCloud