Like done for ARM32, let's also print a helpful debug message for ARM64 too.
Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de> --- arch/arm/cpu/mmu_64.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/mmu_64.c b/arch/arm/cpu/mmu_64.c index bc5d1a6e8160..0bd5e4dc98c4 100644 --- a/arch/arm/cpu/mmu_64.c +++ b/arch/arm/cpu/mmu_64.c @@ -164,6 +164,8 @@ static int __arch_remap_range(uint64_t virt, uint64_t phys, uint64_t size, if (WARN_ON(attr == ~0UL)) return -EINVAL; + pr_debug_remap(addr, phys, size, map_type); + attr &= ~PTE_TYPE_MASK; size = PAGE_ALIGN(size); -- 2.39.5