#
0dea1992 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If9a7314dade153dd7dbd149a76352aca8257839d
show more ...
|
#
f9a72a7a |
| 20-May-2022 |
Adriana Kobylak <anoo@us.ibm.com> |
mmc: Set clear NVRAM bios attribute during factory reset
During factory reset, instead of calling the PLDM services to delete the PHYP NVRAM files, set the pvm_clear_nvram bios attribute to Enabled
mmc: Set clear NVRAM bios attribute during factory reset
During factory reset, instead of calling the PLDM services to delete the PHYP NVRAM files, set the pvm_clear_nvram bios attribute to Enabled to signal the hypervisor to clear NVRAM when it starts up.
Add the nvram hostfw directory to the list of directories to preserve during a factory reset because the NVRAM files would now be cleared by the hypervisor after reading the bios attribute.
Tested: Verified the pvm_clar_nvram bios attribute was set to Enabled as part of factory reset. Verified a journal error message was logged if the attribute did not exist and the rest of the factory reset actions were executed.
Change-Id: Ia3c0f707e8fb8208b5e2bc1edb9a8aef3bb36a89 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
267c413f |
| 25-Feb-2022 |
Adriana Kobylak <anoo@us.ibm.com> |
mmc: reset: Delete all BMC error logs
During a bios factory reset, the partition where hostboot stores their error logs is cleared. Need to clear the BMC error logs too to avoid discrepancies.
Test
mmc: reset: Delete all BMC error logs
During a bios factory reset, the partition where hostboot stores their error logs is cleared. Need to clear the BMC error logs too to avoid discrepancies.
Tested: Verified the /var/lib/phosphor-logging/extensions/pels/logs/ directory was cleared after a bios factory reset except for the 'archive' subdirectory.
Change-Id: I273d7953fda053823cea93dc57b751de74ddef43 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
56a46771 |
| 25-Feb-2022 |
Adriana Kobylak <anoo@us.ibm.com> |
mmc: reset: Clear the HMC-managed bios attr
Set the pvm_hmc_managed bios attribute to Disabled during a factory reset to clear the indicator that says the system is HMC managed since a factory reset
mmc: reset: Clear the HMC-managed bios attr
Set the pvm_hmc_managed bios attribute to Disabled during a factory reset to clear the indicator that says the system is HMC managed since a factory reset is expected to remove the HMC information. The reset function is already deleting the HMC save area directory created by bmcweb.
Tested: Set the pvm_hmc_managed attribute to Enabled, then verified that after a bios factory reset it's set to Disabled.
Change-Id: I2cbe9baaebb4a11b612f0940ff2a994a8474d3d6 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
7b5685d1 |
| 02-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
exception: switch to public sdbus exception
SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type.
Signed-off-
exception: switch to public sdbus exception
SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If9ecc60e370b7ab62e58dc1c3bfdd4051ee9c435
show more ...
|
#
e4994464 |
| 14-Mar-2019 |
Lei YU <mine260309@gmail.com> |
Refactor: Use hiomapd instead of mboxd
mbox service is renamed to hiomapd and provides "Suspend" and "Resume" method calls, which is more appropriate for raw "cmd" calls.
Use the new methods to sus
Refactor: Use hiomapd instead of mboxd
mbox service is renamed to hiomapd and provides "Suspend" and "Resume" method calls, which is more appropriate for raw "cmd" calls.
Use the new methods to suspend and resume hiomapd. Move "getService()" function into utils so it is shared by multiple files.
Tested: Verify the reset works on Romulus
Change-Id: I8f89de134b13126697bfc69a21a3148a01c34cca Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
#
70ca2422 |
| 06-Sep-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
image_verify: Add support for OpenSSL 1.1.0
With OpenSSL 1.1.0, some of the functions were renamed, for example EVP_MD_CTX_create() and EVP_MD_CTX_destroy() were renamed to EVP_MD_CTX_new() and EVP_
image_verify: Add support for OpenSSL 1.1.0
With OpenSSL 1.1.0, some of the functions were renamed, for example EVP_MD_CTX_create() and EVP_MD_CTX_destroy() were renamed to EVP_MD_CTX_new() and EVP_MD_CTX_free(). Reference: https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes Abstract them to support old and new APIs.
Resolves openbmc/openbmc#3137
Tested: Verified the signature verification was successful.
Change-Id: If8b3f185666c3db59567c4ee3bdfa168c501d3da Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|