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] [linux-2.6.18-xen] Xen dom0 arbitrarily assigns APIC ID

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] Xen dom0 arbitrarily assigns APIC ID x to CPU ID x. Make dom0 also
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2008 06:00:35 -0800
Delivery-date: Mon, 18 Feb 2008 06:02:53 -0800
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203069666 0
# Node ID 0034d9389130969f9452b76370f76394e10238b8
# Parent  d9eaaff9a9bdb37b1aec92e071dc47e038bbd2c5
Xen dom0 arbitrarily assigns APIC ID x to CPU ID x.  Make dom0 also
assign the APIC ID to ACPI ID mapping in the same way.
Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxx>
---
 drivers/xen/core/smpboot.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r d9eaaff9a9bd -r 0034d9389130 drivers/xen/core/smpboot.c
--- a/drivers/xen/core/smpboot.c        Thu Feb 14 09:25:05 2008 +0000
+++ b/drivers/xen/core/smpboot.c        Fri Feb 15 10:01:06 2008 +0000
@@ -269,6 +269,7 @@ void __init smp_prepare_cpus(unsigned in
 
        cpu_2_logical_apicid[0] = 0;
        x86_cpu_to_apicid[0] = 0;
+       x86_acpiid_to_apicid[0] = 0;
 
        current_thread_info()->cpu = 0;
 
@@ -317,6 +318,7 @@ void __init smp_prepare_cpus(unsigned in
 
                cpu_2_logical_apicid[cpu] = cpu;
                x86_cpu_to_apicid[cpu] = cpu;
+               x86_acpiid_to_apicid[cpu] = cpu;
 
                idle = fork_idle(cpu);
                if (IS_ERR(idle))

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] Xen dom0 arbitrarily assigns APIC ID x to CPU ID x. Make dom0 also, Xen patchbot-linux-2.6.18-xen <=