History log of /openbmc/openpower-pnor-code-mgmt/ (Results 51 – 75 of 330)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8652eb9b20-May-2022 Adriana Kobylak <anoo@us.ibm.com>

mmc: Add nvram hostfw directory

Created an nvram directory to store the hypervisor's NVRAM files.
Create a symlink to that directory for apps like PLDM to access it.
Add a dependency to the symlink

mmc: Add nvram hostfw directory

Created an nvram directory to store the hypervisor's NVRAM files.
Create a symlink to that directory for apps like PLDM to access it.
Add a dependency to the symlink service to start before the PLDM
services that would make use of the new NVRAM directory start.

Tested: Verified the directory and symlink got created. Verified the
PLDM services started after the symlink one.

Change-Id: I8cdef7cc2176ed10096712918a743efd304df6c1
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

095b1a0223-May-2022 Adriana Kobylak <anoo@us.ibm.com>

Fix shellcheck errors

Change-Id: I71f8e41f73ce998fe351bdabbdc291f1aa006dcf
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

6b56bd4b20-Apr-2022 Ramesh Iyyar <rameshi1@in.ibm.com>

mmc: Add HardwareIsolation service to restart if factory resets

- The HardwareIsolation (daemon) service is dependent on the host partition
to share the host isolated hardware entries through the

mmc: Add HardwareIsolation service to restart if factory resets

- The HardwareIsolation (daemon) service is dependent on the host partition
to share the host isolated hardware entries through the external
interface (for example Redfish).

- But, If we attempted to do the factory reset then, the host partition
gets deleted and recreated back so due to this the HardwareIsolation
daemon is unable to handle the host partition.

- Fixed the above mentioned issue by restarting the HardwareIsolation daemon.

- Note, start unit won't help if the service is already running like a daemon
so, we need to use restart method for the HardwareIsolation so modified
the code to use a method based on the services that's need to consider
in the host factory reset.

Tested:

- Verified by the host factory reset.

```
Apr 20 11:59:33 bmc_system phosphor-log-manager[339]: Deleting all log entries
Apr 20 11:59:33 bmc_system systemd[1]: Starting Setup Host FW directories...
Apr 20 11:59:33 bmc_system systemd[1]: Starting Create patch directory for Host FW...
Apr 20 11:59:33 bmc_system systemd[1]: Stopping OpenPOWER Host HardwareIsolation...
Apr 20 11:59:33 bmc_system systemd[1]: Starting Reset PHYP-NVRAM-CKSUM file...
Apr 20 11:59:33 bmc_system systemd[1]: Starting Reset PHYP-NVRAM file...
Apr 20 11:59:33 bmc_system systemd[1]: org.open_power.HardwareIsolation.service: Deactivated successfully.
Apr 20 11:59:33 bmc_system systemd[1]: Stopped OpenPOWER Host HardwareIsolation.
Apr 20 11:59:33 bmc_system systemd[1]: pldm-reset-phyp-nvram-cksum.service: Deactivated successfully.
Apr 20 11:59:33 bmc_system systemd[1]: Finished Reset PHYP-NVRAM-CKSUM file.
Apr 20 11:59:33 bmc_system systemd[1]: Starting Create empty PHYP-NVRAM-CKSUM file...
Apr 20 11:59:33 bmc_system dd[9688]: 1+0 records in
Apr 20 11:59:33 bmc_system dd[9688]: 1+0 records out
Apr 20 11:59:33 bmc_system systemd[1]: pldm-create-phyp-nvram-cksum.service: Deactivated successfully.
Apr 20 11:59:33 bmc_system systemd[1]: Finished Create empty PHYP-NVRAM-CKSUM file.
Apr 20 11:59:33 bmc_system systemd[1]: obmc-flash-bios-patch.service: Deactivated successfully.
Apr 20 11:59:33 bmc_system systemd[1]: Finished Create patch directory for Host FW.
Apr 20 11:59:33 bmc_system systemd[1]: pldm-reset-phyp-nvram.service: Deactivated successfully.
Apr 20 11:59:33 bmc_system systemd[1]: Finished Reset PHYP-NVRAM file.
Apr 20 11:59:34 bmc_system systemd[1]: Starting Create empty PHYP-NVRAM file...
Apr 20 11:59:39 bmc_system systemd[1]: obmc-flash-bios-init.service: Deactivated successfully.
Apr 20 11:59:39 bmc_system systemd[1]: Finished Setup Host FW directories.
Apr 20 11:59:39 bmc_system systemd[1]: Starting Set POWER host firmware well-known names...
Apr 20 11:59:39 bmc_system dd[9692]: 145408+0 records in
Apr 20 11:59:39 bmc_system dd[9692]: 145408+0 records out
Apr 20 11:59:39 bmc_system systemd[1]: pldm-create-phyp-nvram.service: Deactivated successfully.
Apr 20 11:59:39 bmc_system systemd[1]: Finished Create empty PHYP-NVRAM file.
Apr 20 11:59:41 bmc_system systemd[1]: openpower-process-host-firmware.service: Deactivated successfully.
Apr 20 11:59:41 bmc_system systemd[1]: Finished Set POWER host firmware well-known names.
Apr 20 11:59:41 bmc_system systemd[1]: Starting Update BIOS attr table with host firmware well-known names...
Apr 20 11:59:41 bmc_system systemd[1]: openpower-update-bios-attr-table.service: Deactivated successfully.
Apr 20 11:59:41 bmc_system systemd[1]: Finished Update BIOS attr table with host firmware well-known names.
Apr 20 11:59:41 bmc_system systemd[1]: Starting OpenPOWER Host HardwareIsolation...
Apr 20 11:59:41 bmc_system systemd[1]: Started OpenPOWER Host HardwareIsolation.
```

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I37ae2862d105ff3901e408df15f58d7653e95ad3

