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-devel

RE: [Xen-devel] Genapic

To: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, "Andi Kleen" <ak@xxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Genapic
From: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
Date: Wed, 18 May 2005 13:44:45 -0400
Cc: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Davis, Jason" <jason.davis@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>
Delivery-date: Wed, 18 May 2005 17:44:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVbyqB1kbqS5ryTTu6Rk84K2nLwZQAAUR7gAADf3dA=
Thread-topic: [Xen-devel] Genapic
I am a little confused here. When you say XenLinux I am assuming you are
talking about the Linux user kernels which have Xen patches. Why would
we even turn on the mach specific features in the user kernels?

I would think that that the mach specific code needs to reside in the
Xen hypervisor itself. It at the moment has unified apic.c/io_apic.c for
x86_32 and x86_64 platforms. Don't we to add genapic code in there? Or
am I wrong on this? Maybe I need more coffee :-)

Aravindh

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Nakajima,
Jun
Sent: Wednesday, May 18, 2005 1:22 PM
To: Andi Kleen; Keir Fraser
Cc: Subrahmanian, Raj; Davis, Jason; xen-devel@xxxxxxxxxxxxxxxxxxx;
Vessey, Bruce A
Subject: RE: [Xen-devel] Genapic

Andi Kleen wrote:
>> Shared platform code (apics and the like) has been remarkably simple.
>> This is to be expected:  processor differences aside, i386 and x86/64
>> are identical platforms. So, for example, fixing Xen's smpboot.c
> 
> No, they are not. x86-64 is a vastly simplified "modern x86 only with
> minimal bugs" platform, while i386 is a "workarounds for every bug
> under the sun and all ancient features plus some non PC architectures"
> mixed bag of stuff. This leads to many differences in details.
> 
> One bigger difference is that x86-64 is also normally NUMA enabled,
> while i386 normally is not. There are some others too.
> 
> -Andi
> 
I think in the long-term we want to have a unified code for
pic.c/io_apic.c in XenLinux, but we don't want to redo the dubugging and
testing that have already been done by Linux side (I know it's very
painful). We also want the same platform support in XenLinux as the
native Linux does; if we unify them today, we probably lose some
machines. This leads us to separate apic.c/io_apic.c for x86 and x86-64
XenLinux (that's the current plan), because debugging on various
platforms is more painful (even not realistic) than maintaining the
different code for x86 and x86-64 at this point. 

Jun

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


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

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

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