Thread (18 messages) flat view 18 messages, 3 authors, 2009-10-09

Re: [PATCH 2/6] 8xx: Update TLB asm so it behaves as linux mm expects.

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-10-09 06:30:09

On Fri, 2009-10-09 at 08:16 +0200, Joakim Tjernlund wrote:
Which will be fixed once I activate:
#if 0 /* Not yet */
	/* Honour kernel RO, User NA */
	andi.	r11, r10, _PAGE_USER | _PAGE_RW
	bne-	cr0, 5f
	ori	r10,r10, 0x200 /* Extended encoding, bit 22 */
#endif
Which will be more code including a conditional than my proposed
trick :-) I'll try to write the asm for you later.
Not convinced that your trick will be a win. The other
bits will need to move around too. Maybe I misunderstand
something?
I'll write some code to show you what I have in mind later.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help