show more ...

9c887d1405-Apr-2022 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: object: don't use 'bool' argument constructor

`sdbusplus::server::object_t` has long had an enum-based parameter for
signal action, but maintained a backwards compatible boolean mapping.

sdbusplus: object: don't use 'bool' argument constructor

`sdbusplus::server::object_t` has long had an enum-based parameter for
signal action, but maintained a backwards compatible boolean mapping.
It is time to remove this boolean to make it more observable which
actions are being used in applications. Map all `true` occurrences to
`action::defer_emit` or `action::emit_interface_added`.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id3689b24f8719bafa9e5a67960848edff4ddf8c5

show more ...

2b78eb0e06-Apr-2022 Adriana Kobylak <anoo@us.ibm.com>

functions: Remove GetObject to check if PLDM is running

In order to check if PLDM is running, the code was subscribing to Name
Owner change and calling GetObject to see if PLDM was running, but PLDM

functions: Remove GetObject to check if PLDM is running

In order to check if PLDM is running, the code was subscribing to Name
Owner change and calling GetObject to see if PLDM was running, but PLDM
starts and does not immediately create its Object Manager, therefore
there is a time window when if PLDM starts but hasn't created its Object
Manager, and the openpower service starts, it'll hang forever waiting
for the Name Owner change signal that will not be sent because PLDM
already started.

Instead of calling GetObject, just attempt to run the callback, in this
case setting the bios attribute, and forward the exception if it fails
(due to PLDM not running and the property not existing in D-Bus yet),
so that the openpower service continues to wait. Change the log severity
to informational since setting the bios attribute will fail if PLDM has
not started yet.

Tested: Stopped the PLDM and Entity Manager services and started these
services and the openpower service in various different orders to verify
the openpower service ran when both PLDM and EM had started.

Change-Id: Idd2f344beda8dfcf2b987b3cab6f8967c63cab4c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

267c413f25-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 ...

56a4677125-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 ...

5e0b237508-Dec-2021 Adriana Kobylak <anoo@us.ibm.com>

openssl: stop using deprecated SHA512_* functions

The openssl/sha.h header is deprecated for OpenSSL 3 along with all the
functions in it. Switch to use the EVP_MD interfaces.

Tested: CI passes.

openssl: stop using deprecated SHA512_* functions

The openssl/sha.h header is deprecated for OpenSSL 3 along with all the
functions in it. Switch to use the EVP_MD interfaces.

Tested: CI passes.

Change-Id: Icd7a83683e7b9778343b8e14bfcdeb31b9d5144a
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

3ce1a4cb08-Dec-2021 Adriana Kobylak <anoo@us.ibm.com>

