aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-07-12 16:47:46 +0530
committerOliver O'Halloran <oohall@gmail.com>2019-08-15 17:53:13 +1000
commit0cadc98552405e922a587661dd0af530d651c0a2 (patch)
treec9fd4e59aba3e3a5272d91e6620ce1c8ae3b255b /hdata/spira.h
parented7110eed47555617d669f58f293d3698514b4d4 (diff)
downloadskiboot-0cadc98552405e922a587661dd0af530d651c0a2.zip
skiboot-0cadc98552405e922a587661dd0af530d651c0a2.tar.gz
skiboot-0cadc98552405e922a587661dd0af530d651c0a2.tar.bz2
hdata: Create /ibm, opal/dump device tree node
We use MPIPL system parameter to detect whether MPIPL is supported or not. If its supported create new device tree node (/ibm,opal/dump) to pass all dump related information to kernel. This patch creates new node and populates below properties: - compatible - dump version (ibm,opal-dump) - fw-load-area - Memory used by OPAL to load kernel/initrd from PNOR (KERNEL_LOAD_BASE & INITRAMFS_LOAD_BASE). This is the temporary memory used by OPAL during boot. Later Linux kernel is free to use this memory. During MPIPL boot also OPAL will overwrite this memory. OPAL will advertise these memory details to kernel. If kernel is using these memory and needs these memory content for proper dump creation, then it has to reserve destination memory to preserve these memory ranges. Also kernel should pass this detail during registration. During MPIPL firmware will take care of preserving memory and post MPIPL kernel can create proper dump. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> [oliver: rebased] Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index 963b0ab..16bde6f 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -351,6 +351,7 @@ struct iplparams_sysparams {
__be32 sys_eco_mode;
#define SYS_ATTR_MULTIPLE_TPM PPC_BIT32(0)
#define SYS_ATTR_RISK_LEVEL PPC_BIT32(3)
+#define SYS_ATTR_MPIPL_SUPPORTED PPC_BIT32(4)
__be32 sys_attributes;
__be32 mem_scrubbing;
__be16 cur_spl_value;