Message ID | 20230307140522.2311461-25-ardb@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A450DC678D4 for <linux-arm-kernel@archiver.kernel.org>; Tue, 7 Mar 2023 14:31:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XdAX+FL4c0+TvqF83cYbGVUmXwYekOM3KPA7YLx+4Vw=; b=VMJC5JdBoJdUQo mymmZTIZ9IC5z6lx0qNqD5HjYg+dUYBfGOUDMFy28jPOS92d5TmocVIML6vonZf5V14GUGg1zfibM kxFCEtRcJjkgflJixo8Nnj2YQDvTrRHLQ451Es5vazsZL8Ad1oLp+HrieZryHofYy0IyKX6Dw8s3n a39Ui5Xxg8sItvuK6MxPFKFQw16homSUOj2EAG3ZHBv2LKseqpUTzr9E/Ze4I/Lj0yG0MHUrASXza uVtjt3AdOtqfBIhr2qrbrkBe5nTuAFj1LdSq7fVzRWt28GAOUkhDRSe2jL/vhE+VGGlsbDYphXaSQ etY68wuDYOzCF2QfOWMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZYKP-000oCH-BE; Tue, 07 Mar 2023 14:30:09 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZXya-000eM2-Vm for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2023 14:07:38 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 377656145D; Tue, 7 Mar 2023 14:07:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1021EC4339C; Tue, 7 Mar 2023 14:07:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678198056; bh=an7RQl0FyYFp7pKvljqsgvYahLoQXlUCxmiwvRE6nxQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C1AMjA/Q6Tv3JeIisClS6GOarzAr08r6Bk0wyffkzCepVTonXIzNfn3dUG7iWkgjX dNDCIuawjWf584NQZRvBZECxIqAPoKXI9r7qy+drljZo+dgHMf/UCmCK8xWjij+HpP IDkGd5BGbfTNsE7p2IaTMYkRmc3cGfXtXi4RSKFXXqqUV7nzxJfJciSb6IxyNWR4t3 wxbTPKgzRK7jYLmhqinyjhAs9/fcr25cHfwwd5QOoz/xf0d/NWGDMRuB0EClW/nbad Di5hhFWByMQ4MlVIg8dG3TSpcAiaJm1+WYhpOcdXuQgvh27jS78kxnG1igLHBc6/U+ 4CrBQFoFtJ1Rw== From: Ard Biesheuvel <ardb@kernel.org> To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel <ardb@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Ryan Roberts <ryan.roberts@arm.com>, Anshuman Khandual <anshuman.khandual@arm.com>, Kees Cook <keescook@chromium.org> Subject: [PATCH v3 24/60] arm64: kernel: Remove early fdt remap code Date: Tue, 7 Mar 2023 15:04:46 +0100 Message-Id: <20230307140522.2311461-25-ardb@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230307140522.2311461-1-ardb@kernel.org> References: <20230307140522.2311461-1-ardb@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1349; i=ardb@kernel.org; h=from:subject; bh=an7RQl0FyYFp7pKvljqsgvYahLoQXlUCxmiwvRE6nxQ=; b=owGbwMvMwCFmkMcZplerG8N4Wi2JIYXdxSqOkXnV6mPWGxZKXlvR5vbwjFFV9H1f3/1+B2PvH dintU+jo5SFQYyDQVZMkUVg9t93O09PlKp1niULM4eVCWQIAxenAEzktiAjw0UG5R2NFRlGBk0u nxcly37OrC0orPc5x+8vbuwidNR2P8M/i/sxShuXJ3Gpiymmr7hrfn/Gih1/LQP+CPgKmJd4XFr DCAA= X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230307_060737_143103_911427E8 X-CRM114-Status: GOOD ( 11.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
arm64: Add support for LPA2 at stage1 and WXN
|
expand
|
diff --git a/arch/arm64/include/asm/setup.h b/arch/arm64/include/asm/setup.h index f4af547ef54caa70..acc5e00bf3b0fafb 100644 --- a/arch/arm64/include/asm/setup.h +++ b/arch/arm64/include/asm/setup.h @@ -7,9 +7,6 @@ #include <uapi/asm/setup.h> -void *get_early_fdt_ptr(void); -void early_fdt_map(u64 dt_phys); - /* * These two variables are used in the head.S file. */ diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index b8ec7b3ac9cbe8a8..bda21a9245943c57 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -166,21 +166,6 @@ static void __init smp_build_mpidr_hash(void) pr_warn("Large number of MPIDR hash buckets detected\n"); } -static void *early_fdt_ptr __initdata; - -void __init *get_early_fdt_ptr(void) -{ - return early_fdt_ptr; -} - -asmlinkage void __init early_fdt_map(u64 dt_phys) -{ - int fdt_size; - - early_fixmap_init(); - early_fdt_ptr = fixmap_remap_fdt(dt_phys, &fdt_size, PAGE_KERNEL); -} - static void __init setup_machine_fdt(phys_addr_t dt_phys) { int size;
The early FDT remap code is no longer used so let's drop it. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> --- arch/arm64/include/asm/setup.h | 3 --- arch/arm64/kernel/setup.c | 15 --------------- 2 files changed, 18 deletions(-)