openssl: stop using deprecated read_RSAPublicKey

Starting with openssl 3, the PEM_read_bio_RSAPublicKey function is
deprecated. There is an existing API, PEM_read_PUBKEY which gives a
nicer EVP_PKE

openssl: stop using deprecated read_RSAPublicKey

Starting with openssl 3, the PEM_read_bio_RSAPublicKey function is
deprecated. There is an existing API, PEM_read_PUBKEY which gives a
nicer EVP_PKEY object instead. Switch to use this.

Tested: Unit tests pass, which call 'verify' and use this code path.

Change-Id: Id3d5cf5f200ae1fcb66329c848f6c3567f7ef3d7
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

9cbc06b109-Nov-2021 Adriana Kobylak <anoo@us.ibm.com>

functions: Add runtime entries to bios attr string

Enhance the parsing of the JSON file to add runtime entries to the bios
attribute string. Currently, if the JSON contains a A.P10 and a
A.P10.iplTi

functions: Add runtime entries to bios attr string

Enhance the parsing of the JSON file to add runtime entries to the bios
attribute string. Currently, if the JSON contains a A.P10 and a
A.P10.iplTime entry, it will only add the iplTime entry to the bios
attribute string.
Instead of skipping the A.P10 entries when an iplTime entry exists, add
them as a runtime file (suffix _RT) to the bios attribute string for
hostboot to consume.

Tested: New _RT entries were created:
root@p10bmc:~# pldmtool bios GetBIOSAttributeCurrentValueByHandle -a
hb_lid_ids
{
"CurrentValue":
"ATTR_PERM=81e00663,ATTR_TMP=81e00664,BMC_INV=81e0066e,BOOTKERNEL=81e00658,DEVTREE=81e00672,EECACHE=81e00679,GUARD=81e00667,HBB=81e0065a,HBBL=81e0065b,HBD=81e0068d,HBD_RT=81e00630,HBD_RW=81e00676,HBEL=81e00668,HBI=81e0065d,HBRT=81e0068e,HBRT_RT=81e00300,HB_VOLATILE=81e0066f,HCODE=81e00696,HCODE_LID=81e0067b,HCODE_LID_RT=81e00671,HCODE_RT=81e00602,HDAT=81e00669,IMA_CATALOG=81e0065e,NVRAM=81e0066b,OCC=81e00688,OCC_RT=81e00430,OCMBFW=81e0067a,PART=81e00670,PAYLOAD=81e00660,RINGOVD=81e00620,SBE=81e00661,SBKT=81e0066c,SECBOOT=81e0066d,UVISOR=81e00678,VERSION=81e00662,WOFDATA=81e00692,WOFDATA_RT=81e00440,pnor.toc=NA"
}

Change-Id: Id72106e859040f6054907adb51dd974f856d3796
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

514a094e19-Oct-2021 Isaac Kurth <isaac.kurth@ibm.com>

openpower: mmc: physical reset triggers bios reset

The service openpower-bios-factory-reset runs during startup and
calls bios_reset_check. This method determines whether the
factory-reset-toggle gp

openpower: mmc: physical reset triggers bios reset

The service openpower-bios-factory-reset runs during startup and
calls bios_reset_check. This method determines whether the
factory-reset-toggle gpio has changed since the last reboot and
triggers a bios reset if it has. This decouples the code to check
for bios resets from the code in item_updater_mmc::reset and from
the BMC factory reset code.

Tested: Verified that the reset-gpio-val file was created to store
the previous value of the environment variable rwreset. Added files
to /media/hostfw and verified that they were removed upon reboot
when the value in reset-gpio-val differed from rwreset.

Signed-off-by: Isaac Kurth <isaac.kurth@ibm.com>
Change-Id: I9942c1826f800a2ce9aef4b9456b3f4acc4b94fe

show more ...

bde5d7d414-Sep-2021 Isaac Kurth <isaac.kurth@ibm.com>

item_updater_mmc: Add service calls to bios reset

Added calls to pldm-reset-phyp-nvram.service and
pldm-reset-phyp-nvram-cksum.service to item_updater_mmc::reset.
Also added a section that deletes f

item_updater_mmc: Add service calls to bios reset

