|
|
Subscribe / Log in / New account

Add support for OCC command/response interface

From:  Shilpasri G Bhat <shilpa.bhat-AT-linux.vnet.ibm.com>
To:  linuxppc-dev-AT-lists.ozlabs.org
Subject:  [RFC 0/2] Add support for OCC command/response interface
Date:  Mon, 5 Jun 2017 11:43:51 +0530
Message-ID:  <1496643233-14658-1-git-send-email-shilpa.bhat@linux.vnet.ibm.com>
Cc:  linux-kernel-AT-vger.kernel.org, benh-AT-kernel.crashing.org, paulus-AT-samba.org, mpe-AT-ellerman.id.au, svaidy-AT-linux.vnet.ibm.com, ego-AT-linux.vnet.ibm.com, Shilpasri G Bhat <shilpa.bhat-AT-linux.vnet.ibm.com>

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/0075...

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



Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds