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] Pass the bare LSAPIC ID to dom0

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [Patch] Pass the bare LSAPIC ID to dom0
From: tgingold@xxxxxxx
Date: Mon, 23 Jul 2007 10:20:03 +0200
Cc: Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 23 Jul 2007 01:17:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <50C7CAB1E7CB21takebe_akio@xxxxxxxxxxxxxx>
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: <3DC7C909C4A9A7takebe_akio@xxxxxxxxxxxxxx> <1184887226.7432.228.camel@bling> <20070720015343.GB2540@saphi> <1184897140.7432.239.camel@bling> <50C7CAB1E7CB21takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.5
Quoting Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>:

> Hi, Alex, Tristan, Yongkang and all
>
> >On Fri, 2007-07-20 at 03:53 +0200, Tristan Gingold wrote:
> >> On Thu, Jul 19, 2007 at 05:20:26PM -0600, Alex Williamson wrote:
> >> > On Wed, 2007-07-18 at 16:03 +0900, Akio Takebe wrote:
> >> > > Hi, all
> >> > >
> >> > > This patch fix a issue which dom0 cannot boot with dom0_max_vcpus.
> >> > > Currently LSAPIC IDs are create by xen,
> >> > > but ACPI SRAT table is the bare table.
> >> > > So on some boxes node_cpuid[].phys_id are different from
> >> > > cpu_physical_id()s,
> >> > > and we cannot boot dom0.
> >> > > I think xen should pass the bare LSAPIC ID to dom0.
> >> Hi Akio,
> >>
> >> I am not sure this patch is complete.  Some code of Xen assumes vcpu_id ==
> >> id (get_lid, IPI).
> >> I think you'd better to patch the SRAT (if it is possible).
> >
> >   That may be the way to go, it should be possible.  BTW, now that I
> >look at it again, lsapic->id == 0 really looks like an implementation
> >dependent check.  Thanks,
> I'm sorry, and I'll debug more.
> I'll check vcpu_id and SRAT code.
> Tristan's idea may be good, I'll try it.
Hi,

after more thoughts, I think trying NUMA in dom0 is bound to fail or to be
useless.  Memory mapping is virtualized and vcpu can move...

Tristan.

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