Merge patch series "RISC-V: Fix a few kexec_file_load(2) failures"
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 3 Aug 2023 03:36:57 +0000 (20:36 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 4 Aug 2023 17:28:03 +0000 (10:28 -0700)
Petr Tesarik <petrtesarik@huaweicloud.com> says:

From: Petr Tesarik <petr.tesarik.ext@huawei.com>

The kexec_file_load(2) syscall does not work at least in some kernel
builds. For details see the relevant section in this blog post:

https://sigillatum.tesarici.cz/2023-07-21-state-of-riscv64-kdump.html

This patch series handles an additional relocation types, removes the need
to implement a Global Offset Table (GOT) for the purgatory and fixes the
placement of initrd.

* b4-shazam-merge:
  riscv/kexec: load initrd high in available memory
  riscv/kexec: handle R_RISCV_CALL_PLT relocation type

Link: https://lore.kernel.org/r/cover.1690365011.git.petr.tesarik.ext@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>

Trivial merge