From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD6034D90C7 for ; Tue, 21 Jul 2026 15:11:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784646695; cv=none; b=coHuNsGC5RfjPNpbgX8pQZaN3s98Znyl+Rd4UFqXSSThV9z0GVigmhULtBzDfPqEL01MVQtHTvacQ6g/Paok3WxODLfM2FI3b51lNmAOBy//KBZlnWTbjeb94B7E2c49IuRP+xZB5esZwTsmtNezR/EGkfbbXzzdb0WEYFo6M+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784646695; c=relaxed/simple; bh=d/aZjshSfX/BCr5ZizWCfPLriVpQgGUDoi0KYIaTyg4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ttCcZvmMrKFuQygp3BXe9nEg7T4+4sZYv2t5QLESTC5EKygIP8RlhOXWpQqVWOaS+n4gv2vxxn72EdV+hVL+JB6xXN5u1ca3aeGSEIfA7k4yPcB7RsgQTLsQFYZu9Gm6zKoCMws7LX59dWCphJwKVNlDCdf+lTpPu+kaQXRcypA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AWfmGqL8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AWfmGqL8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54CE71F00A3A; Tue, 21 Jul 2026 15:11:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784646694; bh=XlmkIlI/0ZYha/er7EZ84MmkZCiwZXbwdDI7LTwrjs0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=AWfmGqL8yS617Go8Z6km8FnvSkHiDdc6L8CbGJA/0U32k1eIHPo85iPNL9i12xBm5 4wq2AZPUqXiMLOxwrB8KGKCXdEqpzhKlFVjcQ3wXfzRHo9XGf8PlFC22DRPfM7k3ip VSUm/7GKjSTaCjzjjdPT5Z/Gpj/PvWGiCxtghkQVquZBmd1UpXGEuqpj89QcOGhq9b GmqHdPF204W3n+31wTaWe6nvELLtr6BwxheTu+PWc6vMg2j/ojrPzNqE+Vf2I/xXaO qqixl6f79FqbDMJ0RWqzDIMD5ghInp5QfOA6ZTmGWd9mNgg8W868UCqeDa8WKoqcfe FjEIqWNE/AnSg== Date: Tue, 21 Jul 2026 16:11:28 +0100 From: Will Deacon To: Sang-Heon Jeon Cc: akpm@linux-foundation.org, Catalin Marinas , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-mm@kvack.org, Alexandre Ghiti , David Hildenbrand , 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 Message-ID: References: <20260708170647.362562-1-ekffu200098@gmail.com> <20260708170647.362562-4-ekffu200098@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > --- > 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 > 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 I'm assuming that Andrew will sweep up all three, but please holler if I should take this one via arm64 instead. Will