summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/host
diff options
context:
space:
mode:
authordeepa <deepakala.karthikeyan@ibm.com>2023-08-03 09:43:06 +0300
committerAndrew Geissler <geissonator@yahoo.com>2023-08-07 15:10:16 +0300
commit94fa8dda26e873e4640602eb3e152f229ae7c561 (patch)
treef63a13a51fe029a61d52e80d367a04688ec74d32 /meta-openpower/recipes-phosphor/host
parent702b9a4420e271a0f94191e0e628e229d638d897 (diff)
downloadopenbmc-94fa8dda26e873e4640602eb3e152f229ae7c561.tar.xz
meta-openpower: Reset dump attribute
Reset dump attribute on obmc-host-quiesce target The pvm_sys_dump_active bios attribute prevents new dump creation when a dump is already in progress/ is being offloaded. This attribute is cleared by the PHYP when the dump is offloaded and deleted. In case of a PHYP TI with host getting into quiesced state, the attribute is not cleared which prevents further dump creation. To handle this scenario, the attribute is reset when the host reaches quiesce state. Adding the op-clear-sys-dump-active service to the obmc-host-quiesce target cleared the attribute. Tested: When the host is quiesced, initiated a user triggered system dump and tested. The new system dump is created successfully. Change-Id: I63b3e3c635d7978aec8ca8f8944f34fe28dfddee Signed-off-by: Deepa Karthikeyan <deepakala.karthikeyan@ibm.com>
Diffstat (limited to 'meta-openpower/recipes-phosphor/host')
-rw-r--r--meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb b/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb
index 14d64320fa..f0a79b6659 100644
--- a/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb
+++ b/meta-openpower/recipes-phosphor/host/op-proc-control-systemd-links.bb
@@ -24,6 +24,10 @@ pkg_postinst:${PN}() {
TARGET="../op-stop-instructions@.service"
ln -s $TARGET $LINK
+ LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/op-clear-sys-dump-active@0.service"
+ TARGET="../op-clear-sys-dump-active@.service"
+ ln -s $TARGET $LINK
+
LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/op-stop-instructions@0.service"
TARGET="../op-stop-instructions@.service"
ln -s $TARGET $LINK