Re: [PATCH 0/9] Rework runtime suspend and SCSI domain validation
From: Martin Kepplinger <martink@posteo.de>
Date: 2020-09-29 12:43:52
Also in:
linux-scsi
On 19.09.20 05:45, Bart Van Assche wrote:
On 2020-09-05 18:22, Bart Van Assche wrote:quoted
The SCSI runtime suspend and domain validation mechanisms both use scsi_device_quiesce(). scsi_device_quiesce() restricts blk_queue_enter() to BLK_MQ_REQ_PREEMPT requests. There is a conflict between the requirements of runtime suspend and SCSI domain validation: no requests must be sent to runtime suspended devices that are in the state RPM_SUSPENDED while BLK_MQ_REQ_PREEMPT requests must be processed during SCSI domain validation. This conflict is resolved by reworking the SCSI domain validation implementation. Hybernation and runtime suspend have been retested but SCSI domain validation not yet.Hi Martin and James, Please advise how to proceed with this patch series. This patch series includes an important fix for runtime power management. Unfortunately the only way to fix runtime powermanagement is by reworking SPI DV and I don't have access to a setup on which I can test the SPI DV changes. Thanks, Bart.
I only have my setup: SD cardreader connected via USB. I run this series which fixes runtime PM in the block layer for me. Sidenote: I need the following hack for my particular device too: https://lore.kernel.org/linux-scsi/20200824190400.12339-1-martin.kepplinger@puri.sm/ (local) I hope someone else can test the rest for us! thanks for working on this, martin