[PATCH v5 00/12] Allow calls in alternatives
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Thu Dec 29 12:10:17 PST 2022
Hello:
This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:
On Fri, 23 Dec 2022 23:13:20 +0100 you wrote:
> From: Heiko Stuebner <heiko.stuebner at vrull.eu>
>
> This series is split out of my work on optimizing string functions
> and provides the basics to:
>
> - actually allowing calls in alternatives
> Function calls use auipc + jalr to reach those 32bit relative
> addresses but when they're compiled the offset will be wrong
> as alternatives live in a different section. So when the patch
> gets applied the address will point to the wrong location.
>
> [...]
Here is the summary with links:
- [v5,01/12] RISC-V: fix funct4 definition for c.jalr in parse_asm.h
https://git.kernel.org/riscv/c/a3775634f6da
- [v5,02/12] RISC-V: add prefix to all constants/macros in parse_asm.h
https://git.kernel.org/riscv/c/bf0cc402d7cd
- [v5,03/12] RISC-V: detach funct-values from their offset
https://git.kernel.org/riscv/c/33e41480b233
- [v5,04/12] RISC-V: add ebreak instructions to definitions
https://git.kernel.org/riscv/c/2621cac76f84
- [v5,05/12] RISC-V: add auipc elements to parse_asm header
https://git.kernel.org/riscv/c/cde4a69302a4
- [v5,06/12] RISC-V: Move riscv_insn_is_* macros into a common header
https://git.kernel.org/riscv/c/ec5f90877516
- [v5,07/12] RISC-V: rename parse_asm.h to insn.h
https://git.kernel.org/riscv/c/c9c1af3f186a
- [v5,08/12] RISC-V: kprobes: use central defined funct3 constants
https://git.kernel.org/riscv/c/debe28d0a52e
- [v5,09/12] RISC-V: add U-type imm parsing to insn.h header
https://git.kernel.org/riscv/c/8963d6224009
- [v5,10/12] RISC-V: add rd reg parsing to insn.h header
https://git.kernel.org/riscv/c/088ec01fce4e
- [v5,11/12] RISC-V: add helpers for handling immediates in U-type and I-type pairs
https://git.kernel.org/riscv/c/47f05757d3d8
- [v5,12/12] RISC-V: fix auipc-jalr addresses in patched alternatives
https://git.kernel.org/riscv/c/27c653c06505
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list