diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2019-08-11 20:55:18 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-08-21 12:58:52 +0200 |
commit | 2e83e0eb85ca62985406920f97ece36d822d421f (patch) | |
tree | b4d13c99106c0f44bb7c1e9b8465a00386e489ff /drivers/scsi/53c700.scr | |
parent | 19413fe04f49b32c63b470079afef8d1c7995cc1 (diff) |
s390: clean .bss before running uncompressed kernel
Clean uncompressed kernel .bss section in the startup code before
the uncompressed kernel is executed. At this point of time initrd and
certificates have been already rescued. Uncompressed kernel .bss size
is known from vmlinux_info. It is also taken into consideration during
uncompressed kernel positioning by kaslr (so it is safe to clean it).
With that uncompressed kernel is starting with .bss section zeroed and
no .bss section usage restrictions apply. Which makes chkbss checks for
uncompressed kernel objects obsolete and they can be removed.
early_nobss.c is also not needed anymore. Parts of it which are still
relevant are moved to early.c. Kasan initialization code is now called
directly from head64 (early.c is instrumented and should not be
executed before kasan shadow memory is set up).
Reviewed-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/scsi/53c700.scr')
0 files changed, 0 insertions, 0 deletions