From: Eddie James <eajames@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org, devicetree@vger.kernel.org,
robh+dt@kernel.org, mark.rutland@arm.com,
bradleyb@fuzziesquirrel.com, jk@ozlabs.org,
cbostic@linux.vnet.ibm.com, joel@jms.id.au, andrew@aj.id.au,
eajames@linux.vnet.ibm.com,
"Edward A. James" <eajames@us.ibm.com>
Subject: [PATCH v3 0/6] drivers: fsi: Add SBEFIFO and OCC drivers
Date: Fri, 22 Sep 2017 16:05:56 -0500 [thread overview]
Message-ID: <1506114362-492-1-git-send-email-eajames@linux.vnet.ibm.com> (raw)
From: "Edward A. James" <eajames@us.ibm.com>
This series adds two FSI-based device drivers. The OCC driver is dependent on
the SBEFIFO driver, as a user of it's in-kernel API. The in-kernel API provided
by the OCC driver will be used by a hwmon driver (on the lkml as "Add On-Chip
Controller (OCC) hwmon driver").
Changes since v2:
* Rename occ.c and occ.h to fsi-occ.c and fsi-occ.h
* Improved remove() ordering in both drivers.
* Added cancel functionality to OCC driver to make sure no xfrs started during
remove().
* Fix spin_unlock with spin_unlock_irq in OCC driver.
* Fix list_first_entry with list_first_entry_or_null in OCC worker function.
* Add OCC response definitions to OCC include file.
* Handle probe() failures better.
Changes since v1:
* Split bindings into separate patch and added SBEFIFO device binding
* Fixed #includes
* Fix SBEFIFO race condition between write() and poll_timer().
* Followed Rob's suggestion to just create one platform device for hwmon
driver, instead of using the device tree.
* Also check for "command in progress" response from OCC and try a while
Edward A. James (6):
dt-bindings: fsi: Add SBEFIFO documentation
drivers: fsi: Add SBEFIFO FSI client device driver
drivers: fsi: sbefifo: Add in-kernel API
dt-bindings: fsi: Add OCC documentation
drivers: fsi: Add On-Chip Controller (OCC) driver
drivers: fsi: occ: Add in-kernel API
.../devicetree/bindings/fsi/ibm,p9-occ.txt | 15 +
.../devicetree/bindings/fsi/ibm,p9-sbefifo.txt | 20 +
drivers/fsi/Kconfig | 17 +
drivers/fsi/Makefile | 2 +
drivers/fsi/fsi-occ.c | 851 ++++++++++++++++++
drivers/fsi/fsi-sbefifo.c | 956 +++++++++++++++++++++
include/linux/fsi-occ.h | 41 +
include/linux/fsi-sbefifo.h | 30 +
8 files changed, 1932 insertions(+)
create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt
create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.txt
create mode 100644 drivers/fsi/fsi-occ.c
create mode 100644 drivers/fsi/fsi-sbefifo.c
create mode 100644 include/linux/fsi-occ.h
create mode 100644 include/linux/fsi-sbefifo.h
--
1.8.3.1
next reply other threads:[~2017-09-22 21:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 21:05 Eddie James [this message]
2017-09-22 21:05 ` [PATCH v3 1/6] dt-bindings: fsi: Add SBEFIFO documentation Eddie James
[not found] ` <1506114362-492-2-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-10-04 20:58 ` Rob Herring
2017-10-04 20:58 ` Rob Herring
2017-09-22 21:05 ` [PATCH v3 2/6] drivers: fsi: Add SBEFIFO FSI client device driver Eddie James
[not found] ` <1506114362-492-3-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-09-29 20:37 ` Andrew Jeffery
2017-09-29 20:37 ` Andrew Jeffery
2017-09-22 21:05 ` [PATCH v3 3/6] drivers: fsi: sbefifo: Add in-kernel API Eddie James
2017-09-22 21:06 ` [PATCH v3 4/6] dt-bindings: fsi: Add OCC documentation Eddie James
[not found] ` <1506114362-492-5-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-10-04 20:59 ` Rob Herring
2017-10-04 20:59 ` Rob Herring
2017-09-22 21:06 ` [PATCH v3 5/6] drivers: fsi: Add On-Chip Controller (OCC) driver Eddie James
2017-09-22 21:06 ` [PATCH v3 6/6] drivers: fsi: occ: Add in-kernel API 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=1506114362-492-1-git-send-email-eajames@linux.vnet.ibm.com \
--to=eajames@linux.vnet.ibm.com \
--cc=andrew@aj.id.au \
--cc=bradleyb@fuzziesquirrel.com \
--cc=cbostic@linux.vnet.ibm.com \
--cc=devicetree@vger.kernel.org \
--cc=eajames@us.ibm.com \
--cc=gregkh@linuxfoundation.org \
--cc=jk@ozlabs.org \
--cc=joel@jms.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.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.