public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: disable ACPI NUMA for PV guests
       [not found] <1291369764.5514.15168.camel@zakaz.uk.xensource.com>
@ 2010-12-03  9:54 ` Ian Campbell
  2010-12-13 22:17   ` Vincent Caron
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Campbell @ 2010-12-03  9:54 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel, Vincent Caron, linux-kernel, Ian Campbell

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xen: disable ACPI NUMA for PV guests
  2010-12-03  9:54 ` [PATCH] xen: disable ACPI NUMA for PV guests Ian Campbell
@ 2010-12-13 22:17   ` Vincent Caron
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Caron @ 2010-12-13 22:17 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Jeremy Fitzhardinge, xen-devel, linux-kernel

On Fri, 2010-12-03 at 09:54 +0000, Ian Campbell wrote:
> 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;

  This made it thru 2.6.32-29 in Debian on 10 dec and works like a
charm, Dell R410 properly booting with hypervisor Xen 4.0.1.

  Thanks a lot for your help and responsiveness.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-13 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1291369764.5514.15168.camel@zakaz.uk.xensource.com>
2010-12-03  9:54 ` [PATCH] xen: disable ACPI NUMA for PV guests Ian Campbell
2010-12-13 22:17   ` Vincent Caron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox