Re: [PATCH] riscv: entry: Save a0 prior syscall_enter_from_user_mode()

From: patchwork-bot+linux-riscv
Date: Tue Apr 11 2023 - 13:40:47 EST


Hello:

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

On Mon, 3 Apr 2023 08:52:07 +0200 you wrote:
> From: Björn Töpel <bjorn@xxxxxxxxxxxx>
>
> The RISC-V calling convention passes the first argument, and the
> return value in the a0 register. For this reason, the a0 register
> needs some extra care; When handling syscalls, the a0 register is
> saved into regs->orig_a0, so a0 can be properly restored for,
> e.g. interrupted syscalls.
>
> [...]

Here is the summary with links:
- riscv: entry: Save a0 prior syscall_enter_from_user_mode()
https://git.kernel.org/riscv/c/9c2598d43510

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