From: Palmer Dabbelt Date: Wed, 26 Mar 2025 22:55:45 +0000 (-0700) Subject: Merge patch series "riscv: Relocatable NOMMU kernels" X-Git-Tag: v6.15-rc1~18^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f633de4aa4537c190a9842c3e84e77780621c615;p=thirdparty%2Flinux.git Merge patch series "riscv: Relocatable NOMMU kernels" Samuel Holland says: Currently, RISC-V NOMMU kernels are linked at CONFIG_PAGE_OFFSET, and since they are not relocatable, must be loaded at this address as well. CONFIG_PAGE_OFFSET is not a user-visible Kconfig option, so its value is not obvious, and users must patch the kernel source if they want to load it at a different address. Make NOMMU kernels more portable by making them relocatable by default. This allows a single kernel binary to work when loaded at any address. * b4-shazam-merge: riscv: Remove CONFIG_PAGE_OFFSET riscv: Support CONFIG_RELOCATABLE on riscv32 asm-generic: Always define Elf_Rel and Elf_Rela riscv: Support CONFIG_RELOCATABLE on NOMMU riscv: Allow NOMMU kernels to access all of RAM riscv: Remove duplicate CONFIG_PAGE_OFFSET definition Link: https://lore.kernel.org/r/20241026171441.3047904-1-samuel.holland@sifive.com Signed-off-by: Palmer Dabbelt --- f633de4aa4537c190a9842c3e84e77780621c615