fsi: sbefifo: Use interruptible mutex locking
authorEddie James <eajames@linux.ibm.com>
Tue, 3 Aug 2021 21:30:16 +0000 (16:30 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 23:24:33 +0000 (09:54 +1030)
commit7cc2f34e1f4da07c791737cc6b3d965b31815ea0
treee50403dda50eb75d40fe454ede2b88377c76be51
parent826280348ec68cefeb7c3cc3689f6cafcd31c832
fsi: sbefifo: Use interruptible mutex locking

Some SBE operations have extremely large responses and can require
several minutes to process the response. During this time, the device
lock must be held. If another process attempts an operation, it will
wait for the mutex for longer than the kernel hung task watchdog
allows. Therefore, use the interruptible function to lock the mutex.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210803213016.44739-1-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-sbefifo.c