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:Avri Altman <avri.altman@wdc.com> Signed-off-by:
Bean Huo <beanhuo@micron.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> (cherry picked from commit 63522bf3) Signed-off-by:
Luca Porzio <porzio@gmail.com> Change-Id: I69cfa43c5439e8cace4fe5b2760a38b43d734621 Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment