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

Eddie James eajames at linux.vnet.ibm.com
Sat Feb 3 09:11:44 AEDT 2018


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(-)

-- 
1.8.3.1



More information about the openbmc mailing list