drivers: fsi: client fixes and refactor
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest31 patches 10 repliesIn review
- v331 patches 37 repliesSuperseded
- v29 patches 17 repliesSuperseded
Changes in v4 from the cover letter
* switch checks for OCC client NULL to the common read/write/close functions.
* add helper function for ugly wait_event_interruptible in OCC read().
* removed useless check for cancel in occ open().
Patches in v4 No applies recorded yet
Reviews trailers per patch
30 of 31 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH linux dev-4.10 v4 00/31] drivers: fsi: client fixes and refactor
From: "Edward A. James" <[email protected]>
This series refactors the FSI client device drivers. It adds a number of fixes discovered from bugs over the past several months. Most critically, it fixes various race conditions in the unbind/remove pathway of the occ-hwmon, occ, and sbefifo drivers.
Apologies for spamming the list with so many patches...
Changes since v3:
* switch checks for OCC client NULL to the common read/write/close functions.
* add helper function for ugly wait_event_interruptible in OCC read().
* removed useless check for cancel in occ open().
Changes since v2:
* split "General clean-up" patches into many more patches
* Change to wake_up_all() in various places
* Set sbe pointer NULL and add check in occ-hwmon. For race safety.
Changes since v1:
* split into multiple patches.
* add memory management patch.
Edward A. James (31):
drivers: fsi: sbefifo: Fix includes
drivers: fsi: sbefifo: Use a defined reschedule length
drivers: fsi: sbefifo: Use __be32 for big endian values
drivers: fsi: sbefifo: white space fixes
drivers: fsi: sbefifo: replace awkward wait_event expression
drivers: fsi: sbefifo: remove redundant function
drivers: fsi: sbefifo: Use goto to reduce put statements
drivers: fsi: sbefifo: Do an earlier get_client call
drivers: fsi: sbefifo: Remove warning and user data access check
drivers: fsi: sbefifo: destroy the ida list on exit
drivers: fsi: sbefifo: Fix module authors and comments
drivers: fsi: sbefifo: Fix include guards in header file
drivers: fsi: SBEFIFO: Fix probe() and remove()
drivers: fsi: SBEFIFO: check for xfr complete in read wait_event
drivers: fsi: occ: Fix includes
drivers: fsi: occ: Fix errant kfree calls
drivers: fsi: occ: remove unused occ_command structure
drivers: fsi: occ: Use big-endian values
drivers: fsi: occ: Return ENODEV if client is NULL
drivers: fsi: occ: Remove early user buffer checking
drivers: fsi: occ: Switch to more logical errnos
drivers: fsi: occ: fix white space and bracket problems
drivers: fsi: occ: Destroy the ida list on exit
drivers: fsi: occ: Remove unnecessary platform_set_drvdata call
drivers: fsi: occ: Add comments for clarity
drivers: fsi: occ: Add OCC response definitions to header
drivers: fsi: occ: Poll while receiving "command in progress"
drivers: fsi: occ: Add cancel to remove() and fix probe()
drivers: fsi: occ: Fix client memory management drivers/hwmon/occ: Remove repeated ops for OCC command in progress
drivers: hwmon: occ: Cancel occ operations in remove()
drivers/fsi/fsi-sbefifo.c | 311 +++++++++++++++++++++------------------ drivers/fsi/occ.c | 345 ++++++++++++++++++++++++++------------------ drivers/hwmon/occ/p9_sbe.c | 47 +++--- include/linux/fsi-sbefifo.h | 6 +- include/linux/occ.h | 20 ++- 5 files changed, 426 insertions(+), 303 deletions(-)
Signature · 1 line
1.8.3.1