diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2022-06-07 14:50:27 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-06-27 13:22:31 +0200 |
commit | 893dea9ccd08dab924839354aba21d4ed7a9abc0 (patch) | |
tree | 536f6d1476979f85883488eb88995ad3065a463e /Documentation/features | |
parent | arm64: mm: Convert to GENERIC_IOREMAP (diff) | |
download | linux-893dea9ccd08dab924839354aba21d4ed7a9abc0.tar.xz linux-893dea9ccd08dab924839354aba21d4ed7a9abc0.zip |
arm64: Add HAVE_IOREMAP_PROT support
With ioremap_prot() definition from generic ioremap, also move
pte_pgprot() from hugetlbpage.c into pgtable.h, then arm64 could
have HAVE_IOREMAP_PROT, which will enable generic_access_phys()
code, it is useful for debug, eg, gdb.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/20220607125027.44946-7-wangkefeng.wang@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/features')
-rw-r--r-- | Documentation/features/vm/ioremap_prot/arch-support.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/features/vm/ioremap_prot/arch-support.txt b/Documentation/features/vm/ioremap_prot/arch-support.txt index b01bf7bca3e6..6bd78eb4dc6e 100644 --- a/Documentation/features/vm/ioremap_prot/arch-support.txt +++ b/Documentation/features/vm/ioremap_prot/arch-support.txt @@ -9,7 +9,7 @@ | alpha: | TODO | | arc: | ok | | arm: | TODO | - | arm64: | TODO | + | arm64: | ok | | csky: | TODO | | hexagon: | TODO | | ia64: | TODO | |