From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E10562DF126 for ; Wed, 8 Jul 2026 17:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783530437; cv=none; b=YydIyDxCcgZKRsSkH/PHqf9DlSqR4YnD8c5i2Cg4mxRC11zfUwwSTcZ9jj7ZHly0Tv8Hf8+Xt0gaQ42/5vUrkbc8IcCF6BtjbGPPtLZDuBXis5tiZGGlmMgvNK4RiA1yYv5/6P5XehqYm9OI78GbOwXjBdGCo3E3yimI7WcmtUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783530437; c=relaxed/simple; bh=JjfNpOLuKGX8ww01sU9JCTXN3vGOCNn/ueoRNmWG1tE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=osJ8lKbzMOWoaFmU1DUblymbMkYozOFjgTNoXloeF2EyTAkrwZxfxzNyV0G+icK2TG3IpvM5RN9aW3XK1Rp0UkHWVoS/R1bKLfM8isbS0xtwoKO4YlGT2qXj+ZbW+TtFYTLtTzLP2AJVuQj/kHbeOvdFJSpGa2IHy5fxZ8C1WmI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZpIcoTIQ; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZpIcoTIQ" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8484f229529so468240b3a.2 for ; Wed, 08 Jul 2026 10:07:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783530435; x=1784135235; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Cm8S7fxMLu6TlkbuGaHjv8eWStidNKhc6ejgToCRJ4U=; b=ZpIcoTIQPpSezWJR/cZarjlBmhcbyJXlUp+lNPy1AZARPCXYa1Vw9S+E7WljYWIQsH H/BUeQ7LTgkbat5fctFMkr0nKLBD7GLM/SmHFeFNRT7MEwEiomfsQ4f21tc1PRlzCmyH sdjOkxtbT4BaFg6MKg3gRjzmEB/hQO2FVwBamcQ1kcnTvT6TKmJbYG9beKdD0GqTxMlW 5JrT52Avah3gZgdJhpkKsGdy6kDf5wnw11tT8ynJ1xx4BEfciKrHyi/4vYs3rTXStFp1 dl1Qtvjc0TJc7N7ItAlPi6UgwTbHKH9ZkQrYcZ1xcLetquL3hRRrTw/OVHiLKUk0HlWQ qbCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783530435; x=1784135235; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Cm8S7fxMLu6TlkbuGaHjv8eWStidNKhc6ejgToCRJ4U=; b=LCdfO1EM/GZX4AK4KPhc77v7EeOpLqC3l5Akk9BW03gxoIPtseRBdJugtOnThMKFhk WUAIUZ8WEfuHWpWiacJVdY0BXC+c9ZSP3EUnytHUyDqmGQrqb1YcCHO+Vi7Tf/gAOvKT dMIC6o4gvDqPSAXxgfHIeB5idwhRT6tjFgFfZOjGL2EmWmaKkCBjZvkKBuyNQu2Z5/Jn E3aOMsjUOCBEY6GNzO6cfH/CJxVT16wo17P45DkE1+8z+7MW8f+4fh+X6zZ3hvqq0M7g HvAClRzPU+TF2GTIt60xPF0jSTsn4Fq4PyxGFde8GcT2MdoGkbZOkhxvV9oC8zuyzS3T iAoA== X-Forwarded-Encrypted: i=1; AHgh+Rp1412GUCex6YxYlpskRfDgOvR70bHpSOBMv01sYwyxwiePL5gk5ZjHMZnBbUDRawUv1w2cD81dnq/g7Is=@vger.kernel.org X-Gm-Message-State: AOJu0YyGN8gRTBVBKDbhmc9KkTgb2wP6zKlX0s4f9KyYMQzhJrqewQsK 1+M1uPIzoZJWKNQWS94iHBYSoOz/GLe4GaVRwy1LxU8uY5EhmL9Na11E X-Gm-Gg: AfdE7cn7anvC1gVSpc9SdAxqw10rhdD0jdM+FY6MRxeiAbYEmdWoSYwkYbtqlelWX23 5L67dZtpiF3narXpWLbxqxwqgMk+uUWV/Rx12MMsoWa+3eZeil2zyFX68r9QqY1ZFpEW81BvC0C 3moiTuFGwKs+MU0jbFjDu2qm6PQ4C5sbuFAGh9P3pYk5RctMzyVhVf8th9dO9O2YyHhDwFgTBC5 RUl499tUkS8oSn4cHSv9UNJCcb6Kw+YE12LCiGKLWwyfwNImciXBzS1XDrBFBNyfrIhpY5AFGCz IqkLn6kjmYiTmHPFy9vb5sMG2bbNQYFFxfXvRxFciV6XJchV6xoxze95jp4Ddcl01yolxZ3O+qa 1j1eIpksbTOcWXouzO4p40SwEDPpz+akM9xZCEv1CoLCUtMc4e+ox4eRGtWQKpGuTletywXOORV 8X27hzE5ZgnLwrQvLoBA== X-Received: by 2002:a05:6a00:6f0d:b0:848:438d:3665 with SMTP id d2e1a72fcca58-848438d3bb1mr2984905b3a.41.1783530435052; Wed, 08 Jul 2026 10:07:15 -0700 (PDT) Received: from ubuntu.. ([110.9.142.4]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84847275fa0sm1119528b3a.22.2026.07.08.10.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2026 10:07:14 -0700 (PDT) From: Sang-Heon Jeon To: akpm@linux-foundation.org, Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-mm@kvack.org, Sang-Heon Jeon , Alexandre Ghiti , David Hildenbrand , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 3/3] arm64: remove early_ioremap_reset() call and __late_* macros Date: Thu, 9 Jul 2026 02:06:47 +0900 Message-ID: <20260708170647.362562-4-ekffu200098@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260708170647.362562-1-ekffu200098@gmail.com> References: <20260708170647.362562-1-ekffu200098@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(); - if (acpi_disabled) psci_dt_init(); else -- 2.43.0