From: Linus Torvalds Date: Fri, 11 Mar 2022 20:28:21 +0000 (-0800) Subject: Merge tag 'riscv-for-linus-5.17-rc8' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=77fe1ba90241c2af6f14d53988bf0cd6b9586699;p=linux.git Merge tag 'riscv-for-linus-5.17-rc8' of git://git./linux/kernel/git/riscv/linux Pull RISC-V fixes from Palmer Dabbelt: - prevent users from enabling the alternatives framework (and thus errata handling) on XIP kernels, where runtime code patching does not function correctly. - properly detect offset overflow for AUIPC-based relocations in modules. This may manifest as modules calling arbitrary invalid addresses, depending on the address allocated when a module is loaded. * tag 'riscv-for-linus-5.17-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: riscv: Fix auipc+jalr relocation range checks riscv: alternative only works on !XIP_KERNEL --- 77fe1ba90241c2af6f14d53988bf0cd6b9586699