summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2018-12-10 11:49:15 -0600
committerRAJA DAS <rajadas2@in.ibm.com>2019-01-28 03:44:04 -0600
commitb6b4eafa650c85b74fbffab8d0ea0de3a60febce (patch)
tree1a2e6432f4fe69abb611aa3b93f6cb1f4fc848e8 /src
parentbe0d09d34335516856cf8fd09c995b3d3584f63c (diff)
downloadtalos-sbe-b6b4eafa650c85b74fbffab8d0ea0de3a60febce.tar.gz
talos-sbe-b6b4eafa650c85b74fbffab8d0ea0de3a60febce.zip
SMF: Defined new attribute containing unsecure HOMER memory's size.
Commit defines a new attribute which is populated during build of HOMER. Once HOMER is built, hostboot reads the attribute and copies amount of memory specified from a temp buffer to an unsecure HOMER region. Change-Id: I184c27bfea7def4aaa7f55132b92a053105237b0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69616 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69623 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/pm_plat_attributes.xml17
1 files changed, 16 insertions, 1 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 fa8dde21..13dc10dd 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
@@ -2589,7 +2589,7 @@
<attribute>
<id>ATTR_UNSECURE_HOMER_ADDRESS</id>
<targetType>TARGET_TYPE_PROC_CHIP</targetType>
- <description>Address is allocated by hostboot and HBRT and is populated
+ <description>Address is allocated by hostboot and HBRT and is populated
by p9_hcode_image_build with sc2 instruction. It enables CME to invoke
a transition from HV to UV during STOP entry on an SMF enabled system.
Address value should be aligned with 2MB boundary.
@@ -2601,4 +2601,19 @@
<initToZero/>
</attribute>
<!-- ********************************************************************* -->
+ <attribute>
+ <id>ATTR_UNSECURE_HOMER_SIZE</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>Size of memory which hostboot must copy from a temp buffer to
+ an unsecure region of main store memory. Once HOMER is built, hostboot reads
+ the attribute and copies the amount of memory specified in this attribute from
+ a temp buffer to an unsecure region of main memory specifed in an attribute
+ ATTR_UNSECURE_HOMER_ADDRESS
+ Producer: Initialized by hostboot firmware based on platform support
+ Consumers: Read by p9_hcode_image_build.C
+ </description>
+ <writeable/>
+ <valueType>uint32</valueType>
+ <initToZero/>
+ </attribute>
</attributes>
OpenPOWER on IntegriCloud