[GIT PULL] FSI updates round 4 (last) for 4.19
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Jul 27 10:10:57 AEST 2018
Hi Greg !
This adds a few fixes for things reported since the last merge,
and the latch batch of changes pending for FSI for 4.19.
That batch is a rather mechanical conversion of the misc devices
into proper char devices.
The misc devices were ill suited, the minor space for them is
limited and we can have a lot of chips in a system creating FSI
devices.
This also allows us to better control (and fix) object lifetime
getting rid of the bad devm_kzalloc() of the structures containing
the devices etc...
Finally, we add a chardev to the core FSI that provides raw CFAM
access to FSI slaves as a replacement for the current "raw" binary
sysfs file which will be ultimately deprecated and removed.
Thanks !
Ben.
The following changes since commit 0a213777d1dd879092225a7aa847b6e9b3a1c267:
fsi: Add support for device-tree provided chip IDs (2018-07-23 16:27:32 +1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/benh/linux-fsi.git tags/fsi-updates-2018-07-27
for you to fetch changes up to 9840fcd8cc43bfba486a53b4461044f1a1189cdc:
fsi: Prevent multiple concurrent rescans (2018-07-27 09:58:12 +1000)
----------------------------------------------------------------
Benjamin Herrenschmidt (8):
fsi: master-ast-cf: Fix build warnings on 64-bit platforms
fsi: master-ast-cf: Mask unused bits in RTAG/RCRC
fsi: master-ast-cf: Rename dump_trace() to avoid name collision
fsi: Add new central chardev support
fsi: sbefifo: Convert to use the new chardev
fsi: scom: Convert to use the new chardev
fsi: Add cfam char devices
fsi: Prevent multiple concurrent rescans
Gustavo A. R. Silva (1):
fsi: master-ast-cf: Fix memory leak
drivers/fsi/Kconfig | 15 +++
drivers/fsi/fsi-core.c | 375 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
drivers/fsi/fsi-master-ast-cf.c | 24 +++--
drivers/fsi/fsi-master.h | 2 +
drivers/fsi/fsi-sbefifo.c | 84 ++++++++++-----
drivers/fsi/fsi-scom.c | 130 ++++++++++++++---------
include/linux/fsi.h | 12 ++-
7 files changed, 496 insertions(+), 146 deletions(-)
More information about the openbmc
mailing list