Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757120AbZKBWWy (ORCPT ); Mon, 2 Nov 2009 17:22:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756898AbZKBWWy (ORCPT ); Mon, 2 Nov 2009 17:22:54 -0500 Received: from gate.crashing.org ([63.228.1.57]:45146 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756769AbZKBWWw (ORCPT ); Mon, 2 Nov 2009 17:22:52 -0500 Subject: Re: Help needed, Re: [Bug #14334] pcmcia suspend regression from 2.6.31.1 to 2.6.31.2 - Dell Inspiron 600m From: Benjamin Herrenschmidt To: "Rafael J. Wysocki" Cc: Linus Torvalds , Linux Kernel Mailing List , Kernel Testers List , Greg Kroah-Hartman , Jose Marino , ACPI Devel Maling List , Linux PCI , Dominik Brodowski In-Reply-To: <200911021439.28266.rjw@sisk.pl> References: <200911010936.10409.rjw@sisk.pl> <200911021439.28266.rjw@sisk.pl> Content-Type: text/plain; charset="UTF-8" Date: Tue, 03 Nov 2009 09:22:03 +1100 Message-ID: <1257200523.7907.53.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1181 Lines: 31 On Mon, 2009-11-02 at 14:39 +0100, Rafael J. Wysocki wrote: > > > That socket _is_ going to be suspended, and testing for it here just seems > > to confuse things. > > > > So I'd remove it from both early_resume and late_resume, and only keep it > > in the case of the legacy user-requested suspend/resume (do we even do > > that any more?). > > OK, updated patch is appended. Test by me delayed to tomorrow ... hit another suspend/resume bug on that laptop which took away the time I had to do that test yesterday and today I'm off :-) (Bug was simple but took a while to track down: machine was left in storage for a while, battery ran out, RTC went back to Jan 1, 1904, which means a negative xtime, and the new timekeeping code will do horrible things including hanging at resume when that happens. Fix is to make powerpc read_persistent_clock() to ignore the RTC when it contains a date older than epoch). Cheers, Ben. -- 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/