summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2018-12-11 05:37:48 -0600
committerRAJA DAS <rajadas2@in.ibm.com>2019-02-11 22:03:38 -0600
commit47f5faba380312fe6d87ad4acca436686afdb244 (patch)
treeb55cf6a6d8bc8fcef9a979d3cb637d03f1bc76f2
parentc508f8e9d96e8994616b882f82f118b8085f2845 (diff)
downloadtalos-sbe-47f5faba380312fe6d87ad4acca436686afdb244.tar.gz
talos-sbe-47f5faba380312fe6d87ad4acca436686afdb244.zip
SMF: Populates unsecure HOMER with SC2 instruction.
On an SMF enabled system, if HV engages self save, core must must transition from HV to UV privilege to accomplish this. So, before attempting self save, core must execute SC2 instruction with HV privilege inorder to be a UV. Commit is a partial implementaiton of this solution. It populates a buffer with SC2 instruction which hostboot will copy to an unsecure memory. - Updated attribute tags for MRW Hiding - Removed writing of ATTR_UNSECURE_HOMER_SIZE in deference to attribute default checking Key_Cronus_Test=PM_REGRESS Change-Id: Idb5e219e2a5f9b2274602aedc420f390f34f2609 RTC: 202400 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69655 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69661 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
-rw-r--r--src/import/chips/p9/procedures/xml/attribute_info/pm_plat_attributes.xml7
1 files changed, 4 insertions, 3 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 13dc10dd..e35db500 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
@@ -2604,7 +2604,7 @@
<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
+ <description>Size of memory in bytes 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
@@ -2612,8 +2612,9 @@
Producer: Initialized by hostboot firmware based on platform support
Consumers: Read by p9_hcode_image_build.C
</description>
- <writeable/>
+ <platInit/>
<valueType>uint32</valueType>
- <initToZero/>
+ <mrwHide/>
+ <default>1024</default>
</attribute>
</attributes>
OpenPOWER on IntegriCloud