]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/fsl-booke-64: Don't limit ppc64_rma_size to one TLB entry
authorScott Wood <scottwood@freescale.com>
Wed, 7 Oct 2015 03:48:10 +0000 (22:48 -0500)
committerScott Wood <scottwood@freescale.com>
Tue, 27 Oct 2015 23:13:22 +0000 (18:13 -0500)
commiteba5de8dc163fac4d20f0afed8183431491b570f
treebff1cbdc6391258b8485d5f361b9a2e6a35d5d3c
parentd9e1831a420267a7ced708bb259d65b0a3c0344d
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>
arch/powerpc/mm/fsl_booke_mmu.c
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/tlb_nohash.c