[PATCH v3 0/2] ufs: core: fix ufshcd_abort_all racing issue
peter.wang at mediatek.com
peter.wang at mediatek.com
Fri Jun 28 00:00:28 PDT 2024
From: Peter Wang <peter.wang at mediatek.com>
This series fixes race condition KE in ufshcd_err_handler, which call
ufshcd_abort_all abort an already completed request by ISR in MCQ mode.
V3:
- Modify ufshcd_mcq_req_to_hwq to distinguish cmd is completed or not
- Split two patches and add more race description.
V2:
- Change patch description and add Fixes/Cc tag
Peter Wang (2):
ufs: core: fix ufshcd_clear_cmd racing issue
ufs: core: fix ufshcd_abort_one racing issue
drivers/ufs/core/ufs-mcq.c | 11 ++++++-----
drivers/ufs/core/ufshcd.c | 2 ++
2 files changed, 8 insertions(+), 5 deletions(-)
--
2.18.0
More information about the Linux-mediatek
mailing list