Commit 9cfd4af7 authored by Olof Johansson's avatar Olof Johansson Committed by Linus Torvalds

[PATCH] ppc64: Use full DART table on G5

This increases the DART table to use the full size.  We allocate a full
16MB page anyway, so there's no difference in memory consumption. 

Thanks to Ben for spotting this, it was left over from debugging...
parent d403ba51
......@@ -792,8 +792,8 @@ void prom_initialize_dart_table(void)
if (lmb_end_of_DRAM() <= 0x80000000ull && !RELOC(iommu_force_on))
return;
/* 512 pages is max DART tablesize. */
RELOC(dart_tablesize) = 1UL << 19;
/* 512 pages (2MB) is max DART tablesize. */
RELOC(dart_tablesize) = 1UL << 21;
/* 16MB (1 << 24) alignment. We allocate a full 16Mb chuck since we
* will blow up an entire large page anyway in the kernel mapping
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment