Re: [RFC PATCH v2 2/2] scsi: ufs: Fix deadlock while suspending ufs host

From: Asutosh Das
Date: Thu Jan 28 2021 - 11:41:35 EST


On Thu, Jan 28 2021 at 04:21 -0800, Avri Altman wrote:

During runtime-suspend of ufs host, the scsi devices are
already suspended and so are the queues associated with them.
But the ufs host sends SSU to wlun during its runtime-suspend.
Do you possible meant: "sends request-sense while clearing UAC to...."


The idea was to show that there's a scsi command that's sent during
suspend which may deadlock.

Yes, I agree to your comment and would change the message to reflect it in
the next version.


Thanks,
Avri