[RFC 0/2] Add support for OCC command/response interface
From: Shilpasri G Bhat
Date: Mon Jun 05 2017 - 02:15:17 EST
In P9, OCC(On Chip Controller) can be sent commands inband via shared
memory based command response interface. This patch adds a platform
driver to support the OCC command-response interface.
The skiboot patch for the interface is posted here:
https://lists.ozlabs.org/pipermail/skiboot/2017-June/007542.html
Shilpasri G Bhat (2):
powerpc/powernv: Get a unique token for async completions
powerpc/powernv : Add support for OPAL-OCC command/response interface
arch/powerpc/include/asm/opal-api.h | 40 ++-
arch/powerpc/include/asm/opal.h | 4 +
arch/powerpc/platforms/powernv/Makefile | 2 +-
arch/powerpc/platforms/powernv/opal-async.c | 46 ++++
arch/powerpc/platforms/powernv/opal-occ.c | 349 +++++++++++++++++++++++++
arch/powerpc/platforms/powernv/opal-wrappers.S | 1 +
arch/powerpc/platforms/powernv/opal.c | 8 +
7 files changed, 448 insertions(+), 2 deletions(-)
create mode 100644 arch/powerpc/platforms/powernv/opal-occ.c
--
1.8.3.1