[Skiboot] [PATCH v3] ipmi/power: Fix system reboot issue

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Wed Feb 20 15:48:34 AEDT 2019

On 02/19/2019 10:26 AM, Stewart Smith wrote:
> 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.

Yes. I missed to mark it for stable. I will backport and send PR later.


More information about the Skiboot mailing list