Re: 2.6.23 boot failures on x86-64.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Ebourne <martin@...>
Cc: Dave Jones <davej@...>, Andi Kleen <ak@...>, Linux Kernel <linux-kernel@...>, Suresh Siddha <suresh.b.siddha@...>, <stable@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>
Date: Wednesday, October 31, 2007 - 2:04 am

On Tue, 2007-10-30 at 05:21, Martin Ebourne wrote:

Oops, sorry,
seem to be a mistake of me.
I forget to exclude the DMA range.

Does the following patch fix the issue?

Thanks
Zou Nan hai

--- a/arch/x86/mm/init_64.c	2007-10-31 11:24:11.000000000 +0800
+++ b/arch/x86/mm/init_64.c	2007-10-31 12:31:02.000000000 +0800
@@ -731,7 +731,7 @@ int in_gate_area_no_task(unsigned long a
 void * __init alloc_bootmem_high_node(pg_data_t *pgdat, unsigned long size)
 {
 	return __alloc_bootmem_core(pgdat->bdata, size,
-			SMP_CACHE_BYTES, (4UL*1024*1024*1024), 0);
+			SMP_CACHE_BYTES, (4UL*1024*1024*1024), __pa(MAX_DMA_ADDRESS));
 }
 
 const char *arch_vma_name(struct vm_area_struct *vma)



 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23 boot failures on x86-64., Dave Jones, (Mon Oct 29, 1:50 pm)
Re: 2.6.23 boot failures on x86-64., Andi Kleen, (Mon Oct 29, 2:18 pm)
Re: 2.6.23 boot failures on x86-64., Dave Jones, (Mon Oct 29, 2:47 pm)
Re: 2.6.23 boot failures on x86-64., Andi Kleen, (Mon Oct 29, 3:03 pm)
Re: 2.6.23 boot failures on x86-64., Dave Jones, (Mon Oct 29, 4:06 pm)
Re: 2.6.23 boot failures on x86-64., Dave Jones, (Mon Oct 29, 3:43 pm)
Re: 2.6.23 boot failures on x86-64., Martin Ebourne, (Mon Oct 29, 5:21 pm)
Re: 2.6.23 boot failures on x86-64., Zou Nan hai, (Wed Oct 31, 2:04 am)
Re: 2.6.23 boot failures on x86-64., Zou Nan hai, (Wed Oct 31, 2:19 am)
Re: 2.6.23 boot failures on x86-64., Andi Kleen, (Mon Oct 29, 3:56 pm)
Re: [stable] 2.6.23 boot failures on x86-64., Greg KH, (Mon Oct 29, 2:07 pm)
Re: [stable] 2.6.23 boot failures on x86-64., Linus Torvalds, (Mon Oct 29, 2:37 pm)
Re: [stable] 2.6.23 boot failures on x86-64., Martin Ebourne, (Mon Oct 29, 4:27 pm)
Re: [stable] 2.6.23 boot failures on x86-64., Andy Whitcroft, (Mon Oct 29, 4:23 pm)
Re: [stable] 2.6.23 boot failures on x86-64., Siddha, Suresh B, (Mon Oct 29, 3:52 pm)
Re: [stable] 2.6.23 boot failures on x86-64., Christoph Lameter, (Mon Oct 29, 4:09 pm)
Re: [stable] 2.6.23 boot failures on x86-64., Christoph Lameter, (Mon Oct 29, 3:51 pm)