power policy restore

Bills, Jason M jason.m.bills at linux.intel.com
Fri Apr 3 08:08:16 AEDT 2020



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.

> 
> Is there any other platform using restorePowerPolicy features without 
> ac_boot features?
> 
> Regards
> 
> -Vijay
> 


More information about the openbmc mailing list