[PATCH v8 3/3] ufs: core: add a quirk for MediaTek SDB mode aborted

Bart Van Assche bvanassche at acm.org
Tue Sep 24 12:36:45 PDT 2024


On 9/24/24 1:51 AM, Peter Wang (王信友) wrote:
> Is there any corner case that I might have overlooked?

Maybe I misunderstood how MediaTek controllers work. Anyway, if a
MediaTek controller reports the completion status OCS_ABORTED, is
there any chance that this status will be reported after
ufshcd_release_scsi_cmd() has been called? Is there any chance that
the controller writing OCS_ABORTED into the status field will race
with the host software overwriting that status field while submitting
a new command?

Thanks,

Bart.




More information about the Linux-mediatek mailing list