[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170866263006.22939.204004953353760152.git-patchwork-notify@kernel.org>
Date: Fri, 23 Feb 2024 04:30:30 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Zong Li <zong.li@...ive.com>
Cc: linux-riscv@...ts.infradead.org, palmer@...belt.com,
paul.walmsley@...ive.com, alex@...ti.fr, conor.dooley@...rochip.com,
aou@...s.berkeley.edu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] riscv: add CALLER_ADDRx support
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@...osinc.com>:
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
Powered by blists - more mailing lists