[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169928282923.16503.13448855296252108096.git-patchwork-notify@kernel.org>
Date: Mon, 06 Nov 2023 15:00:29 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Nam Cao <namcaov@...il.com>
Cc: linux-riscv@...ts.infradead.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu,
linux-kernel@...r.kernel.org, bjorn@...nel.org, guoren@...nel.org,
conor.dooley@...rochip.com, bjorn@...osinc.com
Subject: Re: [PATCH v2] riscv: provide riscv-specific is_trap_insn()
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@...osinc.com>:
On Tue, 29 Aug 2023 10:36:15 +0200 you wrote:
> uprobes expects is_trap_insn() to return true for any trap instructions,
> not just the one used for installing uprobe. The current default
> implementation only returns true for 16-bit c.ebreak if C extension is
> enabled. This can confuse uprobes if a 32-bit ebreak generates a trap
> exception from userspace: uprobes asks is_trap_insn() who says there is no
> trap, so uprobes assume a probe was there before but has been removed, and
> return to the trap instruction. This causes an infinite loop of entering
> and exiting trap handler.
>
> [...]
Here is the summary with links:
- [v2] riscv: provide riscv-specific is_trap_insn()
https://git.kernel.org/riscv/c/b701f9e726f0
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