Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbVLINJh (ORCPT ); Fri, 9 Dec 2005 08:09:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751309AbVLINJh (ORCPT ); Fri, 9 Dec 2005 08:09:37 -0500 Received: from anf141.internetdsl.tpnet.pl ([83.17.87.141]:60106 "EHLO anf141.internetdsl.tpnet.pl") by vger.kernel.org with ESMTP id S1751282AbVLINJg (ORCPT ); Fri, 9 Dec 2005 08:09:36 -0500 From: "Rafael J. Wysocki" To: "Jan Beulich" Subject: Re: 2.6.15-rc5-mm1 (x86_64-hpet-overflow.patch breaks resume from disk) Date: Fri, 9 Dec 2005 14:10:53 +0100 User-Agent: KMail/1.9 Cc: "Andrew Morton" , "Andi Kleen" , linux-kernel@vger.kernel.org, discuss@x86-64.org References: <20051204232153.258cd554.akpm@osdl.org> <200512091220.06060.rjw@sisk.pl> <439989A7.76F0.0078.0@novell.com> In-Reply-To: <439989A7.76F0.0078.0@novell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512091410.54059.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1262 Lines: 38 On Friday, 9 December 2005 13:41, Jan Beulich wrote: > >>> "Rafael J. Wysocki" 09.12.05 12:20:05 >>> > >On Friday, 9 December 2005 10:15, Jan Beulich wrote: > >> It's a possible way to address this, but I'd rather just set a flag > >> indicating that the last-whatever values should not be considered > (to > >> get into a state just like after initial boot). Jan > > > >OK, but what is the interrupt handler supposed to do if the > >vxtime.last* values are invalid? I guess assume delta = 0? > > As I said, the state should be (re)set to whatever is in effect at > boot. > > >BTW, in the interrupt handler there is: > > > > __asm__("mulq %1\n\t" > > "shrdq $32, %%rdx, %0" > > : "+a" (delta) > > : "rm" (vxtime.tsc_quot) > > : "rdx"); > > > >Is the "+a" a typo? > > Why would you think so? Well, "=" is usually used in that context and "+", "=" are on the same key. ;-) Rafael -- Beer is proof that God loves us and wants us to be happy - Benjamin Franklin - 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/