[Skiboot] [PATCH 0/5] IPMI graceful shutdown and NVRAM locking

Joel Stanley joel at jms.id.au
Fri Jan 30 11:31:46 AEDT 2015


Hello,

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

It also implements a PNOR locking mechanism that allows the BMC to ask the host
for accesss to the PNOR. When it has the PNOR locked, skiboot will deny access
to the nvram API, which is how Linux accesses the PNOR.

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

Jeremy Kerr (1):
  ipmi: handle SMS_ATN events

Joel Stanley (4):
  ipmi: Set BMC Global Enables to enable notifications
  ipmi: Implement Read Event and SEL parsing
  ipmi: Message Linux to perform graceful shutdown
  ipmi: Disable nvram accesses when requested

 core/ipmi.c               |  41 +++++++++++++++
 core/nvram.c              |   7 +++
 hw/bt.c                   |   6 +++
 hw/ipmi/ipmi-sel.c        | 128 ++++++++++++++++++++++++++++++++++++++++++++++
 include/ipmi.h            |  21 ++++++++
 include/opal.h            |   2 +-
 include/skiboot.h         |   1 +
 platforms/astbmc/common.c |  49 ++++++++++++++++++
 8 files changed, 254 insertions(+), 1 deletion(-)

-- 
2.1.4



More information about the Skiboot mailing list