linux-stable/arch/powerpc
Kumar Gala 1dc91c3eb3 powerpc/fsl-booke: Fix setup_initial_memory_limit to not blindly map
On FSL Book-E devices we support multiple large TLB sizes and so we can
get into situations in which the initial 1G TLB size is too big and
we're asked for a size that is not mappable by a single entry (like
512M).  The single entry is important because when we bring up secondary
cores they need to ensure any data structure they need to access (eg
PACA or stack) is always mapped.

So we really need to determine what size will actually be mapped by the
first TLB entry to ensure we limit early memory references to that
region.  We refactor the map_mem_in_cams() code to provider a helper
function that we can utilize to determine the size of the first TLB
entry while taking into account size and alignment constraints.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-10-11 23:30:41 -05:00
..
boot powerpc/82xx: updates for mgcoge 2011-10-11 16:18:41 -05:00
configs powerpc: Update corenet64_smp_defconfig 2011-10-11 23:28:40 -05:00
include/asm powerpc/fsl-booke: Handle L1 D-cache parity error correctly on e500mc 2011-10-06 23:36:55 -05:00
kernel powerpc: respect mem= setting for early memory limit setup 2011-10-11 23:30:40 -05:00
kvm powerpc/kvm: Fix build errors with older toolchains 2011-08-05 14:47:56 +10:00
lib Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-05-20 13:28:01 -07:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm powerpc/fsl-booke: Fix setup_initial_memory_limit to not blindly map 2011-10-11 23:30:41 -05:00
net net: filter: BPF 'JIT' compiler for PPC64 2011-07-21 12:38:32 -07:00
oprofile powerpc/oprofile: Handle events that raise an exception without overflowing 2011-05-26 13:38:57 +10:00
platforms powerpc/85xx: Fix support for enabling doorbells for IPIs 2011-10-11 23:26:11 -05:00
sysdev powerpc/fsl_msi: fix support for multiple MSI ranges 2011-10-11 16:18:55 -05:00
xmon powerpc: Fix xmon for systems without MSR[RI] 2011-09-29 16:58:22 +10:00
Kconfig powerpc/powernv: Add CPU hotplug support 2011-09-20 16:09:45 +10:00
Kconfig.debug powerpc/powernv: Support for OPAL console 2011-09-20 16:09:54 +10:00
Makefile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-07-25 22:59:39 -07:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00