[PATCH 0/8] Fix 8xx MMU/TLB
Dan Malek
dan at embeddedalley.com
Tue Oct 27 10:26:02 EST 2009
On Oct 26, 2009, at 3:47 PM, Benjamin Herrenschmidt wrote:
> This whole thing would be a -lot- easier to do from C code. Why ?
> Simply
> because you could just use get_user() to load the instruction rather
> than doing this page table walking in asm,
Just be careful the get_user() doesn't regenerate the same
translation error you are trying to fix by being here......
It is nice doing things in C code, but you have to be aware
of the environment and the side effects when in this kind
of exception state.
Thanks.
-- Dan
More information about the Linuxppc-dev
mailing list