[POWERPC] Implement SLB shadow buffer
authorMichael Neuling <mikey@neuling.org>
Mon, 7 Aug 2006 06:19:19 +0000 (16:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 Aug 2006 07:08:56 +0000 (17:08 +1000)
commit2f6093c84730b4bad65bcd0f2f904a5769b1dfc5
treeab4e64a0520e944062f418e91706ff968e23a6ea
parent452b5e21216011f2f068e80443568f5f3f3f4d63
[POWERPC] Implement SLB shadow buffer

This adds a shadow buffer for the SLBs and regsiters it with PHYP.
Only the bolted SLB entries (top 3) are shadowed.

The SLB shadow buffer tells the hypervisor what the kernel needs to
have in the SLB for the kernel to be able to function.  The hypervisor
can use this information to speed up partition context switches.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/paca.c
arch/powerpc/mm/slb.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/plpar_wrappers.h
arch/powerpc/platforms/pseries/setup.c
include/asm-powerpc/lppaca.h
include/asm-powerpc/paca.h