[PATCH] riscv: enable HAVE_IOREMAP_PROT
Paul Walmsley
pjw at kernel.org
Wed Mar 25 16:09:26 PDT 2026
On Fri, 6 Mar 2026, rom.wang wrote:
> From: Yufeng Wang <wangyufeng at kylinos.cn>
>
> 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 at kylinos.cn>
Thanks, queued for v7.1.
- Paul
More information about the linux-riscv
mailing list