Re: [PATCH] ata: libata-scsi: Avoid deadlock on rescan after device resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15.06.23 10:35, Damien Le Moal wrote:
On 6/15/23 17:33, Damien Le Moal wrote:
Joe, Kai-Heng,

I cannot recreate the issue on my test machines. So it would be great if you
could test this new candidate fix.

Thank you for looking into this!

I've tried this patch against 6.3.4 on the affected machine, and it looks like a full success. Suspend/resume work without any deadlocks, and the optical drive stays usable after resuming.

Since the patch and discussion around it mentions async vs 'guaranteed order' power management: My original tests (without any patch) were with both pm_async=0 and pm_async=1, no difference on my affected system.
Also, with pm_trace=1, which is documented to imply pm_async=0.

Reported-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
Reported-by: Joe Breuer <linux-kernel@xxxxxxxxxxxx>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217530
Fixes: a19a93e4c6a9 ("scsi: core: pm: Rely on the device driver core for async power management")
Signed-off-by: Damien Le Moal <dlemoal@xxxxxxxxxx>

Tested-by: <linux-kernel@xxxxxxxxxxxx>




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux