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] RFC: ptc.ga implementation for SMP-g

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] RFC: ptc.ga implementation for SMP-g
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Tue, 4 Apr 2006 15:16:16 +0100
Delivery-date: Tue, 04 Apr 2006 07:12:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF3809A1@pdsmsx405>
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>
References: <2BF508F394C196468CCBEC031320DCDF3809A1@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mardi 04 Avril 2006 15:56, Xu, Anthony a écrit :
> Hi Tristan,
> Sorry for late response.
>
> Let's first make sure our understanding of ptc.ga is correct.
> Assume there are two LPs on one box, we call them LP1 and LP2,
> And rr7=0x107 on LP1, rr7=0x207 on LP2,
> And below code segment is executed at LP1
>       movl    R2=0xe000000000000000;
>      mov r3=16<<2;
>       ptc.ga r2,r3;
> The result on LP1 is, all tlb entries with rid=0x107 which are overlapped
> with (0xe000000000000000~0xe000000000010000) are purged.
> The result on LP2 should be same with that on LP1.
>
> But according to this patch,
> The result on LP2 is, all tlb entries with rid=0x207 which are overlapped
> with (0xe000000000000000~0xe000000000010000) are purged.
> This is not the desirable result of ptc.ga.
>
> IMO, when using IPI to emulate ptc.ga, the related rid should be passed to
> other LPs as a parameter.
dtlb and itlb are cleared unconditionnaly.
However you are right, the VHPT entry is not the good one.  I think this is a 
good reason not to do it with the IPI, but to clear directly the entry.

Tristan.


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

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