|
Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken: msg#00121linux.ports.x86-64.general
On Wed, Oct 19, 2005 at 09:47:02PM +0900, Yasunori Goto wrote: > > On Tue, 2005-10-18 at 16:22 -0700, Ravikiran G Thirumalai wrote: > > > Hmm..... > How is this patch? This is another way. > > I think that true issue is there is no way for requester to > specify maxmum address at __alloc_bootmem_core(). > > "goal" is just to keep space lower address as much as possible. > and __alloc_bootmem_core() doesn't care about max address for requester. > I suppose it is a bit strange. The swiotlb's case is good example > by it. This works for me too. After this patch I see [ 400.495902] Placing software IO TLB between 0x722a000 - 0xb22a000 which means, the new patch is not digging into the 16MB x86_64 DMA area too. Linus would you apply this for 2.6.14? This is the patch which works for both x86_64 and ia64 boxes. I limited my approaches not to touch the core bootmem allocator for 2.6.14, but that doesn't seem to work for ia64 boxes. Fixing the bootmem is the correct approach IMHO. But in case you feel this is too intrusive for 2.6.14, we can whip up an ugly #ifdef CONFIG_X86_64 patch which patches swiotlb.c only. Thanks Yasunori-san for the patch, and Alex for testing out all the patches. Thanks. Kiran |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken: 00121, Jon Mason |
|---|---|
| Next by Date: | Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken: 00121, Linus Torvalds |
| Previous by Thread: | Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb brokeni: 00121, Alex Williamson |
| Next by Thread: | Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken: 00121, Linus Torvalds |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |