Re: [PATCH 2/4] rsicv: avoid sending a SIGTRAP to a user thread trapped in WARN()

From: Paul Walmsley
Date: Fri Oct 04 2019 - 14:26:38 EST


On Mon, 23 Sep 2019, Vincent Chen wrote:

> On RISC-V, when the kernel runs code on behalf of a user thread, and the
> kernel executes a WARN() or WARN_ON(), the user thread will be sent
> a bogus SIGTRAP. Fix the RISC-V kernel code to not send a SIGTRAP when
> a WARN()/WARN_ON() is executed.
>
> Signed-off-by: Vincent Chen <vincent.chen@xxxxxxxxxx>

Thanks, queued for v5.4-rc.


- Paul