diff options
author | Michael Neuling <mikey@neuling.org> | 2008-01-10 22:02:47 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-11 00:33:55 -0500 |
commit | 473980a99316c0e788bca50996375a2815124ce1 (patch) | |
tree | 5fb9d5de6ee75299b32de0e0b66f5a868864c38f /include/asm-powerpc | |
parent | 6f4347c969674ed45de7d08d4b26d6326a95b959 (diff) |
[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>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/mmu-hash64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/mmu-hash64.h b/include/asm-powerpc/mmu-hash64.h index 82328dec2b52..951e2487aa69 100644 --- a/include/asm-powerpc/mmu-hash64.h +++ b/include/asm-powerpc/mmu-hash64.h | |||
@@ -286,6 +286,7 @@ extern void hpte_init_iSeries(void); | |||
286 | extern void hpte_init_beat(void); | 286 | extern void hpte_init_beat(void); |
287 | extern void hpte_init_beat_v3(void); | 287 | extern void hpte_init_beat_v3(void); |
288 | 288 | ||
289 | extern void slb_shadow_clear_all(void); | ||
289 | extern void stabs_alloc(void); | 290 | extern void stabs_alloc(void); |
290 | extern void slb_initialize(void); | 291 | extern void slb_initialize(void); |
291 | extern void slb_flush_and_rebolt(void); | 292 | extern void slb_flush_and_rebolt(void); |