From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id E5F46DE097 for ; Fri, 14 Dec 2007 11:06:54 +1100 (EST) Subject: Re: apm_emulation regression From: Benjamin Herrenschmidt To: "Rafael J. Wysocki" In-Reply-To: <200712140110.44406.rjw@sisk.pl> References: <1197427530.8385.59.camel@pasglop> <1197482587.6558.145.camel@johannes.berg> <200712140110.44406.rjw@sisk.pl> Content-Type: text/plain Date: Fri, 14 Dec 2007 11:04:35 +1100 Message-Id: <1197590675.15741.195.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev list , Johannes Berg , linux-pm , ralf Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2007-12-14 at 01:10 +0100, Rafael J. Wysocki wrote: > > Hmm. > > I'm not that familiar with the APM emulation code, but the description > of the > problem above suggests that the APM emulation can install a suspend > notifier for this purpose. It can use the new notifier that happens before freezing yes. Johannes, I think that's pretty much what my old powermac implementation did (using my private notifier scheme I had there), might be worth reviving that bit and sticking it into the generic apm_emu ... Ben.