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
- [PATCH v2 0/5] blk-mq: Enable runtime power management Bart Van Assche
- [PATCH v2 1/5] block: Fix a comment in a header file Bart Van Assche
- [PATCH v2 3/5] block: Serialize queue freezing and bl... Bart Van Assche
- Re: [PATCH v2 3/5] block: Serialize queue freezin... jianchao.wang
- Re: [PATCH v2 3/5] block: Serialize queue fre... Bart Van Assche
- [PATCH v2 5/5] blk-mq: Enable support for runtime pow... Bart Van Assche
- [PATCH v2 4/5] block, scsi: Rework runtime power mana... Bart Van Assche
- Re: [PATCH v2 4/5] block, scsi: Rework runtime po... jianchao.wang
- Re: [PATCH v2 4/5] block, scsi: Rework runtim... jianchao.wang
- Re: [PATCH v2 4/5] block, scsi: Rework ru... jianchao.wang
- Re: [PATCH v2 4/5] block, scsi: Rework runtim... Bart Van Assche
- Re: [PATCH v2 4/5] block, scsi: Rework ru... jianchao.wang
- Re: [PATCH v2 4/5] block, scsi: Rewo... Bart Van Assche
- Re: [PATCH v2 4/5] block, scsi: ... jianchao.wang
- Re: [PATCH v2 4/5] block, sc... Bart Van Assche
- Re: [PATCH v2 4/5] block, scsi: Rewo... Bart Van Assche
- Re: [PATCH v2 4/5] block, scsi: ... jianchao.wang
- [PATCH v2 2/5] block: Move power management functions... Bart Van Assche
