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>