Re: x86_64: 2.6.14-rc4 swiotlb broken

From: Alex Williamson
Date: Mon Oct 17 2005 - 14:52:54 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/