Re: [PATCH 3/3] arm64: remove early_ioremap_reset() call and __late_* macros

From: Will Deacon

Date: Tue Jul 21 2026 - 11:16:00 EST


On Thu, Jul 09, 2026 at 02:06:47AM +0900, Sang-Heon Jeon wrote:
> On arm64, __early_set_fixmap(), __late_set_fixmap() and
> __late_clear_fixmap() are all __set_fixmap(). Calling
> early_ioremap_reset() changes nothing. So remove the call and the
> macros.
>
> No functional change.
>
> Signed-off-by: Sang-Heon Jeon <ekffu200098@xxxxxxxxx>
> ---
> arch/arm64/include/asm/fixmap.h | 3 ---
> arch/arm64/kernel/setup.c | 2 --
> 2 files changed, 5 deletions(-)
>
> diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include/asm/fixmap.h
> index 65555284446e..abd9800aabf7 100644
> --- a/arch/arm64/include/asm/fixmap.h
> +++ b/arch/arm64/include/asm/fixmap.h
> @@ -110,9 +110,6 @@ void __init early_fixmap_init(void);
>
> #define __early_set_fixmap __set_fixmap
>
> -#define __late_set_fixmap __set_fixmap
> -#define __late_clear_fixmap(idx) __set_fixmap((idx), 0, FIXMAP_PAGE_CLEAR)
> -
> extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
>
> #include <asm-generic/fixmap.h>
> diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
> index 23c05dc7a8f2..29c6100f0c50 100644
> --- a/arch/arm64/kernel/setup.c
> +++ b/arch/arm64/kernel/setup.c
> @@ -347,8 +347,6 @@ void __init __no_sanitize_address setup_arch(char **cmdline_p)
>
> request_standard_resources();
>
> - early_ioremap_reset();
> -

Acked-by: Will Deacon <will@xxxxxxxxxx>

I'm assuming that Andrew will sweep up all three, but please holler if
I should take this one via arm64 instead.

Will