Skip to content

drivers: fsi: Add OCC driver

Eddie James openbmc 4 versions – Applied

Status from this message: I applied this to dev-4.10.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyApplied
  2. v32 patches 0 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches3 repliesSuperseded

Changes in v4 from the cover letter

* Add include file for occ driver.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2drivers: fsi: sbefifo: Add in-kernel APIdrivers/fsi/fsi-sbefifo.c include/linux/fsi-sbefifo.h+161 -300 replies
2/2drivers: fsi: sbefifo: Add OCC driverdrivers/fsi/Kconfig drivers/fsi/Makefile drivers/fsi/occ.c +1 more+817 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH linux dev-4.10 v4 0/2] drivers: fsi: Add OCC driver

From: "Edward A. James" <[email protected]>

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
Signature · 1 line
1.8.3.1