powerpc/fadump: move rtas specific definitions to platform code
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:48:14 +0000 (20:18 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:41 +0000 (00:04 +1000)
commit0226e55275e569126882a7befe0b1a1c9bd270aa
treeb1d7add3ce605cf4352350cbdbdd8a077587ee10
parent72aa651795f0e9f48bfdb2b2dd0b3e6900351d2a
powerpc/fadump: move rtas specific definitions to platform code

Currently, FADump is only supported on pSeries but that is going to
change soon with FADump support being added on PowerNV platform. So,
move rtas specific definitions to platform code to allow FADump
to have multiple platforms support.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821328494.5656.16219929140866195511.stgit@hbathini.in.ibm.com
arch/powerpc/include/asm/fadump-internal.h
arch/powerpc/include/asm/fadump.h
arch/powerpc/kernel/fadump.c
arch/powerpc/platforms/pseries/rtas-fadump.h [new file with mode: 0644]