Re: x86_64: 2.6.14-rc4 swiotlb broken

From: Christoph Lameter
Date: Mon Oct 17 2005 - 13:23:18 EST


On Mon, 17 Oct 2005, Ravikiran G Thirumalai wrote:

> Maybe someone with access to ia64 NUMA boxen can check if the NODE(0)
> solution works (and does not break anything) on ia64? Chrisoph, can you help?

Umm... SGI does not use the swiotlb and we do not have these issues. HP
does use the swiotlb on IA64. CCing John and Alex.

For the newcomers: Thread is at
http://marc.theaimsgroup.com/?t=112954203900001&r=1&w=2

Proposed patch by Kiran:

Index: linux-2.6.14-rc4/arch/ia64/lib/swiotlb.c
===================================================================
--- linux-2.6.14-rc4.orig/arch/ia64/lib/swiotlb.c 2005-10-14
00:06:21.000000000 -0700
+++ linux-2.6.14-rc4/arch/ia64/lib/swiotlb.c 2005-10-17
00:05:22.000000000 -0700
@@ -123,7 +123,7 @@
/*
* Get IO TLB memory from the low pages
*/
- io_tlb_start = alloc_bootmem_low_pages(io_tlb_nslabs *
+ io_tlb_start = alloc_bootmem_node(NODE_DATA(0), io_tlb_nslabs *
(1 << IO_TLB_SHIFT));
if (!io_tlb_start)
panic("Cannot allocate SWIOTLB buffer");



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/