On Mon, 24 Aug 2020 19:07:04 -0700, Can Guo wrote: > PA Layer issues a LINERESET to the PHY at the recovery step in the Power > Mode change operation. If it happens during auto or mannual hibern8 enter, > even if hibern8 enter succeeds, UFS power mode shall be set to PWM-G1 mode > and kept in that mode after exit from hibern8, leading to bad performance. > Handle the LINERESET in the eh_work by restoring power mode to HS mode > after all pending reqs and tasks are cleared from doorbell. > > [...] Applied to 5.10/scsi-queue, thanks! [1/2] scsi: ufs: Abort tasks before clearing them from doorbell https://git.kernel.org/mkp/scsi/c/307348f6ab14 [2/2] scsi: ufs: Handle LINERESET indication in err handler https://git.kernel.org/mkp/scsi/c/2355b66ed20c -- Martin K. Petersen Oracle Linux Engineering