mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-29 20:58:57 -04:00
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@kylinos.cn> Link: https://patch.msgid.link/20260306112734.108186-1-r4o5m6e8o@163.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
31 lines
834 B
Plaintext
31 lines
834 B
Plaintext
#
|
|
# Feature name: ioremap_prot
|
|
# Kconfig: HAVE_IOREMAP_PROT
|
|
# description: arch has ioremap_prot()
|
|
#
|
|
-----------------------
|
|
| arch |status|
|
|
-----------------------
|
|
| alpha: | TODO |
|
|
| arc: | ok |
|
|
| arm: | TODO |
|
|
| arm64: | ok |
|
|
| csky: | TODO |
|
|
| hexagon: | TODO |
|
|
| loongarch: | ok |
|
|
| m68k: | TODO |
|
|
| microblaze: | TODO |
|
|
| mips: | ok |
|
|
| nios2: | TODO |
|
|
| openrisc: | TODO |
|
|
| parisc: | TODO |
|
|
| powerpc: | ok |
|
|
| riscv: | ok |
|
|
| s390: | ok |
|
|
| sh: | ok |
|
|
| sparc: | TODO |
|
|
| um: | TODO |
|
|
| x86: | ok |
|
|
| xtensa: | TODO |
|
|
-----------------------
|