lkml.org 
[lkml]   [2005]   [Oct]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: x86_64: 2.6.14-rc4 swiotlb broken
FromAlex Williamson <>
DateMon, 17 Oct 2005 13:52:16 -0600
On Mon, 2005-10-17 at 12:26 -0700, Ravikiran G Thirumalai wrote:

> This memory only node has a node id? Then how about a patch which iterates over 
> nodes in swiotlb.c, trying to allocate DMA'ble memory from node 0 and above
> until it gets proper memory for swiotlb?
> 
> Would that be accepatble?  I can quickly make a patch for that if it is
> acceptable..

   Yes, the memory-only node is just another node.  Iterating over all
nodes sounds a little brute force, but I guess it should work.  FWIW,
here's the results of the previous one-liner on an HP Superdome (booting
w/ machvec=dig to use the swiotlb instead of hardware iotlb):

2.6.14-rc4-mm1, before patch:
Placing software IO TLB between 0x4cdc000 - 0x8cdc000

after patch:
Placing software IO TLB between 0x74104e6b200 - 0x74108e6b200

Thanks,

	Alex

-- 

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

\
 
 \ /
  Last update: 2005-10-17 21:55    [from the cache]
©2003-2008