Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1131768rdb; Mon, 19 Feb 2024 05:27:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUlvo9GEB2YM0ynXooFDcydSoyQCcxiL5b4TcTcuAG1eyr4JY5Lvt8sC/SfIuL0HkrSihlf76MgweDnBpowAtTObHqkwLFzPzGPopqMkQ== X-Google-Smtp-Source: AGHT+IHkmiiHOdLdyyHNkPuToizriF8AGJbpbOourCixIGWp84DsJ9BFhqYaWhZFCWzvAH/rRlrb X-Received: by 2002:aa7:d4d7:0:b0:564:616e:6da8 with SMTP id t23-20020aa7d4d7000000b00564616e6da8mr3424895edr.9.1708349268837; Mon, 19 Feb 2024 05:27:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708349268; cv=pass; d=google.com; s=arc-20160816; b=JbXRhZkTMgb+1m0TQodwbiV9vobE8nruHY0HehcTyNfiZrYLmjTIcaxAjmro+1D8q7 rpUGbNZ1y50xJlp3x0uU0ANSYZVyVL0bnIhqvzqexdYIiRmwu60P9VjXW33PpUpxp7CX bFAXwd2NYherc3X7xW4etkK51zPNAZnLBVvLFt76Sp7i5wZQlVfPX9K1U8MBDlB5zWz4 WzgznAYAulKJIW1Q+tUdG+DR1SOQAwzl2y0Lp4JfmMKPePh5GnuAzaKnn5xrAu2UphbP SA9+udKa9u8Uh90rYeUX7aGwiJqWKhsSGy5TuvrgQ+KcHWlKPD95MjGCKQM6IPRpJ6VO 7Z/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=wMHiM4QPZrDUPF1UxskxpR9lemcTVzesVXtS3NXsMak=; fh=TQLVQYng9f6Tb0g8M+hUmWgla7q4Tw/pVczrN2rnQQc=; b=YN2Pc/bkHWX6gH8BKOG8H3tnvd3uJ7/w3SlUrzIXz4Z01TmlFxI8Du82erc7ZTtZBw 9rO48MZYTPUSKny5MPPgYCyD0Y6MrmAB3pD2iXmAK51Mmf1kvTQ+IW0QGtcbeuelSWJ3 sYeaKC4vZK+QPCjNuMDwkkI08zfR48XfpeCzOo6y7nZI+0cJMU/WX7VTPlIgHtx0OL37 tFSp3GiksTBxi0ziB6S7g1AICy2msXfFHQgYnxUbgVZkGprQFDrNuquUwjiKfitScHrY +XNseXXD0RrfTVIi1bpFd12weI7YR4a0C77cARrtJHYhLJN+fY05oel0gEtpbF1edztL O4/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QcOWv2kV; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-71401-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71401-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dh6-20020a0564021d2600b00563fbd204b7si2433175edb.618.2024.02.19.05.27.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:27:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71401-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QcOWv2kV; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-71401-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71401-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 959141F21CA7 for ; Mon, 19 Feb 2024 13:27:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC5D536136; Mon, 19 Feb 2024 13:27:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QcOWv2kV" Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 D636D36122 for ; Mon, 19 Feb 2024 13:27:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708349262; cv=none; b=hegILF6PW5aq01Prx9iuls5XWqf7liCugK8qc58EFPjPOo/cn9zU+a0RjhF8iWXLvwANGR9NgklVQp8aI1Xv+ZUAC2JeNLFoh5RaTobdRXnxQEJcEOnA2OaOh4Uec+SNq5J87JFIG0wmaKtZY/+y2Y/F7Rc8Z5B0CE9rw2OS2/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708349262; c=relaxed/simple; bh=iA0Is1XYfjjlwAR8FaMzAAPWwQuFg/KJiorU3xxER7c=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=IvN/IaQfnRsnCWXl9tdLhGV/4GefFUHG511VcEl77F48I2lzz5IqiWmQFZVzDukLawdj9yt+nwIFqlisyspOEuXTHxSVzLWUchxtHyCySwP35GOVHEyCPaMXTcZe63BjlukszWTBU71o1c8moZCxHNH3vZdfJmpIPGWphP4YtMk= 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=QcOWv2kV; arc=none smtp.client-ip=209.85.210.172 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 Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e43ee3f6fbso1242051b3a.3 for ; Mon, 19 Feb 2024 05:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708349260; x=1708954060; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wMHiM4QPZrDUPF1UxskxpR9lemcTVzesVXtS3NXsMak=; b=QcOWv2kVbxyY0eg/LTjK82nzdiy9l3GuP+nqjQWp/KzzRZIG9v/ISNVWJ7g3vnrMXT lzDv4F+3/o8YUDz5jjPEhWmDr+rZAPNvIzEL0Yq6YxdSelEpnub7tASlIq1JLIoBP8rl DIJ01n9y5xGroTgG+jreZf6esyGcIpdhmFwLxUmjWl9rrHNyJGUJA3GDY8xRitLcWmFM 2tqT1gjz3qf8TBfXjk/lvxT80kdRvFHDo+E+UThCsrURwug4rN8+IzfKDksyDc4ud5NA m/e6Hqu70enT5FQIclrU00RhybSmxGZyPnsgFqg1oFUWUh6wK+wwxxVhHvIO7jmk1Inn OuWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708349260; x=1708954060; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wMHiM4QPZrDUPF1UxskxpR9lemcTVzesVXtS3NXsMak=; b=uHtQpHGhJnkibS0xj5uZHdgxhxfxV8ZuBATK0tYAtHfqzfgayf5Qo780qQj1hD6/FZ Ng1I/3xR8JgNvJURIzOndEP6uRLagGztnwBGXG77oZEGdkN5p2EcLKeCSU5eQy0n+Ghn X40orINR8N2NZDoH4Nb85UUdC0lRc74OmTnEIY0dT6733NlAi6ZeJzlW4ikicsW58YDk lyW+0K6eVOb2sV9VGrWA2ACwA6m7GdjWgc66vUbn+uj6h7aiVvL7sU+fajYijJUemPah g20EVAgWzFXJvnHU+RuXny78iySblUUtusRcXKjpnDxlDqe/p6oRLVkO1X7VFoVL1T/8 lMNA== X-Forwarded-Encrypted: i=1; AJvYcCUfrqasXQ+7QpWLXIJq0wfCUSr8uUMjabXp/VHb2U8kR2rp75h8Z87Svvxnbg95u0IgEUG6GwV1V210WtqGRGQ++4x/7oL7MaQGmFvI X-Gm-Message-State: AOJu0YzdX2wq8OFMXNOmd1DvxOW8ldgVtlBcKRMxWbSDbiTrbjS1YZ7t oxGDKWVe5QrX3Tr2hv6UhrwDnvoCCw8lQSx5Y96AZXvGSIlv2Wib X-Received: by 2002:aa7:8698:0:b0:6e2:b25d:a999 with SMTP id d24-20020aa78698000000b006e2b25da999mr6232405pfo.34.1708349260028; Mon, 19 Feb 2024 05:27:40 -0800 (PST) Received: from localhost.localdomain ([49.142.40.215]) by smtp.gmail.com with ESMTPSA id c4-20020a62e804000000b006e46047fe04sm2192198pfi.204.2024.02.19.05.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:27:39 -0800 (PST) From: skseofh@gmail.com To: catalin.marinas@arm.com, will@kernel.org, rmk+kernel@armlinux.org.uk, tglx@linutronix.de, mark.rutland@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Daero Lee Subject: [PATCH] arm64: remove duplicated early fixmap init Date: Mon, 19 Feb 2024 22:27:32 +0900 Message-Id: <20240219132732.2493485-1-skseofh@gmail.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Daero Lee We call early_fixmap_init() in two places. - early_fdt_map() - setup_arch() Because early_fdt_map() is called before going to setup_arch(), early_fixmap_init() can be deleted from setup_arch(). Signed-off-by: Daero Lee --- arch/arm64/kernel/setup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 42c690bb2d60..ce45f4a9ac4a 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -305,7 +305,6 @@ void __init __no_sanitize_address setup_arch(char **cmdline_p) */ arm64_use_ng_mappings = kaslr_requires_kpti(); - early_fixmap_init(); early_ioremap_init(); setup_machine_fdt(__fdt_pointer); -- 2.25.1