From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH v2.6.38-rc7] Revert "libata: ahci_start_engine compliant to AHCI spec" Date: Wed, 18 May 2011 21:44:37 +0200 Message-ID: <201105182144.37713.rjw__9543.23679111457$1305747956$gmane$org@sisk.pl> References: <201105120025.34531.rjw@sisk.pl> <20633.1305565337@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Jian Peng Cc: Valdis.Kletnieks@vt.edu, Michael Leun , LKML , linux-ide@vger.kernel.org, Tejun Heo , Linux PM mailing list , Jeff Garzik List-Id: linux-pm@vger.kernel.org On Wednesday, May 18, 2011, Jian Peng wrote: > Hi, Valdis/Rafael/Michael, > > Could you help me test the following change? > > After reverting 81ca7e4, add 5ms delay as follow since that seems also > fixing the issue on my SATA host controller that requires 81ca7e4. > > In drivers/ata/libahci.c, inside ahci_hardreset() function, > > > 1333 > ahci_start_engine > (ap > ); > > msleep(5);1334 > 1335 > if > (online )1336 > > *class = ahci_dev_classify > (ap > ); > > Since my host controller requires time to switch internal state to be ready. > Please let me know your testing result. Could you simply post a patch? Rafael