All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-4.10 v4 0/2] drivers: fsi: Add OCC driver
@ 2017-06-02 17:56 Eddie James
  2017-06-02 17:56 ` [PATCH linux dev-4.10 v4 1/2] drivers: fsi: sbefifo: Add in-kernel API Eddie James
  2017-06-02 17:56 ` [PATCH linux dev-4.10 v4 2/2] drivers: fsi: sbefifo: Add OCC driver Eddie James
  0 siblings, 2 replies; 4+ messages in thread
From: Eddie James @ 2017-06-02 17:56 UTC (permalink / raw)
  To: openbmc; +Cc: joel, jk, bradleyb, Edward A. James

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 v3:
 * Add include file for occ driver.

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           | 783 ++++++++++++++++++++++++++++++++++++++++++++
 include/linux/fsi-sbefifo.h |  30 ++
 include/linux/occ.h         |  27 ++
 6 files changed, 978 insertions(+), 30 deletions(-)
 create mode 100644 drivers/fsi/occ.c
 create mode 100644 include/linux/fsi-sbefifo.h
 create mode 100644 include/linux/occ.h

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-05  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-02 17:56 [PATCH linux dev-4.10 v4 0/2] drivers: fsi: Add OCC driver Eddie James
2017-06-02 17:56 ` [PATCH linux dev-4.10 v4 1/2] drivers: fsi: sbefifo: Add in-kernel API Eddie James
2017-06-02 17:56 ` [PATCH linux dev-4.10 v4 2/2] drivers: fsi: sbefifo: Add OCC driver Eddie James
2017-06-05  7:57   ` Joel Stanley

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.