mbox series

[v2,0/2] ufs: core: fix err handler mcq abort defect

Message ID 20240826034509.17677-1-peter.wang@mediatek.com
Headers show
Series ufs: core: fix err handler mcq abort defect | expand

Message

Peter Wang (王信友) Aug. 26, 2024, 3:45 a.m. UTC
From: Peter Wang <peter.wang@mediatek.com>

This series fixes ufshcd_err_handler abort defect in mcq mode.

V2:
 - Change patch description typo.

Peter Wang (2):
  ufs: core: complete scsi command after release
  ufs: core: force reset after mcq abort all

 drivers/ufs/core/ufshcd.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Bart Van Assche Aug. 27, 2024, 3:52 p.m. UTC | #1
On 8/25/24 8:45 PM, peter.wang@mediatek.com wrote:
> When the error handler successfully aborts a MCQ request,
> it only releases the command and does not notify the SCSI layer.
> This may cause another abort after 30 seconds timeout.
> This patch notifies the SCSI layer to requeue the request.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>