Re: [PATCH v2 5/5] arm64: Add HAVE_IOREMAP_PROT support

From: Catalin Marinas
Date: Mon May 16 2022 - 18:49:31 EST


On Fri, Apr 29, 2022 at 06:32:25PM +0800, Kefeng Wang wrote:
> With ioremap_prot() defination 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.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>