Thread (18 messages) 18 messages, 2 authors, 2018-08-02

Re: [PATCH v2 4/5] block, scsi: Rework runtime power management

From: jianchao.wang <hidden>
Date: 2018-07-26 08:44:21


On 07/26/2018 03:52 PM, jianchao.wang wrote:
In addition, .runtime_suspend is invoked under spinlock and irq-disabled.
So sleep is forbidden here.
Please refer to rpm_suspend

* This function must be called under dev->power.lock with interrupts disabled
__rpm_callback will unlock the spinlock before invoke the callback.
Sorry for the noise.

Thanks
Jianchao
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help