drivers: fsi: Fixup SBEFIFO and OCC locking
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 1 replySuperseded
Changes in v2 from the cover letter
* lock the mutex around the transfer deletions in sbefifo_remove. Otherwise, it may free memory that sbefifo_worker is accessing.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drivers: fsi: SBEFIFO: switch to workqueue instead of timerdrivers/ | +32 | 0 replies | |
| 2/3 | drivers: fsi: sbefifo: switch to mutex in work functiondrivers/ | +33 | 0 replies | |
| 3/3 | drivers: fsi: occ: switch to irqsave and irqrestoredrivers/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH linux dev-4.10 v2 0/3] drivers: fsi: Fixup SBEFIFO and OCC locking
This series provides a couple of fixes designed to make the FSI client drivers play nicely with Jeremy's incoming FSI spinlock changes. Firstly, the SBEFIFO driver must switch to use a workqueue instead of a poll timer so that we can avoid spinlocking the entire function. Therefore, the second patch switches to a mutex instead of a spinlock there. Lastly, switch to irqsave and irqrestore functions in the OCC driver to cleanup the locking there.
Changes since v1:
* lock the mutex around the transfer deletions in sbefifo_remove. Otherwise, it may free memory that sbefifo_worker is accessing.
Eddie James (3):
drivers: fsi: SBEFIFO: switch to workqueue instead of timer
drivers: fsi: sbefifo: switch to mutex in work function
drivers: fsi: occ: switch to irqsave and irqrestore
drivers/fsi/fsi-sbefifo.c | 97 +++++++++++++++++++++++++++++++---------------- drivers/fsi/occ.c | 44 +++++++++++---------- 2 files changed, 89 insertions(+), 52 deletions(-)
Signature · 1 line
1.8.3.1