[PATCH] Stop pci_set_dma_mask() from failing when RAM doesn't exceed the mask anyway
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sun Aug 2 17:50:37 EST 2009
On Sat, 2009-08-01 at 10:00 +0100, David Woodhouse wrote:
> I'm not sure. Losing 16MiB on a machine which only has 512MiB anyway
> doesn't seem ideal, and we'll want to make the no-iommu code DTRT
> _anyway_, surely?
>
> So we might as well let the DART keep its existing logic (which is
> only
> to bother if we have more than 1GiB of RAM;
Ah right, so when do we enable the DART ? Above 1G ? I though it was
above 2G but we may well have moved that down to 1G just for b43 indeed.
I definitely agree on the fix to the mask so it only compares to the
available RAM. I'll check that in when I'm back from the snow fields
on tuesday :-)
Cheers,
Ben,
More information about the Linuxppc-dev
mailing list