summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cpu_setup_44x.S
diff options
context:
space:
mode:
authorGrant Erickson <gerickson@nuovations.com>2008-10-29 11:41:14 +0000
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-11-13 10:10:56 -0500
commit5907630ffc2b2d133de2db18963ee5a6c5af7878 (patch)
tree60d41ab37ba170ba88e002915d8034fe47c7b9ac /arch/powerpc/kernel/cpu_setup_44x.S
parentcb8fdc69a2a80e81e1280ec58afd2c3217ac8a7f (diff)
downloadop-kernel-dev-5907630ffc2b2d133de2db18963ee5a6c5af7878.zip
op-kernel-dev-5907630ffc2b2d133de2db18963ee5a6c5af7878.tar.gz
powerpc/40x: Limit allocable DRAM during early mapping
If the size of DRAM is not an exact power of two, we may not have covered DRAM in its entirety with large 16 and 4 MiB pages. If that is the case, we can get non-recoverable page faults when doing the final PTE mappings for the non-large page PTEs. Consequently, we restrict the top end of DRAM currently allocable by updating '__initial_memory_limit_addr' so that calls to the LMB to allocate PTEs for "tail" coverage with normal-sized pages (or other reasons) do not attempt to allocate outside the allowed range. Signed-off-by: Grant Erickson <gerickson@nuovations.com> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/kernel/cpu_setup_44x.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud