[Skiboot] [PATCH v2 00/11] Add and integrate an IPMI flash implementation

Andrew Jeffery andrew at aj.id.au
Tue Sep 25 14:06:24 AEST 2018


Hello,

v2 is mostly the same as v1[1] in terms of the original set of patches, the
change is largely an additional handful on top. The added patches get us to the
point where we no-longer depend on SuperIO functionality on the LPC bus.

[1] http://patchwork.ozlabs.org/project/skiboot/list/?series=66656&state=%2A&archive=both

Please review!

Andrew

Andrew Jeffery (11):
  ipmi: Introduce registration for SEL command handlers
  core/lock: Use try_lock_caller() in lock_caller() to capture owner
  core/flash: Only lock around flashes update in flash_register()
  core/flash: Unlock around blocklevel calls in NVRAM accessors
  libflash: Add ipmi-hiomap
  astbmc: Prefer ipmi-hiomap for PNOR access
  astbmc: Remove coordinated isolation support
  lpc: Introduce generic probe capability
  astbmc: Use LPC probe calls to determine SIO presence
  platform: Restructure bmc_platform type
  astbmc: Fail SFC init if SIO is unavailable

 core/flash.c                   |  19 +-
 core/lock.c                    |   2 +-
 core/pci-quirk.c               |  21 +-
 hw/ast-bmc/ast-io.c            |  98 +---
 hw/ast-bmc/ast-sf-ctrl.c       |   3 +
 hw/ipmi/ipmi-sel.c             | 126 +++--
 hw/lpc.c                       | 216 ++++++---
 include/ast.h                  |   7 +-
 include/hiomap.h               |  68 +++
 include/ipmi.h                 |   5 +
 include/lpc-mbox.h             |  35 +-
 include/lpc.h                  |  14 +-
 include/platform.h             |  17 +-
 libflash/Makefile.inc          |   2 +-
 libflash/ipmi-hiomap.c         | 853 +++++++++++++++++++++++++++++++++
 libflash/ipmi-hiomap.h         |  28 ++
 platforms/astbmc/astbmc.h      |   9 +-
 platforms/astbmc/common.c      |  96 ++--
 platforms/astbmc/firestone.c   |   2 +-
 platforms/astbmc/garrison.c    |   2 +-
 platforms/astbmc/habanero.c    |   2 +-
 platforms/astbmc/p8dnu.c       |  11 +-
 platforms/astbmc/p8dtu.c       |  12 +-
 platforms/astbmc/p9dsu.c       |  11 +-
 platforms/astbmc/palmetto.c    |   2 +-
 platforms/astbmc/pnor.c        |  42 +-
 platforms/astbmc/romulus.c     |   2 +-
 platforms/astbmc/vesnin.c      |   2 +-
 platforms/astbmc/witherspoon.c |   2 +-
 29 files changed, 1419 insertions(+), 290 deletions(-)
 create mode 100644 include/hiomap.h
 create mode 100644 libflash/ipmi-hiomap.c
 create mode 100644 libflash/ipmi-hiomap.h

-- 
2.17.1



More information about the Skiboot mailing list