[Skiboot] [PATCH v3] ipmi/power: Fix system reboot issue
stewart at linux.ibm.com
Tue Feb 19 15:56:36 AEDT 2019
Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> Kernel makes reboot/shudown OPAL call for reboot/shutdown. Once kernel
> gets response from OPAL it runs opal_poll_events() until firmware
> handles the request.
> On BMC based system, OPAL makes IPMI call (IPMI_CHASSIS_CONTROL) to
> initiate system reboot/shutdown. At present OPAL queues IPMI messages
> and return SUCESS to Host. If BMC is not ready to accept command (like
> BMC reboot), then these message will fail. We have to manually
> reboot/shutdown the system using BMC interface.
> This patch adds logic to validate message return value. If message failed,
> then it will resend the message. At some stage BMC will be ready to accept
> message and handles IPMI message.
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
Merged to master as of b1d421875b4c6282cef349f27964f7e8885f06ee
Should probably also go to stable.
OPAL Architect, IBM.
More information about the Skiboot