[Skiboot] [PATCH 0/7] Interface updates for PRD channel
Jeremy Kerr
jk at ozlabs.org
Tue May 19 15:20:15 AEST 2015
This series implements a fairly small update to the PRD interface,
to remove knowledge that the kernel has about the messaging channel.
This has two parts:
- Representing the PRD ranges as /reserved-memory nodes, with
new properties ("ibm,prd-label") to identify them. These will
be read directly by userspace to do the proper reservation parsing.
- Splitting opal_prd_msg into two parts: a header and the actual message.
Since the header now has the size, the kernel only needs to reference
the header component, and the message content is essentially private
to the OPAL <--> userspace interface.
We also add a 'diagnostics' node to the ibm,opal node, to allow prd-related
info to be exposed to userspace (for example, for future versioning),
and to give the kernel something to bind the prd driver to.
Cheers,
Jeremy
---
Jeremy Kerr (7):
core: Rename mem_region->mem_node to ->node
core: Introduce REGION_HW_RESERVED
core: Add node-style memory reservation to device tree
core: Add mem_region_next
hw/prd: Expose prd ranges via device tree
prd: Don't expose full opal_prd_msg to kernel
external/opal-prd: Update for new PRD userspace interface
More information about the Skiboot
mailing list