From: Kevin Hao Date: Tue, 24 Dec 2013 07:12:07 +0000 (+0800) Subject: powerpc/fsl_booke: set the tlb entry for the kernel address in AS1 X-Git-Tag: v3.14-rc1~80^2~5^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78a235efdc42ff363de81fdbc171385e8b86b69b;p=pandora-kernel.git powerpc/fsl_booke: set the tlb entry for the kernel address in AS1 We use the tlb1 entries to map low mem to the kernel space. In the current code, it assumes that the first tlb entry would cover the kernel image. But this is not true for some special cases, such as when we run a relocatable kernel above the 64M or set CONFIG_KERNEL_START above 64M. So we choose to switch to address space 1 before setting these tlb entries. Signed-off-by: Kevin Hao Signed-off-by: Scott Wood --- Reading git-diff-tree failed