[PATCH 0/5] Update kernel to latest FMC bus release

From: Pat Riehecky
Date: Fri Jun 30 2017 - 12:15:32 EST


The following patches sync up the mainline kernel's FMC bus with the upstream release tagged v2017-06.

Commits (written by Federico Vaga) have been squashed into logical units.

These patches address kernel bug 195653.

These specific changes have been live within the FMC repo since 2015 and in active use by FMC projects since then.

The patches include 1 bugfix and 4 enhancements:

Bugfix:
0001-fmc-remove-unused-variable.patch - remove an unused int

Enhancement:
0002-fmc-hide-fmc-operations-behind-helpers.patch - user helper functions to hide internal semantics
0003-fmc-The-only-way-to-dump-the-SDB-is-from-debugfs.patch - use debugfs to dump the device
0004-fmc-change-registration-prototype.patch - add a second prototype for device registration
0005-fmc-carrier-can-program-FPGA-on-registration.patch - permit programming the FPGA on registration


Upstream git repo: http://www.ohwr.org/projects/fmc-bus/repository/show?rev=fmc-bus-v2017-06


FMC maintainer: Alessandro Rubini <rubini@xxxxxxxxx>
Initial approver of FMC: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
Bugzilla assigned to: drivers_other@xxxxxxxxxxxxxxxxxxxx


Federico Vaga (5):
drivers/fmc: remove unused variable
drivers/fmc: hide fmc operations behind helpers
drivers/fmc: The only way to dump the SDB is from debugfs
drivers/fmc: change registration prototype
drivers/fmc: carrier can program FPGA on registration

drivers/fmc/Makefile | 1 +
drivers/fmc/fmc-chardev.c | 3 +-
drivers/fmc/fmc-core.c | 95 ++++++++++++++++++++--
drivers/fmc/fmc-debug.c | 173 +++++++++++++++++++++++++++++++++++++++++
drivers/fmc/fmc-dump.c | 41 ----------
drivers/fmc/fmc-match.c | 2 +-
drivers/fmc/fmc-private.h | 9 +++
drivers/fmc/fmc-sdb.c | 119 ++++++----------------------
drivers/fmc/fmc-trivial.c | 20 ++---
drivers/fmc/fmc-write-eeprom.c | 8 +-
drivers/fmc/fru-parse.c | 3 +-
include/linux/fmc.h | 39 +++++++++-
12 files changed, 349 insertions(+), 164 deletions(-)
create mode 100644 drivers/fmc/fmc-debug.c
create mode 100644 drivers/fmc/fmc-private.h

--
1.8.3.1