[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200709200552.1910298-3-palmer@dabbelt.com>
Date: Thu, 9 Jul 2020 13:05:49 -0700
From: Palmer Dabbelt <palmer@...belt.com>
To: linux-riscv@...ts.infradead.org, zong.li@...ive.com
Cc: linux@...linux.org.uk, catalin.marinas@....com, will@...nel.org,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, aou@...s.berkeley.edu,
gxt@....edu.cn, Arnd Bergmann <arnd@...db.de>,
akpm@...ux-foundation.org, linus.walleij@...aro.org,
rppt@...ux.ibm.com, mchehab+samsung@...nel.org,
gregory.0xf0@...il.com, masahiroy@...nel.org,
Nick Desaulniers <ndesaulniers@...gle.com>,
bgolaszewski@...libre.com, tglx@...utronix.de, steve@....org,
keescook@...omium.org, mcgrof@...nel.org, alex@...ti.fr,
mark.rutland@....com, james.morse@....com,
andriy.shevchenko@...ux.intel.com, alex.shi@...ux.alibaba.com,
davem@...emloft.net, rdunlap@...radead.org, broonie@...nel.org,
uwe@...ine-koenig.org, rostedt@...dmis.org,
dan.j.williams@...el.com, mhiramat@...nel.org,
matti.vaittinen@...rohmeurope.com, zaslonko@...ux.ibm.com,
krzk@...nel.org, willy@...radead.org, paulmck@...nel.org,
pmladek@...e.com, glider@...gle.com, elver@...gle.com,
davidgow@...gle.com, ardb@...nel.org, takahiro.akashi@...aro.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org, linux-arch@...r.kernel.org,
kernel-team@...roid.com, Palmer Dabbelt <palmerdabbelt@...gle.com>
Subject: [PATCH 2/5] RISC-V: Use the new generic devmem_is_allowed()
From: Palmer Dabbelt <palmerdabbelt@...gle.com>
This allows us to enable STRICT_DEVMEM.
Signed-off-by: Palmer Dabbelt <palmerdabbelt@...gle.com>
---
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 089293e4ad46..8ff368a65a07 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -37,6 +37,7 @@ config RISCV
select GENERIC_IOREMAP
select GENERIC_IRQ_MULTI_HANDLER
select GENERIC_IRQ_SHOW
+ select GENERIC_LIB_DEVMEM_IS_ALLOWED
select GENERIC_PCI_IOMAP
select GENERIC_PTDUMP if MMU
select GENERIC_SCHED_CLOCK
--
2.27.0.383.g050319c2ae-goog
Powered by blists - more mailing lists