From: Bart.VanAssche@wdc.com (Bart Van Assche) Date: Thu, 22 Feb 2018 15:54:01 +0000 Subject: [PATCH] riscv: enable STRICT_DEVMEM by default In-Reply-To: <20180222153941.20826-1-hch@lst.de> References: <20180222153941.20826-1-hch@lst.de> Message-ID: <1519314839.2861.1.camel@wdc.com> To: linux-riscv@lists.infradead.org List-Id: linux-riscv.lists.infradead.org On Thu, 2018-02-22 at 07:39 -0800, Christoph Hellwig wrote: > No need to enable /dev/mem access on a new port. > > Signed-off-by: Christoph Hellwig > --- > lib/Kconfig.debug | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 6088408ef26c..0c6c2aafe93a 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -1968,7 +1968,7 @@ config STRICT_DEVMEM > bool "Filter access to /dev/mem" > depends on MMU && DEVMEM > depends on ARCH_HAS_DEVMEM_IS_ALLOWED > - default y if TILE || PPC || X86 || ARM64 > + default y if TILE || PPC || X86 || ARM64 | RISCV ^ Did you perhaps intend "||" instead of "|"? With that change applied: Reviewed-by: Bart Van Assche