From 9cfd4af751b504a2080dfb85f5544bbc4a724b24 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Sat, 27 Mar 2004 19:28:10 -0800 Subject: [PATCH] [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... --- arch/ppc64/kernel/prom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ppc64/kernel/prom.c b/arch/ppc64/kernel/prom.c index 3629ce8fd1a94..a374d3d709c78 100644 --- a/arch/ppc64/kernel/prom.c +++ b/arch/ppc64/kernel/prom.c @@ -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 */ -- 2.53.0