Re: [PATCH v2] riscv: add CALLER_ADDRx support

From: patchwork-bot+linux-riscv
Date: Thu Feb 22 2024 - 23:30:44 EST


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Fri, 2 Feb 2024 01:51:02 +0000 you wrote:
> CALLER_ADDRx returns caller's address at specified level, they are used
> for several tracers. These macros eventually use
> __builtin_return_address(n) to get the caller's address if arch doesn't
> define their own implementation.
>
> In RISC-V, __builtin_return_address(n) only works when n == 0, we need
> to walk the stack frame to get the caller's address at specified level.
>
> [...]

Here is the summary with links:
- [v2] riscv: add CALLER_ADDRx support
https://git.kernel.org/riscv/c/680341382da5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html