[PATCH v9 0/6] Introduce 64b relocatable kernel

Palmer Dabbelt palmer at rivosinc.com
Thu Apr 20 00:56:03 AEST 2023

On Wed, 29 Mar 2023 06:53:23 +0200, Alexandre Ghiti wrote:
> After multiple attempts, this patchset is now based on the fact that the
> 64b kernel mapping was moved outside the linear mapping.
> The first patch allows to build relocatable kernels but is not selected
> by default. That patch is a requirement for KASLR.
> The second and third patches take advantage of an already existing powerpc
> script that checks relocations at compile-time, and uses it for riscv.
> [...]

Applied, thanks!

[1/6] riscv: Prepare EFI header for relocatable kernels
[2/6] riscv: Move .rela.dyn outside of init to avoid empty relocations
[3/6] riscv: Introduce CONFIG_RELOCATABLE
[4/6] powerpc: Move script to check relocations at compile time in scripts/
[5/6] riscv: Check relocations at compile time
[6/6] riscv: Use --emit-relocs in order to move .rela.dyn in init

Best regards,
Palmer Dabbelt <palmer at rivosinc.com>

More information about the Linuxppc-dev mailing list