Re: [PATCH v7 0/2] scsi: ufs: fix the abort path of device management commands in MCQ mode

From: Martin K. Petersen (Oracle)

Date: Sun Nov 08 2026 - 22:56:13 EST


On Fri, 06 Nov 2026 13:12:45 +0900, Kiwoong Kim wrote:

> This series fixes how a timed-out device management command (query, NOP)
> is aborted in MCQ mode.
>
> Patch 1 makes ufshcd_try_to_abort_task() skip the task management path
> for device management commands and clear them with ufshcd_clear_cmd()
> directly. ufshcd_mcq_abort() sends these commands to
> the QUERY TASK / ABORT TASK path, which is meant for SCSI I/O commands.
> With this change, the SDB path in ufshcd_abort() no longer needs
> its own branch for reserved requests, so that branch is removed.
>
> [...]

Applied to 7.4/scsi-fixes, thanks!

[1/2] scsi: ufs: core: skip ABORT TASK for device management commands
https://git.kernel.org/mkp/scsi/c/30bdadc9aa3a
[2/2] scsi: ufs: mcq: poll OCS after sq cleanup for device management commands
https://git.kernel.org/mkp/scsi/c/e510b597d8af

--
Martin K. Petersen