Skip to content

Commit

Permalink
SMF: Defined new attribute containing unsecure HOMER memory's size.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
premsjha authored and RAJA DAS committed Jan 28, 2019
1 parent be0d09d commit b6b4eaf
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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>

0 comments on commit b6b4eaf

Please sign in to comment.