diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2019-10-11 15:27:41 +1100 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-10-14 10:51:42 +1100 |
commit | a4e0f636ea8c179d68c14d96ca36e165406a452e (patch) | |
tree | 0c2a1bf5389411ee2bba4c1d0592f0e4b64e3db5 /skiboot.lds.S | |
parent | 1785745d5a7eaefd7d0c135f2a3b0f5d86aefec5 (diff) | |
download | skiboot-a4e0f636ea8c179d68c14d96ca36e165406a452e.zip skiboot-a4e0f636ea8c179d68c14d96ca36e165406a452e.tar.gz skiboot-a4e0f636ea8c179d68c14d96ca36e165406a452e.tar.bz2 |
core/init: Don't checksum MPIPL data areas
Right now the romem checksum runs from _start until the start of our
data area. This spans the area used for the MPIPL data structures since
they're included in the SPIRA-H data area.
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r-- | skiboot.lds.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S index 8890d69..32139b2 100644 --- a/skiboot.lds.S +++ b/skiboot.lds.S @@ -69,6 +69,13 @@ SECTIONS KEEP(*(.spirah.data)) } + _head_end = .; + + /* + * The following sections are read-write at runtime. We need + * to skip over them when checksumming the skiboot images + * before a fast-reboot. + */ . = PROC_DUMP_AREA_OFF; .procdump : { KEEP(*(.procdump.data)) @@ -94,6 +101,8 @@ SECTIONS KEEP(*(.cpuctrl.data)) } + /* ...and back to RO */ + . = ALIGN(0x10); _stext = .; .text : { |