power policy restore
Vijay Khemka
vijaykhemka at fb.com
Fri Apr 3 09:20:27 AEDT 2020
On 4/2/20, 2:09 PM, "openbmc on behalf of Bills, Jason M" <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org on behalf of jason.m.bills at linux.intel.com> wrote:
On 4/2/2020 10:55 AM, Vijay Khemka wrote:
> Hi Jason,
>
> I see power policy restore is implemented in chassis handler of main
> ipmid daemon. And I don’t see any implementation of ac_boot dbus
> interface addition which is required by x86-power-control to start
> restorePowerPolicy. I do see that this interface is being added in
> intel-ipmi-oem. Does it mean that phosphor-host-ipmid has incomplete
> implementation, and if it is incomplete by ipmi standard then can we add
> code in ipmid.
The IPMI maintainers will need to comment, but the IPMI spec states "The
power restore policy determines how the system or chassis behaves when
AC power returns after an AC power loss."
On our systems, the BMC also loses power on AC loss, so we added the
ACBoot property to determine if the BMC is booting due to AC loss and
can apply the power restore policy.
I don't know if ipmid is the right place to determine if the system is
returning from an AC power loss, but if it could be standardized that
would be great.
To make use of power restore policy feature from x86-power-control, looks like
We need to implement ac_boot and delay interface the way intel-ipmi-oem
implemented. I don't see there is any other way to use this feature.
I would request IPMID maintainer to comment here so that I can proceed with
Further implementation.
>
> Is there any other platform using restorePowerPolicy features without
> ac_boot features?
>
> Regards
>
> -Vijay
>
More information about the openbmc
mailing list