Commit bd4a8425 authored by Bean Huo's avatar Bean Huo Committed by Bart Van Assche
Browse files

UPSTREAM: core: Add L2P entry swap quirk for Micron UFS

For Micron UFS devices the L2P entry need to be byteswapped before sending
an HPB READ command to the UFS device. Add the quirk
UFS_DEVICE_QUIRK_SWAP_L2P_ENTRY_FOR_HPB_READ to address this.

Link: https://lore.kernel.org/r/20210804182128.458356-2-huobean@gmail.com


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

(cherry picked from commit 63522bf3)
Signed-off-by: default avatarLuca Porzio <porzio@gmail.com>
Change-Id: I69cfa43c5439e8cace4fe5b2760a38b43d734621
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 44b33953
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment