[PATCH 0/8] Fix 8xx MMU/TLB
Joakim Tjernlund
joakim.tjernlund at transmode.se
Wed Nov 4 04:16:07 EST 2009
Scott Wood <scottwood at freescale.com> wrote on 03/11/2009 17:59:30:
>
> Joakim Tjernlund wrote:
> >> and things seem to work. You could probably replace the rlwinm by
> >> subtracting PAGE_OFFSET from swapper_pg_dir instead.
> >
> > Just guessing here, do you mean:
> > lis r11, (swapper_pg_dir-PAGE_OFFSET)@h
> > ori r11, r11, (swapper_pg_dir-PAGE_OFFSET)@l
> > rlwimi r11, r10, 22, 0xffc
> > or
> > lis r11, swapper_pg_dir at h
> > ori r11, r11, swapper_pg_dir at l
> > subis r11, r11 PAGE_OFFSET
> > rlwimi r11, r10, 22, 0xffc
>
> The former.
OK, I will regenerate the patch series with the
lis r11, (swapper_pg_dir-PAGE_OFFSET)@h
ori r11, r11, (swapper_pg_dir-PAGE_OFFSET)@l
rlwimi r11, r10, 22, 0xffc
fix.
Have you already confirmed that this works too?
Jocke
More information about the Linuxppc-dev
mailing list