Re: [PATCH v6 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h

From: Christoph Hellwig
Date: Thu Apr 25 2019 - 04:42:34 EST


On Thu, Apr 25, 2019 at 08:38:37AM +0000, Anup Patel wrote:
> This patch adds SCAUSE interrupt flag and SCAUSE interrupt related
> defines to asm/csr.h. We also use these defines in kernel/irq.c and
> express SIE/SIP flags in-terms of SCAUSE interrupt causes.
>
> Signed-off-by: Anup Patel <anup.patel@xxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>