Messages in this thread | | | Date | Fri, 27 Sep 2019 15:27:22 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH 2/4] rsicv: avoid sending a SIGTRAP to a user thread trapped in WARN() |
| |
On Mon, Sep 23, 2019 at 08:45:15AM +0800, 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@sifive.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |