From: Andrew Geissler <geissonator@gmail.com>
To: Thang Nguyen OS <thang@amperemail.onmicrosoft.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Check on bypass phosphor-discover-system-state@.service if BMC not boot from A/C
Date: Fri, 18 Feb 2022 10:14:33 -0600 [thread overview]
Message-ID: <800B86CE-ABA2-4867-AC6C-8B0D1F3A48FE@gmail.com> (raw)
In-Reply-To: <f5183918-e83d-0ba3-397f-bdddccebb8d7@amperemail.onmicrosoft.com>
> On Feb 18, 2022, at 1:36 AM, Thang Nguyen OS <thang@amperemail.onmicrosoft.com> wrote:
< snip>
> # busctl get-property xyz.openbmc_project.State.BMC /xyz/openbmc_project/state/bmc0 xyz.openbmc_project.State.BMC LastRebootCause
>
> s "xyz.openbmc_project.State.BMC.RebootCause.POR"
>
> I would like to check if you have any idea on how to use the above information to prevent the power restore policy executed in case of BMC reboot.
>
Sounds a lot like what I’m doing in https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/50706. IBM has a requirement to not
start power restore policy when the system is reset due to a pinhole reset. I imagine you could just add a check like mine for yours as well.
>
>
> Thanks,
>
> Thang Q. Nguyen
>
next prev parent reply other threads:[~2022-02-18 16:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 7:36 Check on bypass phosphor-discover-system-state@.service if BMC not boot from A/C Thang Nguyen OS
2022-02-18 16:14 ` Andrew Geissler [this message]
2022-02-21 5:51 ` Thang Nguyen OS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=800B86CE-ABA2-4867-AC6C-8B0D1F3A48FE@gmail.com \
--to=geissonator@gmail.com \
--cc=openbmc@lists.ozlabs.org \
--cc=thang@amperemail.onmicrosoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).