All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eddie James <eajames@linux.vnet.ibm.com>
To: openbmc@lists.ozlabs.org
Cc: joel@jms.id.au, jk@ozlabs.org, bradleyb@fuzziesquirrel.com,
	"Edward A. James" <eajames@us.ibm.com>
Subject: [PATCH linux dev-4.10 v3 0/2] drivers: fsi: Add OCC driver
Date: Fri,  2 Jun 2017 12:48:19 -0500	[thread overview]
Message-ID: <1496425701-22980-1-git-send-email-eajames@linux.vnet.ibm.com> (raw)

From: "Edward A. James" <eajames@us.ibm.com>

This patch series adds a driver to communicate with the POWER processor
On-Chip Controller (OCC), from a service processor. Communication is performed
via the SBEFIFO driver, which required a new in-kernel API.

An application to test the OCC driver can be found at
https://github.com/eddiejames/occtest

Changes since v2:
 * Switch to use getSRAM/putSRAM over the SBE. This is significantly more
efficient and also circumvents the need to set up OCB channels manually.
 * Include the in-kernel API (for hwmon driver).
 * xfr struct embedded in client
 * add sequence number and checksum to command

Edward A. James (2):
  drivers: fsi: sbefifo: Add in-kernel API
  drivers: fsi: sbefifo: Add OCC driver

 drivers/fsi/Kconfig         |   6 +
 drivers/fsi/Makefile        |   1 +
 drivers/fsi/fsi-sbefifo.c   | 161 +++++++--
 drivers/fsi/occ.c           | 784 ++++++++++++++++++++++++++++++++++++++++++++
 include/linux/fsi-sbefifo.h |  30 ++
 5 files changed, 952 insertions(+), 30 deletions(-)
 create mode 100644 drivers/fsi/occ.c
 create mode 100644 include/linux/fsi-sbefifo.h

-- 
1.8.3.1

             reply	other threads:[~2017-06-02 17:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02 17:48 Eddie James [this message]
2017-06-02 17:48 ` [PATCH linux dev-4.10 v3 1/2] drivers: fsi: sbefifo: Add in-kernel API Eddie James
2017-06-02 17:48 ` [PATCH linux dev-4.10 v3 2/2] drivers: fsi: sbefifo: Add OCC driver Eddie James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496425701-22980-1-git-send-email-eajames@linux.vnet.ibm.com \
    --to=eajames@linux.vnet.ibm.com \
    --cc=bradleyb@fuzziesquirrel.com \
    --cc=eajames@us.ibm.com \
    --cc=jk@ozlabs.org \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.