pseries/fadump: define RTAS register/un-register callback functions

Move platform specific register/un-register code, the RTAS calls, to
register/un-register callback functions. This would also mean moving
code that initializes and prints the platform specific FADump data.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Reviewed-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821332856.5656.16380417702046411631.stgit@hbathini.in.ibm.com
This commit is contained in:
Hari Bathini
2019-09-11 20:18:57 +05:30
committed by Michael Ellerman
parent d3833a7010
commit 41a65d1618
3 changed files with 176 additions and 153 deletions

View File

@@ -89,7 +89,9 @@ struct fw_dump {
unsigned long cpu_state_data_size;
unsigned long hpte_region_size;
unsigned long boot_memory_size;
u64 boot_mem_dest_addr;
unsigned long fadumphdr_addr;
unsigned long cpu_notes_buf_vaddr;