aboutsummaryrefslogtreecommitdiff
path: root/skiboot.lds.S
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-07-12 16:48:00 +0530
committerOliver O'Halloran <oohall@gmail.com>2019-08-15 17:54:24 +1000
commitfa5cb0067d06a30db01f2c34df917d39df822d86 (patch)
tree6f5a7244d4c6906a54ede3d148cd58517b6a2a74 /skiboot.lds.S
parent7fa3c1ec5c3694dac8d690efe6463f68dd3421f3 (diff)
downloadskiboot-fa5cb0067d06a30db01f2c34df917d39df822d86.zip
skiboot-fa5cb0067d06a30db01f2c34df917d39df822d86.tar.gz
skiboot-fa5cb0067d06a30db01f2c34df917d39df822d86.tar.bz2
MPIPL: Reserve memory to capture architected registers data
- Split SPIRAH memory to accommodate architected register ntuple. Today we have 1K memory for SPIRAH and it uses 288 bytes. Lets split this into two parts : SPIRAH (756 bytes) architected register memory (256 bytes) - Update SPIRAH architected register ntuple - Calculate memory required to capture architected registers data Ideally we should use HDAT provided data (proc_dump_area->thread_size). But we are not getting this data during boot. Hence lets reserve fixed memory for architected registers data collection. - Add architected registers destination memory to reserve-memory DT node. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> [oliver: rebased] Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r--skiboot.lds.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 67c58b3..5b4bb41 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -69,6 +69,11 @@ SECTIONS
KEEP(*(.spirah.data))
}
+ . = PROC_DUMP_AREA_OFF;
+ .procdump : {
+ KEEP(*(.procdump.data))
+ }
+
. = PROCIN_OFF;
.procin.data : {
KEEP(*(.procin.data))