Thread (15 messages) 15 messages, 4 authors, 2009-11-03

Re: [PATCH 0/8] Fix 8xx MMU/TLB

From: Joakim Tjernlund <hidden>
Date: 2009-11-03 17:16:32

Possibly related (same subject, not in this thread)

Scott Wood [off-list ref] wrote on 03/11/2009 17:59:30:
Joakim Tjernlund wrote:
quoted
quoted
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@h
   ori   r11, r11, swapper_pg_dir@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help