Re: [PATCH 2/3] scsi: add hooks for host runtime power management

Tejun Heo
2011-11-03T15:51:46Z

Hello,

On Thu, Nov 3, 2011 at 8:39 AM, Alan Stern <stern@rowland.harvard.edu> wrote:
>> I don't know. I haven't really thought about it but as it's currently
>> designed, I don't think it'll be possible to avoid going through EH to
>> put ATA ports into suspend mode.
>
> Why not?

It's just how things are designed now. There's no reason why it's
fundamentally impossible but going around that would require some
amount of hackery or preferably re-design. Synchronization against
command processing, interrupts and all are built around EH.

Thanks.

--
tejun