mbox series

[v1,0/2] Fix some racing problems btw err_handler and paths like system PM ops and the task abort callback

Message ID 1600752747-31881-1-git-send-email-cang@codeaurora.org
Headers show
Series Fix some racing problems btw err_handler and paths like system PM ops and the task abort callback | expand

Message

Can Guo Sept. 22, 2020, 5:32 a.m. UTC
This series mainly fixes racing problems btw err_handler and paths like
system PM ops, async scan and task abort callback. 

This series has been tested with error/fault injections to system PM
operations, async scan and task abort to the UFS device W-LU.

Can Guo (2):
  scsi: ufs: Serialize eh_work with system PM events and async scan
  scsi: ufs: Fix a racing problem between ufshcd_abort and eh_work

 drivers/scsi/ufs/ufshcd.c | 122 ++++++++++++++++++++++++++++++++--------------
 drivers/scsi/ufs/ufshcd.h |   3 ++
 2 files changed, 89 insertions(+), 36 deletions(-)