mbox series

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

Message ID 1605596660-2987-1-git-send-email-cang@codeaurora.org (mailing list archive)
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 Nov. 17, 2020, 7:04 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.

Change since v2:
- Added one more minor change into this series.

Change since v1:
- Removed Change-Id from commit msg

Can Guo (3):
  scsi: ufs: Serialize eh_work with system PM events and async scan
  scsi: ufs: Fix a racing problem between ufshcd_abort and eh_work
  scsi: ufs: Print host regs in IRQ handler when AH8 error happens

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