Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932228AbWB1POi (ORCPT ); Tue, 28 Feb 2006 10:14:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932222AbWB1POi (ORCPT ); Tue, 28 Feb 2006 10:14:38 -0500 Received: from mail.dvmed.net ([216.237.124.58]:57738 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S932155AbWB1POh (ORCPT ); Tue, 28 Feb 2006 10:14:37 -0500 Message-ID: <440468DB.5060605@pobox.com> Date: Tue, 28 Feb 2006 10:14:35 -0500 From: Jeff Garzik User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hannes Reinecke CC: Linux Kernel , linux-ide@vger.kernel.org Subject: Re: [PATCH] Fixup ahci suspend / resume References: <44045FB1.5040408@suse.de> In-Reply-To: <44045FB1.5040408@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1211 Lines: 32 Hannes Reinecke wrote: > From: Hannes Reinecke > Subject: AHCI suspend / resume fixes. > > The current ahci driver has the problem that it doesn't resume properly. > Or rather, that resuming is unstable. > Reason being is that AHCI has 4 registers containing the DMA address it > should write things to. Of course there is no guarantee that Linux has > assigned the same address to the DMA area across reboots. > So we should better re-initialize those registers after resume. > > The patch also improves the port_start / port_stop routines to be more > closely modelled after the spec. This also avoids a nasty msleep(500) > during initialisation. > > Signed-off-by: Hannes Reinecke Seems sane at first glance, but can you please regenerate this against libata-dev.git#upstream ? Upstream 2.6.x doesn't care at all about suspend/resume, and AHCI has seen several modifications in #upstream that are waiting for 2.6.17. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/