]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Fix CPU hotplug when using the SLB shadow buffer
authorMichael Neuling <mikey@neuling.org>
Fri, 11 Jan 2008 03:02:47 +0000 (14:02 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 11 Jan 2008 05:33:55 +0000 (16:33 +1100)
commit7a64fbb920d2aa56693b7cf017a1207db6a4443e
tree5fb9d5de6ee75299b32de0e0b66f5a868864c38f
parent8b536fc43e280addf869185017435693b5f3b45f
[POWERPC] Fix CPU hotplug when using the SLB shadow buffer

Before we register the SLB shadow buffer, we need to invalidate the
entries in the buffer, otherwise we can end up stale entries from when
we previously offlined the CPU.

This does this invalidate as well as unregistering the buffer with
PHYP before we offline the cpu.  Tested and fixes crashes seen on
970MP (thanks to tonyb) and POWER5.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/slb.c
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/powerpc/platforms/pseries/lpar.c
include/asm-powerpc/mmu-hash64.h