mbox series

[linux,dev-4.10,0/3] drivers: fsi: Fixup SBEFIFO and OCC locking

Message ID 1517609507-20687-1-git-send-email-eajames@linux.vnet.ibm.com
Headers show
Series drivers: fsi: Fixup SBEFIFO and OCC locking | expand

Message

Eddie James Feb. 2, 2018, 10:11 p.m. UTC
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.

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 | 94 ++++++++++++++++++++++++++++++-----------------
 drivers/fsi/occ.c         | 44 ++++++++++++----------
 2 files changed, 86 insertions(+), 52 deletions(-)