[PATCH v1 3/3] scsi: ufs: Utilize Transfer Request List Completion Notification Register

Bean Huo huobean at gmail.com
Mon May 31 09:05:24 PDT 2021


On Mon, 2021-05-24 at 01:36 -0700, Can Guo wrote:
> By reading the UTP Transfer Request List Completion Notification
> Register,
> 
> which is added in UFSHCI Ver 3.0, SW can easily get the compeleted
> transfer
> 
> requests. Thus, SW can get rid of host lock, which is used to
> synchronize
> 
> the tr_doorbell and outstanding_reqs, on transfer requests dispatch
> and
> 
> completion paths. This can further benefit random read/write
> performance.
> 
> 
> 
> Cc: Stanley Chu <stanley.chu at mediatek.com>
> 
> Co-developed-by: Asutosh Das <asutoshd at codeaurora.org>
> 
> Signed-off-by: Asutosh Das <asutoshd at codeaurora.org>
> 
> Signed-off-by: Can Guo <cang at codeaurora.org>

Reviewed-by: Bean Huo <beanhuo at micron.com>




More information about the Linux-mediatek mailing list