From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933811Ab1KCPvu (ORCPT ); Thu, 3 Nov 2011 11:51:50 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:33374 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932263Ab1KCPvr (ORCPT ); Thu, 3 Nov 2011 11:51:47 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 3 Nov 2011 08:51:46 -0700 X-Google-Sender-Auth: _BY9lz73Z5EMDyZpShBM-mWpZw8 Message-ID: Subject: Re: [PATCH 2/3] scsi: add hooks for host runtime power management From: Tejun Heo To: Alan Stern Cc: Lin Ming , "linux-kernel@vger.kernel.org" , "linux-ide@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-pm@vger.kernel.org" , Jeff Garzik , "Rafael J. Wysocki" , James Bottomley , "Huang, Ying" , "Zhang, Rui" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Nov 3, 2011 at 8:39 AM, Alan Stern 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