diff options
author | Hari Bathini <hbathini@linux.ibm.com> | 2019-09-11 20:20:26 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-09-14 00:04:43 +1000 |
commit | 41df5928721ff4b5f83767cd5e8b77862fc62bb3 (patch) | |
tree | 1cf57af8683728dcd14a5ad0c8d7e81d0d43bb45 /arch/powerpc/include | |
parent | 6f5f193e84d3d7b55d406ecc7ac4ea1ef1d1876f (diff) | |
download | lwn-41df5928721ff4b5f83767cd5e8b77862fc62bb3.tar.gz lwn-41df5928721ff4b5f83767cd5e8b77862fc62bb3.zip |
powerpc/fadump: add fadump support on powernv
Add basic callback functions for FADump on PowerNV platform.
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/156821342072.5656.4346362203141486452.stgit@hbathini.in.ibm.com
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/fadump-internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fadump-internal.h b/arch/powerpc/include/asm/fadump-internal.h index 8c0eb0fc09d0..8046fe0b742e 100644 --- a/arch/powerpc/include/asm/fadump-internal.h +++ b/arch/powerpc/include/asm/fadump-internal.h @@ -135,4 +135,11 @@ static inline void rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) { } #endif +#ifdef CONFIG_PPC_POWERNV +extern void opal_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node); +#else +static inline void +opal_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) { } +#endif + #endif /* _ASM_POWERPC_FADUMP_INTERNAL_H */ |