Message ID | OF9A8AE2F7.5F8AC107-ONC125766C.008051C5-C125766C.00810B6D@transmode.se (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Joakim Tjernlund wrote: > Anyhow, lets start simple and just do the pinned ITLB so the > new TLB code can be applied. Can you confirm this works for you? It works (after changing #ifdef 1 to #if 1). -Scott
Scott Wood <scottwood@freescale.com> wrote on 13/11/2009 20:25:48: > > Joakim Tjernlund wrote: > > Anyhow, lets start simple and just do the pinned ITLB so the > > new TLB code can be applied. Can you confirm this works for you? > > It works (after changing #ifdef 1 to #if 1). OK, new series sent. BTW, one can probably avoid the extra space by the work around if the first part(up to and including the insn check) is included in the DTLB error and the second half is put just before the . = 0x2000, you would have to use the self modifying variant though. Not something I am going to play with. Jocke
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index adc5a32..c7a4e60 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S @@ -767,7 +767,7 @@ start_here: */ initial_mmu: tlbia /* Invalidate all TLB entries */ -#ifdef CONFIG_PIN_TLB +#ifdef 1 /* CONFIG_PIN_TLB */ lis r8, MI_RSV4I@h ori r8, r8, 0x1c00 #else