diff options
author | Mike Baiocchi <mbaiocch@us.ibm.com> | 2019-09-12 09:00:52 -0500 |
---|---|---|
committer | Nicholas E Bofferding <bofferdn@us.ibm.com> | 2019-11-14 08:28:02 -0600 |
commit | 35964668f9dc302401ff03c691e579a4c48eecea (patch) | |
tree | 2d1f1274e4b9b55826421fc23f3f19d43c33747d /src/usr/targeting/common | |
parent | eace166aa1ef265712798d84f10782f7bc430be7 (diff) | |
download | talos-hostboot-35964668f9dc302401ff03c691e579a4c48eecea.tar.gz talos-hostboot-35964668f9dc302401ff03c691e579a4c48eecea.zip |
Add Physical Presence Check and Window Open Features
This commit does the following:
- Adds an interface to detect if physical presence has been asserted
-- This happens in istep 6
-- If the window is open to detect this, it is then closed here
- Adds an interface to possibly open the window to look for physical presence
-- This happens in istep 10
-- It first checks to see if the window should be opened
-- If the window is opened then the system shuts down to wait for
physical presence to be asserted on the next power on
- Adds the necessary attributes to support and test this functionality
RTC:211220
Change-Id: I05a26ebad581875a4b9f2a51eb1ca3062f36c5fb
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84656
Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com>
Reviewed-by: Christopher J Engel <cjengel@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rwxr-xr-x | src/usr/targeting/common/xmltohb/attribute_types_hb.xml | 50 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/target_types_hb.xml | 9 |
2 files changed, 59 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml index 8be123d99..5978de341 100755 --- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml @@ -1250,6 +1250,56 @@ </attribute> <attribute> + <description>Designates if the Physical Presence Window was Asserted: + 0 - Physiscal Presence was NOT Asserted + 1 - Physical Presence was Asserted + </description> + <id>PHYS_PRES_ASSERTED</id> + <simpleType> + <uint8_t> + <default>0x0</default> + </uint8_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> + </attribute> + + <attribute> + <description>Designates if the assertion of Physical Presence should + be faked: + 0 - Do NOT Fake Physical Presence + 1 - Fake Physical Presence + </description> + <id>PHYS_PRES_FAKE_ASSERT</id> + <simpleType> + <uint8_t> + <default>0x0</default> + </uint8_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> + </attribute> + + <attribute> + <description>Designates if there is a request to open the Physical Presence + Window: + 0 - No Request to Open Window (ie, do NOT open window) + 1 - Request to Open Window + </description> + <id>PHYS_PRES_REQUEST_OPEN_WINDOW</id> + <simpleType> + <uint8_t> + <default>0x0</default> + </uint8_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> + </attribute> + + <attribute> <id>SBE_COMM_ADDR</id> <description> Virtual address where SBE Communications are placed in mainstore. diff --git a/src/usr/targeting/common/xmltohb/target_types_hb.xml b/src/usr/targeting/common/xmltohb/target_types_hb.xml index 080fbecae..8cb8bae1c 100644 --- a/src/usr/targeting/common/xmltohb/target_types_hb.xml +++ b/src/usr/targeting/common/xmltohb/target_types_hb.xml @@ -360,6 +360,15 @@ <attribute> <id>PDA_THREAD_REG_STATE_ENTRY_FORMAT</id> </attribute> + <attribute> + <id>PHYS_PRES_ASSERTED</id> + </attribute> + <attribute> + <id>PHYS_PRES_FAKE_ASSERT</id> + </attribute> + <attribute> + <id>PHYS_PRES_REQUEST_OPEN_WINDOW</id> + </attribute> </targetTypeExtension> <targetTypeExtension> |