Re: PPC64 DMA zone

2012-09-01 Thread Tabi Timur-B04825
On Fri, Aug 17, 2012 at 3:40 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2012-08-17 at 23:04 +0300, Aaro Koskinen wrote: Hi, Is there a way to reduce/limit DMA zone with PPC64 kernel (3.6-rcX) on G5 Mac? I have tried to search Kconfig or command line options, but can't

Re: PPC64 DMA zone

2012-09-01 Thread Benjamin Herrenschmidt
On Sun, 2012-09-02 at 02:54 +, Tabi Timur-B04825 wrote: On Fri, Aug 17, 2012 at 3:40 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2012-08-17 at 23:04 +0300, Aaro Koskinen wrote: Hi, Is there a way to reduce/limit DMA zone with PPC64 kernel (3.6-rcX) on G5 Mac?

PPC64 DMA zone

2012-08-17 Thread Aaro Koskinen
Hi, Is there a way to reduce/limit DMA zone with PPC64 kernel (3.6-rcX) on G5 Mac? I have tried to search Kconfig or command line options, but can't find anything. The problem I have is that b43 driver (wireless chip) insists a 30-bit DMA mask, but I have 1.5 GB physical memory. So the only way

Re: PPC64 DMA zone

2012-08-17 Thread Benjamin Herrenschmidt
On Fri, 2012-08-17 at 23:04 +0300, Aaro Koskinen wrote: Hi, Is there a way to reduce/limit DMA zone with PPC64 kernel (3.6-rcX) on G5 Mac? I have tried to search Kconfig or command line options, but can't find anything. No. The problem I have is that b43 driver (wireless chip) insists a

Re: PPC64 DMA zone

2012-08-17 Thread Aaro Koskinen
Hi, On Sat, Aug 18, 2012 at 06:40:56AM +1000, Benjamin Herrenschmidt wrote: The problem I have is that b43 driver (wireless chip) insists a 30-bit DMA mask, but I have 1.5 GB physical memory. So the only way I can get the wireless connection to work is to boot with mem=1024MB. And as a

Re: PPC64 DMA zone

2012-08-17 Thread Benjamin Herrenschmidt
On Sat, 2012-08-18 at 00:01 +0300, Aaro Koskinen wrote: b43-pci-bridge 0001:01:01.0: Warning: IOMMU window too big for device mask b43-pci-bridge 0001:01:01.0: mask: 0x3fff, table end: 0x8000 b43-phy0 ERROR: The machine/kernel does not support the required 30-bit DMA mask Hrm, odd, I