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] implemented vcpu_ptc_l()

To: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] implemented vcpu_ptc_l()
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 6 Dec 2005 16:35:06 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Dec 2005 07:35:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <26F44F810A51DF42A127BC2A06BE185E02D57A0B@pdsmsx404>
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: <26F44F810A51DF42A127BC2A06BE185E02D57A0B@pdsmsx404>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, Dec 06, 2005 at 01:31:03PM +0800, Dong, Eddie wrote:

>       I think the para linux does not use ptc, does it on ski?

I disabled CONFIG_SMP manually because ski doesn't support smp.
(And I enabled some configs related to ski.)
para linux with CONFIG_SMP=n uses ptc.l.

Should I enable CONFIG_SMP?
If so, does following patch make sense?

--- linux-2.6-xen-sparse/arch/ia64/Kconfig      2005-12-01 20:12:25.000000000 
+0900
+++ linux-2.6-xen-sparse/arch/ia64/Kconfig_smp  2005-12-06 15:13:35.000000000 
+0900
@@ -49,6 +49,7 @@ config GENERIC_IOMAP
 config XEN
        bool
        default y
+       select SMP
        help
          Enable Xen hypervisor support.  Resulting kernel runs
          both as a guest OS on Xen and natively on hardware.


>       2 comments:
>       a:  Any reason to purge TR?
>       b: I believe there is a single SW TLB entry in non-VTI implementation, 
> if you do that, you'd better to check this too.

TR corresponds to itrs and dtrs. not dtlb, itlb.
dtlb and itlb are SW TLB entries which you mention.

-- 
yamahata

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