From: Will Deacon <will@kernel.org>
To: Sang-Heon Jeon <ekffu200098@gmail.com>
Cc: akpm@linux-foundation.org,
Catalin Marinas <catalin.marinas@arm.com>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
linux-mm@kvack.org, Alexandre Ghiti <alex@ghiti.fr>,
David Hildenbrand <david@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org
Subject: Re: [PATCH 3/3] arm64: remove early_ioremap_reset() call and __late_* macros
Date: Tue, 21 Jul 2026 16:11:28 +0100 [thread overview]
Message-ID: <al-MIFXhVs2Yol4c@willie-the-truck> (raw)
In-Reply-To: <20260708170647.362562-4-ekffu200098@gmail.com>
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@gmail.com>
> ---
> 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@kernel.org>
I'm assuming that Andrew will sweep up all three, but please holler if
I should take this one via arm64 instead.
Will
prev parent reply other threads:[~2026-07-21 15:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 17:06 [PATCH 0/3] mm/early_ioremap: clarify and clean up early_ioremap_reset() Sang-Heon Jeon
2026-07-08 17:06 ` [PATCH 1/3] mm/early_ioremap: clarify early_ioremap_reset() semantics Sang-Heon Jeon
2026-07-08 17:06 ` [PATCH 2/3] riscv: remove unused __late_set_fixmap() and __late_clear_fixmap() Sang-Heon Jeon
2026-07-08 17:06 ` [PATCH 3/3] arm64: remove early_ioremap_reset() call and __late_* macros Sang-Heon Jeon
2026-07-21 15:11 ` Will Deacon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=al-MIFXhVs2Yol4c@willie-the-truck \
--to=will@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=catalin.marinas@arm.com \
--cc=david@kernel.org \
--cc=ekffu200098@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®