powerpc/opal: add MPIPL interface definitions
authorHari Bathini <hbathini@linux.ibm.com>
Wed, 11 Sep 2019 14:50:12 +0000 (20:20 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:43 +0000 (00:04 +1000)
commit6f5f193e84d3d7b55d406ecc7ac4ea1ef1d1876f
tree220a2f5b70fae35ffa584b9848780b8668a29d8b
parent1679b96e69ec2e10ccd9d82b691ade0b16cb64d1
powerpc/opal: add MPIPL interface definitions

MPIPL is Memory Preserving IPL supported from POWER9. This enables the
kernel to reset the system with memory 'preserved'. Also, it supports
copying memory from a source address to some destination address during
MPIPL boot. Add MPIPL interface definitions here to leverage these f/w
features in adding FADump support for 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/156821340710.5656.10071829040515662624.stgit@hbathini.in.ibm.com
arch/powerpc/include/asm/opal-api.h
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-call.c