This patch set defines a binding for FSL MPIC message registers and implements an API for accessing those message registers. Testing was done on a MPC8572DS in an Linux-Linux AMP setup using OpenMCAPI (www.openmcapi.org) to communicate between OS instances. The message register API is used by the OpenMCAPI shared memory driver to send notifications between cores.
* v3 - Clarified a point in the binding concerning the length of the 'interrupts' property. Pointed out by Scott Wood. * v2 - Incorporate feedback from Scott Wood * Make binding less implementation specific. * Add 'mpic-' prefix to message register node properties and aliases. * Remove 'interrupt-parent' from binding. * Fixed some example bugs with receive masks. Signed-off-by: Meador Inge <meador_i...@mentor.com> Cc: Hollis Blanchard <hollis_blanch...@mentor.com> Meador Inge (2): powerpc: document the FSL MPIC message register binding powerpc: add support for MPIC message register API .../devicetree/bindings/powerpc/fsl/mpic-msgr.txt | 62 +++++ arch/powerpc/include/asm/mpic_msgr.h | 35 +++ arch/powerpc/platforms/Kconfig | 8 + arch/powerpc/sysdev/Makefile | 3 +- arch/powerpc/sysdev/mpic_msgr.c | 279 ++++++++++++++++++++ 5 files changed, 386 insertions(+), 1 deletions(-) create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/mpic-msgr.txt create mode 100644 arch/powerpc/include/asm/mpic_msgr.h create mode 100644 arch/powerpc/sysdev/mpic_msgr.c _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev