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

[Xen-devel] Re: Genapic

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: Genapic
From: Andi Kleen <ak@xxxxxx>
Date: Wed, 18 May 2005 15:57:24 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>
Delivery-date: Wed, 18 May 2005 14:03:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a67841f30afad54270c5b981b773b8c9@xxxxxxxxxxxx> (Keir Fraser's message of "Wed, 18 May 2005 08:34:07 +0100")
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>
References: <EF8D308BE33AF54D8934DF26520252D301CC2605@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <a67841f30afad54270c5b981b773b8c9@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> writes:

> On 17 May 2005, at 22:18, Puthiyaparambil, Aravindh wrote:
>
>> Now that Xen has platform code has been upgraded to be based off of the
>> LK 2.6 code base, it seems that the best way of introducing other
>> platform specific code would be to add "genapic" support. Is anybody
>> working on this? Is the unstable tree ready for this?
>
> I'm not sure what 'genapic' support is, but if you mean porting things
> like mach-es7000 across to Xen, then yes: I think we are now ready for
> that.
>
> Longer term I'd like to make switching between the different mach types a 
> run-time rather than compile-time decision. But that will require a fair bit 
> of modification to the standard Linux way of doing things -- 
> for initial 3.0 I think we'll stick to compile-time switches for
> selecting esoteric platform configurations.

genapic is exactly what you're describing - runtime switching of
subarchitectures. It is done in the "generic" i386 subarchitecture with
some preprocessor hacks. It's called genapic because
it only tries to handle APIC differences, not other very un PC
like architectures like visws or Voyager who have many other
differences too. The common setups (Summit, es7000, big xapic, flat apic)
don't need much more.

Using compile time switches for 3.0 would make it unusable for
distributions who likely won't ship different binaries for
the different low level architectures and force them to do 
genapic like hacks on their own. Better probably to do it right
from the beginning, it is not that hard if you take a look
at the Linux code. 

-Andi

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

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