[PATCH v4 2/2] ufs: core: requeue aborted request

Peter Wang (王信友) peter.wang at mediatek.com
Wed Sep 18 06:30:37 PDT 2024


On Sat, 2024-09-14 at 09:13 -0700, Bart Van Assche wrote:
>  	 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>  On 9/10/24 11:03 PM, Peter Wang (王信友) wrote:
> > This statement is not quite accurate becasue in UFSHIC2.1, SDB mode
> > specification already have OCS: ABORTED (0x6) define.
> 
> I think I found why that status code is defined in the UFSHCI 2.1
> standard. From the UFS 2.0 standard: "TASK ABORTED - This status
> shall
> be returned when a command is aborted by a command or task management
> function on another I_T nexus and the Control mode page TAS bit is
> set
> to one. Since in UFS there is only one I_T nexus and TAS bit is zero
> TASK ABORTED status codes will never occur."
> 
> Bart.
> 


Hi Bart,

Okay, I think this is a very good reason that explains 
why UFSHCI2.1 has defined OCS: ABORTED. Thank you for sharing 
this information.

Thanks.
Peter


More information about the Linux-mediatek mailing list