On Wed, 2018-10-17 at 13:27 -0700, Bart Van Assche wrote:
Although the power management code never calls the system-wide and runtime suspend callbacks concurrently, runtime power state changes can happen while the system is being suspended or resumed. See also the dpm_suspend() and dpm_resume() calls in hibernation_snapshot(). Make sure the sd driver supports this. This patch avoids that the following call trace is reported during system-wide suspend [ ... ]
This patch does not apply cleanly on Martin's 4.20/scsi-queue tree. I will rebase this patch, retest and repost it.
Bart.