From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] xen: fix s3 resume on AMD CPUs Date: Tue, 16 Jun 2009 10:52:52 +0200 Message-ID: <200906161052.53352.Christoph.Egger@amd.com> References: <200906151733.02897.Christoph.Egger@amd.com> <4A3774610200007800005DF7@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A3774610200007800005DF7@vpn.id2.novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org On Tuesday 16 June 2009 10:30:57 Jan Beulich wrote: > >>> Christoph Egger 15.06.09 17:33 >>> > > > >@@ -174,8 +177,11 @@ wakeup_64: > > mov $(__HYPERVISOR_DS64), %eax > > mov %eax, %ds > > > >- # long jump to return point, with cs reload > >- rex64 ljmp *ret_point(%rip) > >+ /* Continue with wakeup in the high-level wakeup code. > >+ * Reload cs there. > >+ */ > >+ movq ret_point(%rip), %rbx > >+ jmp *%rbx > > > > .align 8 > > ret_point: > > Why do you add a comment ("Reload cs here") here that is not in sync with > the changed code? Re-read: You missed the "t" :) Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632