aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarcelo Henrique Cerri <[email protected]>2017-03-13 12:14:58 -0300
committerMartin Schwidefsky <[email protected]>2017-03-22 08:21:20 +0100
commitd82c0d12c92705ef468683c9b7a8298dd61ed191 (patch)
tree1df90d96f517b78090aac0f32f6e19f25051ba0e /tools/perf/scripts/python/export-to-postgresql.py
parent093b995e3b55a0ae0670226ddfcb05bfbf0099ae (diff)
s390/decompressor: fix initrd corruption caused by bss clear
Reorder the operations in decompress_kernel() to ensure initrd is moved to a safe location before the bss section is zeroed. During decompression bss can overlap with the initrd and this can corrupt the initrd contents depending on the size of the compressed kernel (which affects where the initrd is placed by the bootloader) and the size of the bss section of the decompressor. Also use the correct initrd size when checking for overlaps with parmblock. Fixes: 06c0dd72aea3 ([S390] fix boot failures with compressed kernels) Cc: [email protected] Reviewed-by: Joy Latten <[email protected]> Reviewed-by: Vineetha HariPai <[email protected]> Signed-off-by: Marcelo Henrique Cerri <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions