Re: [PATCH] riscv: enable HAVE_IOREMAP_PROT

From: Paul Walmsley

Date: Wed Mar 25 2026 - 19:20:09 EST


On Fri, 6 Mar 2026, rom.wang wrote:

> From: Yufeng Wang <wangyufeng@xxxxxxxxxx>
>
> RISC-V has implemented pte_pgprot() and selects GENERIC_IOREMAP,
> which provides a generic ioremap_prot() implementation. Enable
> HAVE_IOREMAP_PROT to activate generic_access_phys() support, which
> is useful for debugging (e.g., accessing /dev/mem via gdb).
>
> Also update the architecture support documentation accordingly.
>
> Signed-off-by: Yufeng Wang <wangyufeng@xxxxxxxxxx>

Thanks, queued for v7.1.


- Paul