All of lore.kernel.org
 help / color / mirror / Atom feed
* IPMI_CHASSIS_PWR_DOWNs multiple uses
@ 2020-02-14 15:08 Andrew Geissler
  0 siblings, 0 replies; only message in thread
From: Andrew Geissler @ 2020-02-14 15:08 UTC (permalink / raw)
  To: OpenBMC Maillist

We've been working on standardizing our Redfish -> IPMI -> OpenBMC State
Management mappings[1].

One issue I'm running into is the dual use of the IPMI_CHASSIS_PWR_DOWN chassis
control command[2]. This command in its standard use case, is used to indicate
the chassis power should be removed from the system (non-graceful power down).
The issue I've been hitting is that it is also used by the BIOS firmware to
indicate once it has completed it's shutdown. For example in the IPMI Soft Off
chassis command path, the IPMI Chassis Power Down command is sent once the
BIOS has completed its shutdown.

The problem with this is that there are use cases for shutting down the host
but also keeping the chassis power on. For example a GracefulRestart is a
graceful shutdown of the BIOS and then a reboot of the system without removing
chassis power.

Is this dual use of IPMI_CHASSIS_PWR_DOWN something specific to our systems?
Is there a solution to this that doesn't involve special code on the BMC side
that tracks the current BMC state request and does some special handling
of the IPMI_CHASSIS_PWR_DOWN?

Thanks,
Andrew

[1]: https://github.com/openbmc/docs/blob/master/designs/state-management-and-external-interfaces.md 
[2]: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/29051/1/chassishandler.cpp#1093

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-14 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 15:08 IPMI_CHASSIS_PWR_DOWNs multiple uses Andrew Geissler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.