Re: [PATCH v5 RESEND 16/17] arm64 : mm: add wrapper function ioremap_prot()

From: Kefeng Wang
Date: Wed May 17 2023 - 21:58:24 EST




On 2023/5/15 17:08, Baoquan He wrote:
Since hook functions ioremap_allowed() and iounmap_allowed() will be
obsoleted, add wrapper function ioremap_prot() to contain the
the specific handling in addition to generic_ioremap_prot() invocation.

Signed-off-by: Baoquan He <bhe@xxxxxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Will Deacon <will@xxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
---
arch/arm64/include/asm/io.h | 3 +--
arch/arm64/mm/ioremap.c | 10 ++++++----
2 files changed, 7 insertions(+), 6 deletions(-)

Reviewed-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>