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
This commit is contained in:

committed by
Michael Ellerman

parent
742a265acc
commit
2790d01d1e
@@ -117,6 +117,7 @@ struct fadump_ops {
|
||||
int (*fadump_register)(struct fw_dump *fadump_conf);
|
||||
int (*fadump_unregister)(struct fw_dump *fadump_conf);
|
||||
int (*fadump_invalidate)(struct fw_dump *fadump_conf);
|
||||
void (*fadump_cleanup)(struct fw_dump *fadump_conf);
|
||||
int (*fadump_process)(struct fw_dump *fadump_conf);
|
||||
void (*fadump_region_show)(struct fw_dump *fadump_conf,
|
||||
struct seq_file *m);
|
||||
|
Reference in New Issue
Block a user