pseries/fadump: define RTAS register/un-register callback functions
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:48:57 +0000 (20:18 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:42 +0000 (00:04 +1000)
commit41a65d1618238e63be1439871eaf44dc3c6a737c
tree9334597fd77a7d9b4ed24c4fc2e2a805a90ecf97
parentd3833a7010817f82bff373e26d146e6401c695f4
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
arch/powerpc/include/asm/fadump-internal.h
arch/powerpc/kernel/fadump.c
arch/powerpc/platforms/pseries/rtas-fadump.c