Added calls to pldm-reset-phyp-nvram.service and
pldm-reset-phyp-nvram-cksum.service to item_updater_mmc::reset.
Also added a section that deletes files created by the bmcweb app.

Tested: Ran the reset method and verified that the new services
ran based on their journalctl output. Verified that the code deleted
bmcweb app files.

Change-Id: Id2e5272048707487ee480f8435da41be56787548
Signed-off-by: Isaac Kurth <isaac.kurth@ibm.com>

show more ...

6fc7fcd618-Oct-2021 Adriana Kobylak <anoo@us.ibm.com>

Add a new pldm feature option

The openpower-process-host-firmware and openpower-update-bios-attr-table
set up the system to use the PLDM protocol instead of hiomap (mboxd).
Since tacoma uses emmc bu

Add a new pldm feature option

The openpower-process-host-firmware and openpower-update-bios-attr-table
set up the system to use the PLDM protocol instead of hiomap (mboxd).
Since tacoma uses emmc but does not support the host PLDM protocol, need
to make it an optional feature.
Create an optional pldm feature so that the p10bmc systems can opt-in to
it. Once all the PLDM support is in place in the host side, the mboxd
support can be removed from systems that enable this new pldm option.

Tested: Enabled this new pldm feature in p10bmc, verified tacoma and
p10bmc reached power on.

Change-Id: I38a71ab3a639f132caa1e6565cca7ab319c23943
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

9c2ef68121-Oct-2020 Adriana Kobylak <anoo@us.ibm.com>

op-pnor-msl.service: Remove RemainAfterExit

The minimum ship level check should run on every power on attempt.
By having the RemainAfterExit=yes, the service only runs once.
Remove it so that it run

op-pnor-msl.service: Remove RemainAfterExit

The minimum ship level check should run on every power on attempt.
By having the RemainAfterExit=yes, the service only runs once.
Remove it so that it runs on every power on.

Tested: Removing this line allows the service to start every time
that obmc-flash-bios-updatesymlinks.service is started.

Change-Id: Ia2a31246ac6575d68329c498218613986bb3c0bc
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

97a709b006-Oct-2021 Patrick Williams <patrick@stwcx.xyz>

catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4447cb11880e36b44c8913e56c728ccd76d2044d

a38f6e6519-Sep-2021 George Liu <liuxiwei@inspur.com>

Remove the last comma of the biosAttrStr value

If the attribute value of biosAttrStr ends with a comma, remove it.

Tested:
Without this patch:
biosAttrStr = "element1=lid1,element2=lid2,elementN=li

Remove the last comma of the biosAttrStr value

If the attribute value of biosAttrStr ends with a comma, remove it.

Tested:
Without this patch:
biosAttrStr = "element1=lid1,element2=lid2,elementN=lidN,"
With this patch:
biosAttrStr = "element1=lid1,element2=lid2,elementN=lidN"

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I159f9c1774f4cd56ab04398fdf2f90929cd7e7e0

show more ...

4e82bc8428-Sep-2021 Adriana Kobylak <anoo@us.ibm.com>

mmc: Handle missing pnor.toc file

The pnor.toc file is a mboxd implemenation, and therefore will not exist
once the host uses PLDM instead, which uses .lid files instead of pnor
partition files. As

mmc: Handle missing pnor.toc file

The pnor.toc file is a mboxd implemenation, and therefore will not exist
once the host uses PLDM instead, which uses .lid files instead of pnor
partition files. As part of the transition, the pnor.toc file is being
built into a .lid file for images that do not contain pnor partition
files. Handle this transition by creating a symlink from pnor partition
file to .lid file. This would remain in place until all the PLDM support
from the hostboot side is in place and mboxd is removed.

Tested: Verified rainier powers on and mboxd starts successfully, and
the volatile partition gets cleared.

Change-Id: I59364c0abf100dab5a38d277f0587d0dd221b53d
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

ed44b45f27-Sep-2021 Adriana Kobylak <anoo@us.ibm.com>

ubi: reset: Preserve the SECBOOT partition

With the implemenation of secure boot in Power9, skiboot requires the
SECBOOT partition to be preserved during factory resets, because it
contains keys pro

ubi: reset: Preserve the SECBOOT partition

