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 <[email protected]>
Tested-by: HWSV CI <[email protected]>
Tested-by: PPE CI <[email protected]>
Tested-by: Hostboot CI <[email protected]>
Tested-by: FSP CI Jenkins <[email protected]>
Reviewed-by: Gregory S. Still <[email protected]>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <[email protected]>
Reviewed-by: Jennifer A. Stofer <[email protected]>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69624
Tested-by: Jenkins OP Build CI <[email protected]>
Tested-by: Jenkins OP HW <[email protected]>
Reviewed-by: Christian R. Geddes <[email protected]>
  • Loading branch information
premsjha authored and crgeddes committed Jan 29, 2019
1 parent caec0f1 commit 164e4ec
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 164e4ec

Please sign in to comment.