WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [PATCH] fix ptc.ga emulation

To: Kouya SHIMURA <kouya@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] fix ptc.ga emulation
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Mon, 14 May 2007 16:30:11 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 14 May 2007 15:28:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200705140314.l4E3EQtK028118@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <200705140314.l4E3EQtK028118@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2007-05-14 at 12:14 +0900, Kouya SHIMURA wrote:
> cset14829(c42ae7839750) was incomplete.
> 
> The region register 0 will be clobbered as follows.
> 
> time  pcpu0   pcpu1   pcpu2
>  |    vcpu0   vcpu1   idle  // assignment of vcpu
>  V
>       1.vcpu0 issues ptc.ga
>       2.vcpu0 sends IPI to vcpu1(pcpu1)
>               3.vcpu1 migrates from pcpu1 to pcpu2
>               4.pcpu1 receives IPI of 2 and exec ptc_ga_remote_func()
>               5.pcpu1 saves and modifies vrr[0]
>                       6.vcpu1(pcpu2) modifies vrr[0]
>               7.pcpu1 restores vrr[0]         // vrr[0] of 6 is lost
> 
> Windows will crash due to this issue.
> 

   Applied.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>