From: Mark Langsdorf <mark.langsdorf@amd.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] limit ACPIID to APICID reset to AMD machines
Date: Fri, 29 Feb 2008 13:02:31 -0600 [thread overview]
Message-ID: <200802291302.32010.mark.langsdorf@amd.com> (raw)
Testing by Red Hat show that changeset:0034d9389130 causes regressions
on Intel machines that don't use APIC ID lifting but that do have a
strange ACPI to APIC numbering.
Modify the patch so that it only applies to AMD machines.
-Mark Langsdorf
Operating System Research Center
AMD
Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
diff -r 49ffe9ef67d4 drivers/xen/core/smpboot.c
--- a/drivers/xen/core/smpboot.c Fri Feb 29 10:29:13 2008 +0000
+++ b/drivers/xen/core/smpboot.c Fri Feb 29 12:54:47 2008 -0600
@@ -276,7 +276,8 @@ void __init smp_prepare_cpus(unsigned in
cpu_2_logical_apicid[0] = 0;
x86_cpu_to_apicid[0] = 0;
- set_x86_acpiid_to_apicid(0, 0);
+ if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
+ set_x86_acpiid_to_apicid(0, 0);
current_thread_info()->cpu = 0;
@@ -325,7 +326,8 @@ void __init smp_prepare_cpus(unsigned in
cpu_2_logical_apicid[cpu] = cpu;
x86_cpu_to_apicid[cpu] = cpu;
- set_x86_acpiid_to_apicid(cpu, cpu);
+ if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
+ set_x86_acpiid_to_apicid(cpu, cpu);
idle = fork_idle(cpu);
if (IS_ERR(idle))
next reply other threads:[~2008-02-29 19:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-29 19:02 Mark Langsdorf [this message]
2008-02-29 21:46 ` [PATCH] limit ACPIID to APICID reset to AMD machines Chris Lalancette
2008-03-01 8:40 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802291302.32010.mark.langsdorf@amd.com \
--to=mark.langsdorf@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.