commit | 9f351b055c48d5f2bfef9b90e1dbbaffe731a9b2 | [log] [tgz] |
---|---|---|
author | deepakala-k <deepakala.karthikeyan@ibm.com> | Wed Oct 05 09:03:57 2022 -0500 |
committer | deepakala-k <deepakala.karthikeyan@ibm.com> | Wed Oct 12 05:56:39 2022 -0500 |
tree | 8228cef5eea4c65a17822df1b195a2ac8981be19 | |
parent | a40a24cd55b7f9510b0f20bb56a5fbfe701d47ae [diff] |
phal: Create PEL for empty guard file Currently at the time of IPLing if the guard file is not present or found empty, the IPLing terminates with an exception. Added the new PEL "org.open_power.PHAL.Error.GuardPartitionAccess" to address the above issue and continue to boot Adding the IPL_ERR_GUARD_PARTITION_ACCESS enables us to generate the PEL and "User Data 1" provides more information regarding the PEL Tested: Point to dummy file instead of actual guard file Using the above error in the ipl callback, able to generate the below PEL { "0x50000E0C": { "SRC": "BD8D300B", "Message": "Guard partition access failure", "PLID": "0x50000E0C", "CreatorID": "BMC", "Subsystem": "BMC Firmware", "Commit Time": "10/06/2022 12:33:57", "Sev": "Predictive Error", "CompID": "0x3000" } } ... }, "Callout Section": { "Callout Count": "1", "Callouts": [{ "FRU Type": "Maintenance Procedure Required", "Priority": "Mandatory, replace all with this type as a unit", "Procedure": "BMC0001" }] } }, ... "LOG013 2022-10-06 12:33:57": "Guard file /var/lib/phosphor-software-manager/hostfw/running/NOFILE does not exist", "_PID": "4393" } Signed-off-by: deepakala <deepakala.karthikeyan@ibm.com> Change-Id: I07be6de35c9d5ce7b155e82fdcbc315a181d24c6
Contains procedures that interact with the OpenPower nest chipset.
To build this package, do the following steps: 1. meson builddir 2. ninja -C builddir To build with phal feature: 1. meson builddir -Dphal=enabled -Dopenfsi=enabled 2. ninja -C builddir To clean the repository run `ninja -C builddir/ clean`.