[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190927222722.GG4700@infradead.org>
Date: Fri, 27 Sep 2019 15:27:22 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Vincent Chen <vincent.chen@...ive.com>
Cc: linux-riscv@...ts.infradead.org, palmer@...ive.com,
linux-kernel@...r.kernel.org, aou@...s.berkeley.edu,
paul.walmsley@...ive.com
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@...ive.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists