summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-08-03 22:49:47 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-08-03 22:49:47 +0800
commita1a81b5477196ca1290b367404a461e046e647d5 (patch)
treed6696f31c78c642316a121c5ffd8c3fdc26b99c6 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent41fee4f0036734bec427659f749e44cfe1821565 (diff)
LoongArch: Make relocate_new_kernel_size be a .quad value
Now relocate_new_kernel_size is a .long value, which means 32bit, so its high 32bit is undefined. This causes memcpy((void *)reboot_code_buffer, relocate_new_kernel, relocate_new_kernel_size) in machine_kexec_prepare() access out of range memories in some cases, and then end up with an ADE exception. So make relocate_new_kernel_size be a .quad value, which means 64bit, to avoid such errors. Cc: stable@vger.kernel.org Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions