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

[Xen-changelog] [xen-unstable] [IA64] Pass the bare LSAPIC ID to dom0

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Pass the bare LSAPIC ID to dom0
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 09:12:37 -0700
Delivery-date: Fri, 07 Sep 2007 09:15:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1184882213 21600
# Node ID e487cc2491715b6ef86de2af2217d1e6bae0f6be
# Parent  834ac63f4894443dd825ef0d9ef478fb48416d43
[IA64] Pass the bare LSAPIC ID to dom0

This patch fixes an 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.

Instead, pass the bare LSAPIC ID to dom0.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/dom_fw_dom0.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff -r 834ac63f4894 -r e487cc249171 xen/arch/ia64/xen/dom_fw_dom0.c
--- a/xen/arch/ia64/xen/dom_fw_dom0.c   Sun Jul 15 13:40:47 2007 -0600
+++ b/xen/arch/ia64/xen/dom_fw_dom0.c   Thu Jul 19 15:56:53 2007 -0600
@@ -55,12 +55,16 @@ acpi_update_lsapic(acpi_table_entry_head
                enable = 0;
 
        if (lsapic->flags.enabled && enable) {
-               printk("enable lsapic entry: 0x%lx\n", (u64) lsapic);
-               lsapic->id = lsapic_nbr;
-               lsapic->eid = 0;
+               if (lsapic->id == 0) {
+                       lsapic->id = lsapic_nbr;
+                       lsapic->eid = 0;
+               }
                lsapic_nbr++;
+               printk("enable lsapic entry: 0x%lx (id:eid=%x:%x)\n",
+                      (u64)lsapic, lsapic->id, lsapic->eid);
        } else if (lsapic->flags.enabled) {
-               printk("DISABLE lsapic entry: 0x%lx\n", (u64) lsapic);
+               printk("DISABLE lsapic entry: 0x%lx (id:eid=%x:%x)\n",
+                      (u64)lsapic, lsapic->id, lsapic->eid);
                lsapic->flags.enabled = 0;
                lsapic->id = 0;
                lsapic->eid = 0;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Pass the bare LSAPIC ID to dom0, Xen patchbot-unstable <=