[Skiboot] [PATCH 0/4] IPMI graceful shutdown

Joel Stanley joel at jms.id.au
Thu Feb 5 14:10:01 AEDT 2015


This series of patches enables the BMC to asynchronously (ie, not in response
to a request) send the host a message through the SMS_ATN mechanism.

When combined with the Linux side patch[1], this allows graceful shutdown over
ipmi:

 ipmitool -I lanplus -H my-openpower-box power soft

As well as reboot:

 ipmitool -I lanplus -H my-openpower-box power cycle

[1] http://patchwork.ozlabs.org/patch/434742/

Jeremy Kerr (1):
  ipmi: handle SMS_ATN events

Joel Stanley (3):
  ipmi: Set BMC Global Enables to enable notifications
  ipmi: Implement Read Event and SEL parsing
  ipmi: Message Linux to perform graceful shutdown

 core/ipmi.c                    |  41 +++++++++++++++++
 doc/opal-api/opal-messages.txt |  57 +++++++++++++++++++++++
 hw/bt.c                        |   6 +++
 hw/ipmi/ipmi-sel.c             | 100 +++++++++++++++++++++++++++++++++++++++++
 include/ipmi.h                 |  20 +++++++++
 include/opal.h                 |   2 +-
 platforms/astbmc/common.c      |  48 ++++++++++++++++++++
 7 files changed, 273 insertions(+), 1 deletion(-)
 create mode 100644 doc/opal-api/opal-messages.txt

-- 
V2:
 - dropped PNOR locking from the series. Requires further work on the kernel
   side
 - added documention for opal messages
2.1.4



More information about the Skiboot mailing list