From: Ian Campbell <ian.campbell@citrix.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: xen-devel@lists.xensource.com,
Vincent Caron <vcaron@bearstech.com>,
linux-kernel@vger.kernel.org,
Ian Campbell <ian.campbell@citrix.com>
Subject: [PATCH] xen: disable ACPI NUMA for PV guests
Date: Fri, 3 Dec 2010 09:54:03 +0000 [thread overview]
Message-ID: <1291370043-3075-1-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1291369764.5514.15168.camel@zakaz.uk.xensource.com>
Xen does not currently expose PV-NUMA information to PV
guests. Therefore disable NUMA for the time being to prevent the
kernel picking up on an host-level NUMA information which it might
come across in the firmware.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
arch/x86/xen/enlighten.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index fbb35cd..7cdf2f3 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1195,6 +1195,10 @@ asmlinkage void __init xen_start_kernel(void)
xen_smp_init();
+#ifdef CONFIG_ACPI_NUMA
+ acpi_numa = -1;
+#endif
+
pgd = (pgd_t *)xen_start_info->pt_base;
__supported_pte_mask |= _PAGE_IOMAP;
--
1.5.6.5
next parent reply other threads:[~2010-12-03 9:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1291369764.5514.15168.camel@zakaz.uk.xensource.com>
2010-12-03 9:54 ` Ian Campbell [this message]
2010-12-13 22:17 ` [PATCH] xen: disable ACPI NUMA for PV guests Vincent Caron
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=1291370043-3075-1-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vcaron@bearstech.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox