powerpc/8xx: Always pin kernel instruction TLB
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Tue, 29 Dec 2009 05:10:58 +0000 (05:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Jan 2010 02:20:07 +0000 (13:20 +1100)
commit9f4f04ba2b117a5c741d019629d7ffccdc621122
tree3a96a7c0263b01b4706a665e9d9cbfc76d3f7011
parent004b35063296b6772fa72404a35b498f1e71e87e
powerpc/8xx: Always pin kernel instruction TLB

Various kernel asm modifies SRR0/SRR1 just before executing
a rfi. If such code crosses a page boundary you risk a TLB miss
which will clobber SRR0/SRR1. Avoid this by always pinning
kernel instruction TLB space.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_8xx.S