projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527701e
)
RISC-V: Use the new generic devmem_is_allowed()
author
Palmer Dabbelt
<palmerdabbelt@google.com>
Thu, 9 Jul 2020 18:51:17 +0000
(11:51 -0700)
committer
Palmer Dabbelt
<palmerdabbelt@google.com>
Fri, 11 Dec 2020 20:28:19 +0000
(12:28 -0800)
This allows us to enable STRICT_DEVMEM.
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig
patch
|
blob
|
history
diff --git
a/arch/riscv/Kconfig
b/arch/riscv/Kconfig
index
7766e12
..
669a65d
100644
(file)
--- a/
arch/riscv/Kconfig
+++ b/
arch/riscv/Kconfig
@@
-42,6
+42,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