Skip to content

Update kernel to latest FMC bus release

Alessandro Rubini lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest5 patches 4 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drivers/fmc: remove unused variabledrivers/fmc/fru-parse.c+1 -24 replies
2/5drivers/fmc: hide fmc operations behind helpersdrivers/fmc/fmc-chardev.c drivers/fmc/fmc-core.c drivers/fmc/fmc-match.c +3 more+87 -190 replies
3/5drivers/fmc: The only way to dump the SDB is from debugfsdrivers/fmc/Makefile drivers/fmc/fmc-core.c drivers/fmc/fmc-debug.c +4 more+195 -1390 replies
4/5drivers/fmc: change registration prototypedrivers/fmc/fmc-core.c include/linux/fmc.h+25 -30 replies
5/5drivers/fmc: carrier can program FPGA on registrationdrivers/fmc/fmc-core.c drivers/fmc/fmc-sdb.c include/linux/fmc.h+43 -30 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPat RieheckyAlessandro Rubini
1/5T-b A-b
2/5T-b A-b
3/5T-b A-b
4/5T-b A-b
5/5T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

Version 3:
fixed From: line to set Federico Vaga as author, added my Acked-by: line.
removed drivers_other@kernel-bugs as recipient (NXDOMAIN)

Version 2 (posted by Pat Riehecky):
added Tested-by: and (incorrect) From:

Comments by Pat, original poster, for version 1:

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

Enhancements:
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 <[email protected]> Initial approver of FMC: Greg KH <[email protected]>

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

--
2.1.4