On Fri, Jul 26, 2013 at 06:37:10PM -0500, Scott Wood wrote: > On 07/04/2013 07:54:10 AM, Kevin Hao wrote: > >--- a/arch/powerpc/kernel/head_fsl_booke.S
<snip> > >+++ b/arch/powerpc/kernel/head_fsl_booke.S > >@@ -1172,6 +1172,87 @@ __secondary_hold_acknowledge: > > #endif > > > > /* > >+ * Create a tbl entry > > s/tbl/tlb/ Fixed. > > >diff --git a/arch/powerpc/mm/fsl_booke_mmu.c > >b/arch/powerpc/mm/fsl_booke_mmu.c > >index 5fe271c..8f60ef8 100644 > >--- a/arch/powerpc/mm/fsl_booke_mmu.c > >+++ b/arch/powerpc/mm/fsl_booke_mmu.c > >@@ -222,7 +222,9 @@ void __init adjust_total_lowmem(void) > > /* adjust lowmem size to __max_low_memory */ > > ram = min((phys_addr_t)__max_low_memory, > >(phys_addr_t)total_lowmem); > > > >+ i = switch_to_as1(); > > __max_low_memory = map_mem_in_cams(ram, CONFIG_LOWMEM_CAM_NUM); > >+ restore_to_as0(i); > > Wouldn't it be simpler to just run out of AS1 from the end of > fsl_booke_entry_mapping.S, similar to what U-Boot does? With ESEL > being changed to something non-conflicting, of course. This pair of functions will be used by the codes in the following patch. Thanks, Kevin > > -Scott
pgps1NkwjLFeC.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev