Commit 4be793cc authored by Bart Van Assche's avatar Bart Van Assche Committed by Song Feng
Browse files

BACKPORT: scsi: ufs: core: Set the Command Priority (CP) flag for RT requests



Make the UFS device execute realtime (RT) requests before other requests.
This will be used in Android to reduce the I/O latency of the foreground
app.

Note: UFS devices do not support CDL so using CDL is not a viable
alternative.

Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230921192335.676924-5-bvanassche@acm.org


Reviewed-by: default avatarAvri Altman <avri.altman@wdc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>

Bug: 446291561
Bug: 446268286
Bug: 406175090
(cherry picked from commit 00d2fa28)
[LongPing Wei: Resolved minor conflict in drivers/ufs/core/ufshcd.c]
Change-Id: I4d50c3445b97abcf7d2e9efc53abb23c1b4f2022
Signed-off-by: default avatarLongPing Wei <weilongping@oppo.com>
Signed-off-by: default avatarSong Feng <songfeng@oppo.com>
parent 7419dc88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment