[POWERPC] Fix Kexec/Kdump for power6
authorSachin P. Sant <sachinp@in.ibm.com>
Thu, 14 Jun 2007 05:31:34 +0000 (15:31 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 25 Jun 2007 07:03:33 +0000 (17:03 +1000)
commitb7abc5c53e3c65b8e931bd96db2d08ba670e111a
tree73e0a02db68d570e875b57acb3d08e9ae85473ac
parent7ccb4a662462616f6be5053e26b79580e02f1529
[POWERPC] Fix Kexec/Kdump for power6

On Power machines supporting VRMA, Kexec/Kdump does not work.
VRMA (virtual real-mode area) means that accesses with IR/DR = 0
(i.e. the MMU "off") actually still go through the hash table,
using entries put there by the hypervisor.

This means that when we clear out the hash table on kexec, we need to
make sure these entries are left untouched.

This also adds plpar_pte_read_raw() on the lines of
plpar_pte_remove_raw().

Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
Signed-off-by : Mohan Kumar M <mohan@in.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/plpar_wrappers.h
include/asm-powerpc/mmu-hash64.h