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

From: Tejun Heo
Date: Thu Nov 03 2011 - 11:51:51 EST


Hello,

On Thu, Nov 3, 2011 at 8:39 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/