powerpc/fadump: reset metadata address during clean up
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:51:16 +0000 (20:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:43 +0000 (00:04 +1000)
commit2790d01d1e1d22735d848eec55668f7d44417e22
treef759721874ffceb66fcf964994107f6005751e59
parent742a265accd3e3afcc8e7b17f409c93c1de8be85
powerpc/fadump: reset metadata address during clean up

During kexec boot, metadata address needs to be reset to avoid running
into errors interpreting stale metadata address, in case the kexec'ed
kernel crashes before metadata address could be setup again.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821346629.5656.10783321582005237813.stgit@hbathini.in.ibm.com
arch/powerpc/include/asm/fadump-internal.h
arch/powerpc/kernel/fadump.c
arch/powerpc/platforms/powernv/opal-fadump.c