From: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx> This allows us to enable STRICT_DEVMEM. Signed-off-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx> --- 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