Revision Date Author Comments
# 933bee76 09-May-2023 Andrew Geissler <geissonator@yahoo.com>

systemd: no installation in templated targets

Upstream yocto introduced a change via e510222 (systemd-systemctl:
fix instance template WantedBy symlink construction).

This fixes a bug that we in Op

systemd: no installation in templated targets

Upstream yocto introduced a change via e510222 (systemd-systemctl:
fix instance template WantedBy symlink construction).

This fixes a bug that we in OpenBMC had been taking advantage of in that
we were able to document our templated target dependencies without it
actually doing anything. The real installation of services within
targets occurs in our bitbake recipes due to the complexity of chassis
and host instances on a per machine basis.

Leave the dependency information in the service files but comment them
out. It's useful to be able to look at a service and understand which
targets it's going to be installed into by the bitbake recipes.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I58b4e0f280bcf0268a737aec2613f2d6ca8c8eba

show more ...


# 634dd5d5 12-Apr-2022 Zane Shelley <zshelle@us.ibm.com>

Stop ATTN service before instruction stop

Ensuring that ATTN service is stopped after PHYP has completed the power
off process. PHYP must be done before starting instruction stop. So that
is a good

Stop ATTN service before instruction stop

Ensuring that ATTN service is stopped after PHYP has completed the power
off process. PHYP must be done before starting instruction stop. So that
is a good target to use.

ATTN service will not be stopped in the MPIPL case since the instruction
stop service is not used. We need to explicitly restart ATTN service in
MPIPL continue so that attention interrupts with no active attention
sources get cleared.

Tested: Verified on graceful shutdown that attention handler service was
stopped after soft-off app had finished (perform graceful shutdown).
Verified that following an MPIPL attention handler would service
attentions (inject error following MPIPL completion).

Change-Id: I52fb75a0bbfa48c714850aa2d3ed9229179cceea
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>

show more ...


# bbb53393 14-Feb-2022 Adriana Kobylak <anoo@us.ibm.com>

PHAL: Add service dependency to DEVTREE creation

Start the services that require DEVTREE after the
openpower-update-bios-attr-table.service since that's the one that
sets up the DEVTREE symlink. Als

PHAL: Add service dependency to DEVTREE creation

Start the services that require DEVTREE after the
openpower-update-bios-attr-table.service since that's the one that
sets up the DEVTREE symlink. Also update the path to DEVTREE to the one
defined by the meson options.

Tested: Verified phal started after the bios attr service file, powered
on, and issued reboot at power on without any errors. Verified service
files had devtree path of:
Environment="PDBG_DTB=/media/hostfw/running/DEVTREE"

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

show more ...


# c3a9514e 27-Oct-2021 Andrew Geissler <geissonator@yahoo.com>

op-continue-mpreboot: ensure it runs after start_host

During an mpreboot, the obmc-host-startmin@.target is executed. Within
this target there are two services that can start the boot. O

op-continue-mpreboot: ensure it runs after start_host

During an mpreboot, the obmc-host-startmin@.target is executed. Within
this target there are two services that can start the boot. One is the
standard start_host@.service which is used for a normal boot. The
op-continue-mpreboot@.service is used when it is a mpreboot.

The decision on which one runs and which one doesn't is based on the
/run/openbmc/mpreboot@%i file. The race condition we have is that both
services start at the same time from a systemd perspective. If the
mpreboot service happens to run first, it removes the mpreboot@%i file.
Then when the start_host service starts, it does not see the file so it
also runs! This is not good. To fix this, ensure the start_host service
runs first if it is started at the same time as the mpreboot service.

Tested:
- Verified start_host ran first and was skipped in mpreboot
Oct 27 22:46:58 openbmc systemd[1]: Condition check resulted in Start host0 SBE being skipped.
Oct 27 22:46:58 openbmc systemd[1]: Starting Continue mp reboot on host0...

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ifb995d3d1ac66314db5a171446097f88ead277c4

show more ...


# 1dc0829e 22-Jun-2021 Andrew Geissler <geissonator@yahoo.com>

service-files: move to own sub-directory

Some more service files are on their way for new features so put all of
them in a sub-directory to keep the main one a bit cleaner

Signe

service-files: move to own sub-directory

Some more service files are on their way for new features so put all of
them in a sub-directory to keep the main one a bit cleaner

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I65a1f28cf7c7da61aa599b36f93d2ab4e7de162f

show more ...