With the implemenation of secure boot in Power9, skiboot requires the
SECBOOT partition to be preserved during factory resets, because it
contains keys provisioned for the system that cannot be recreated (are
not part of the read-only image).

Tested: Verified that the SECBOOT partition file is preserved after a
factory reset:

root@witherspoon:~# ls -l
/var/lib/phosphor-software-manager/pnor/prsv/
-rw-rw-r-- 1 root root 294912 Sep 27 20:21 CVPD
-rw-rw-r-- 1 root root 294912 Sep 27 20:23 DJVPD
-rw-rw-r-- 1 root root 589824 Sep 27 20:21 MVPD
-rw-rw-r-- 1 root root 589824 Sep 27 20:25 NVRAM
-rw-r--r-- 1 root root 147456 Sep 27 20:26 SECBOOT

root@witherspoon:~# busctl call
org.open_power.Software.Host.Updater /xyz/openbmc_project/software
xyz.openbmc_project.Common.FactoryReset Reset

root@witherspoon:~# ls -l
/var/lib/phosphor-software-manager/pnor/prsv/
-rw-r--r-- 1 root root 147456 Sep 27 20:26 SECBOOT

Change-Id: I762d03c937e8e4eff2f87aa087e6152a302180b2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

4c2386a517-Sep-2021 Adriana Kobylak <anoo@us.ibm.com>

mmc: Add dependency to openpower-update-bios-attr-table.service

The openpower-update-bios-attr-table.service creates symlinks to lid
files is the partition files do not exist. The service
openpower-

mmc: Add dependency to openpower-update-bios-attr-table.service

The openpower-update-bios-attr-table.service creates symlinks to lid
files is the partition files do not exist. The service
openpower-process-host-firmware.service creates symlinks to the well
known firmware name by deleting the base partition file and creting a
symlink. If both services run at the same time, they can interfere,
causing the bios attr service to create a symlink when it's not desired
(it thinks the file doesn't exist but it's because the process host fw
service just deleted it to create its symlink). Add a dependency to
serialize them.

Tested:
Before fix:
Sep 17 14:18:35 p10bmc systemd[1]: Starting Set POWER host firmware well-known names...
Sep 17 14:18:35 p10bmc systemd[1]: Starting Update BIOS attr table with host firmware well-known names...
Sep 17 14:18:35 p10bmc openpower-update-manager[2026]: "/media/hostfw/running/DEVTREE": File exists
Sep 17 14:18:35 p10bmc systemd[1]: openpower-process-host-firmware.service: Deactivated successfully.
Sep 17 14:18:35 p10bmc systemd[1]: Finished Set POWER host firmware well-known names.
Sep 17 14:18:35 p10bmc systemd[1]: openpower-update-bios-attr-table.service: Deactivated successfully.
Sep 17 14:18:35 p10bmc systemd[1]: Finished Update BIOS attr table with host firmware well-known names.

After fix:
Sep 17 14:19:26 p10bmc systemd[1]: Starting Set POWER host firmware well-known names...
Sep 17 14:19:26 p10bmc systemd[1]: openpower-process-host-firmware.service: Deactivated successfully.
Sep 17 14:19:26 p10bmc systemd[1]: Finished Set POWER host firmware well-known names.
Sep 17 14:19:26 p10bmc systemd[1]: Starting Update BIOS attr table with host firmware well-known names...
Sep 17 14:19:26 p10bmc systemd[1]: openpower-update-bios-attr-table.service: Deactivated successfully.
Sep 17 14:19:26 p10bmc systemd[1]: Finished Update BIOS attr table with host firmware well-known names.

Change-Id: I3bc0366a38676d391e1087c27f2fcff487ac5914
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

ff675db007-Sep-2021 Adriana Kobylak <anoo@us.ibm.com>

mmc: Copy only LID files during update

This is one step closer in replacing the PNOR partition files with LID
files:
- During an update, only copy LID files to the read-write directory. The
update

mmc: Copy only LID files during update

This is one step closer in replacing the PNOR partition files with LID
files:
- During an update, only copy LID files to the read-write directory. The
update-bios-attr-table service will create symlinks from PNOR
partition files to LID files.
- Use the pnor.toc from the read-only directory to get the list of
preserved partitions, since there won't be a pnor.toc file in the
read-write directory anymore. A future commit will read the PLDM file
table to determine which LID files to preserve.
- Preserve the symlink target (LID file) instead of the symlink name
(partition file name), otherwise the symlink gets broken if we copy a
file that was a symlink.

Tested: Verified after code update that all the partition files were
symlinks to a LID file, and a subsequent update preserved the LID files
that correspond to the preserved partitions.

Change-Id: I3fbe3de5a910d85c299ed7e5a535198283bd3f9a

show more ...

0ddd4fad14-Jul-2021 Isaac Kurth <blisaac91@gmail.com>

item_updater_mmc: Implement bios factory reset

Implemented the method ItemUpdaterMMC::reset. It clears files in
/media/hostfw/ related to managing console and virtualization
information, then recrea

item_updater_mmc: Implement bios factory reset

Implemented the method ItemUpdaterMMC::reset. It clears files in
/media/hostfw/ related to managing console and virtualization
information, then recreates those files using bus calls to service
files. Added checks to obmc-flash-bios so it doesn't cause problems
when its methods are run multiple times. Modified latest services to
allow them to run more than once. Services which depend on the init
service will run after it.

Tested: Created extra files in the directories that the reset method
removes. Called the reset method using busctl. Verified that the
added files were removed and that the removed files that belong were
recreated. Verified that all services called were run.

Signed-off-by: Isaac Kurth <blisaac91@gmail.com>
Change-Id: I1e04e97a7c5c9e3fa8b5ee7af47b7320ff3e91d3

show more ...

7b5685d102-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 ...

0313b99330-Aug-2021 Adriana Kobylak <anoo@us.ibm.com>

Update MAINTAINERS, add OWNERS

The OWNERS file allows gerrit to automatically CC the owners on a review
when it's pushed, removing the need to add maintainers manually.

Eventually the MAINTAINERS f

Update MAINTAINERS, add OWNERS

The OWNERS file allows gerrit to automatically CC the owners on a review
when it's pushed, removing the need to add maintainers manually.

Eventually the MAINTAINERS file will be deprecated. For now keep both
until it's removed project-wide.

Replace IRC with Discord since the community doesn't use IRC anymore.
Remove Ratan, he is no longer working with Power systems.
Update discord name for Gunnar and Jayanth.

Change-Id: Idbdb49117e7d734e0a542a8ce5fdba077a054699
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

5dc5d6cc20-Jul-2021 Adriana Kobylak <anoo@us.ibm.com>

functions: Create symlinks for hostfw elements

Create symlinks for the hostfw elements to point to their corresponding
lid files. The hostfw image would not have the hostfw element files,
only lid f

functions: Create symlinks for hostfw elements

Create symlinks for the hostfw elements to point to their corresponding
lid files. The hostfw image would not have the hostfw element files,
only lid files. The symlinks allow applications such as mboxd and
openpower-proc-control to read data for the appropriate system type
since the symlink would be pointing to the right lid file depending on
system type.

No need to hardcode the symlink for HBB, this is done automatically now
based on the JSON file.

Tested:
Verified all element files pointed to the right lid file, ex:

lrwxrwxrwx 1 root root 12 Jul 26 16:08 DEVTREE ->
81e00673.lid
lrwxrwxrwx 1 root root 12 Jul 26 16:08 HBB ->
81e0065a.lid

Change-Id: Ia5791be0980301022c64c2469be92ab4add61a75
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

ebf67bf721-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

functions: bios-attr: Add match for PLDM

Add a match to watch for PLDM name owner change to detect when PLDM
starts. The callback would check if the new owner is set, which means
the service started

functions: bios-attr: Add match for PLDM

Add a match to watch for PLDM name owner change to detect when PLDM
starts. The callback would check if the new owner is set, which means
the service started instead of stopped, and then gets the properties
from entity manager to call the function that parse the json file and
sets the bios attr. If the entity manager interfaces are empty, it just
returns and the entity manager callback would take over when entity
manager starts.

This bios attr subcommand is now a vector to be able to return the two
matches, the one for EM and the new PLDM one.

Tested: Verify the bios attr was set when EM and PLDM were stopped and
EM was started then PLDM, and also having PLDM start first then EM.

Change-Id: I75fe1aae8084191226a8bd3b69087ca39ae2a43f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...

12345678910>>...14