summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-12-17 02:39:56 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-12-29 01:26:16 +0300
commit4d4f9c1a17a3480f8fe523673f7232b254d724b7 (patch)
tree19e316e32f1ced9893a03188f3826ee4d6e5e483 /tools/perf/scripts/python/export-to-sqlite.py
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
downloadlinux-4d4f9c1a17a3480f8fe523673f7232b254d724b7.tar.xz
MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
The compressed payload is not necesarily 4-byte aligned, at least when compiling with Clang. In that case, the 4-byte value appended to the compressed payload that corresponds to the uncompressed kernel image size must be read using get_unaligned_le32(). This fixes Clang-built kernels not booting on MIPS (tested on a Ingenic JZ4770 board). Fixes: b8f54f2cde78 ("MIPS: ZBOOT: copy appended dtb to the end of the kernel") Cc: <stable@vger.kernel.org> # v4.7 Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions