diff options
author | Scott Wood <scottwood@freescale.com> | 2015-10-07 05:48:10 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-10-28 00:13:22 +0100 |
commit | eba5de8dc163fac4d20f0afed8183431491b570f (patch) | |
tree | bff1cbdc6391258b8485d5f361b9a2e6a35d5d3c /arch/powerpc/mm/mmu_decl.h | |
parent | powerpc/85xx: Load all early TLB entries at once (diff) | |
download | linux-eba5de8dc163fac4d20f0afed8183431491b570f.tar.xz linux-eba5de8dc163fac4d20f0afed8183431491b570f.zip |
powerpc/fsl-booke-64: Don't limit ppc64_rma_size to one TLB entry
This is required for kdump to work when loaded at at an address that
does not fall within the first TLB entry -- which can easily happen
because while the lower limit is enforced via reserved memory, which
doesn't affect how much is mapped, the upper limit is enforced via a
different mechanism that does. Thus, more TLB entries are needed than
would normally be used, as the total memory to be mapped might not be a
power of two.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
-rw-r--r-- | arch/powerpc/mm/mmu_decl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h index 27c3a2d3a4f1..9f58ff44a075 100644 --- a/arch/powerpc/mm/mmu_decl.h +++ b/arch/powerpc/mm/mmu_decl.h @@ -141,7 +141,8 @@ extern void MMU_init_hw(void); extern unsigned long mmu_mapin_ram(unsigned long top); #elif defined(CONFIG_PPC_FSL_BOOK3E) -extern unsigned long map_mem_in_cams(unsigned long ram, int max_cam_idx); +extern unsigned long map_mem_in_cams(unsigned long ram, int max_cam_idx, + bool dryrun); extern unsigned long calc_cam_sz(unsigned long ram, unsigned long virt, phys_addr_t phys); #ifdef CONFIG_PPC32 |