[Skiboot] [PATCH RFC v2 00/12] opal-prd updates for p9

Jeremy Kerr jk at ozlabs.org
Fri May 26 12:54:19 AEST 2017


Hi all,

The following changes implement opal-prd functionality for P9. The core
change is the hostboot interface updates, and some base-level support
for the new callbacks.

Part of this series is the introduction of the opaque firmware <--> HBRT
channel, which means we should be able to avoid userspace (and kernel)
updates for future feature additions.

These patches are RFC only at this stage, and have ony had light
testing. Please let me know if you have any comments/changes.

Cheers,


Jeremy

---
v2:
 - Fixups from reviews from Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
  - Check allocation return values
  - OCC chip argument parsing fixes
  - Extend occ chip specifier to process-error command

--

Jeremy Kerr (12):
  opal-prd: Simplify optind handling
  opal-prd: split type-specific fields of control messages
  opal-prd: allow different chips for occ control actions
  opal-prd: Add occ reset to usage text
  opal-prd: implement basic heuristic for hservice_puts loglevels
  opal-prd: Sync hostboot interfaces with HBRT
  opal-prd: use get_ipoll_mask() callback
  opal-prd: Add support for variable-sized messages
  opal-prd: split prd message reading from handling
  opal-prd: Add firmware_request & firmware_notify implementations
  prd: Implement firmware side of opaque PRD channel
  opal-prd: hook up reset_pm_complex

 external/opal-prd/hostboot-interface.h | 194 +++++++++++++-
 external/opal-prd/opal-prd.c           | 450 +++++++++++++++++++++++++++------
 external/opal-prd/thunk.S              |  13 +-
 hw/prd.c                               |  88 ++++++-
 include/opal-api.h                     |  16 ++
 include/prd-fw-msg.h                   |  37 +++
 6 files changed, 705 insertions(+), 93 deletions(-)
 create mode 100644 include/prd-fw-msg.h

-- 
2.7.4



More information about the Skiboot mailing list