Message ID | 20240214122845.2033971-50-ardb+git@google.com (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 6A013C48BC1 for <linux-arm-kernel@archiver.kernel.org>; Wed, 14 Feb 2024 12:30:28 +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:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mGibhyvw73QOx+UVxWa0nVDNstLpu6mpANhX+fA7KCU=; b=a4ByhgI03Pf+We09c5/wNJGcC4 rNbeGaOd30rv/L49GCN4s66yFdD9QXu+IdI0THxW9XV5OrBK5IgX6p2dD/hfGUq4+umh262qsn/W9 NVwUaAtMs5yRCVhwszTls2n49WxL/nBqZ0QZLvboxWTbNLnrMs70dzRKMrcUl6zcRY08SOSgCr3Dx jqFIW/qN1yBa6E/D2jlfOzsoUvIZ6hG/zIGo7SsPfPr2/+BuYyHmGqMdtmidAAa+/tP3aSdpSh44D Sa3TVLzqZeatTsO3PB7AT2IBIS/PlGVHg46CI1OzsoHaLFPXWwmZsroT5ajH1c/GOLJedo0irGktI aEZEtCQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raEP3-0000000CoW7-3fy5; Wed, 14 Feb 2024 12:30:17 +0000 Received: from mail-yw1-x114a.google.com ([2607:f8b0:4864:20::114a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raEOd-0000000CoFf-34dm for linux-arm-kernel@lists.infradead.org; Wed, 14 Feb 2024 12:29:53 +0000 Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-6077ec913f0so42256167b3.0 for <linux-arm-kernel@lists.infradead.org>; Wed, 14 Feb 2024 04:29:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707913790; x=1708518590; darn=lists.infradead.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=lrF6jre10ANDgtAh0cN9mGDQMz+5gBr0rftW/uSo1S4=; b=ccgo/LMXQMJo1REYa1QpE7eOosjIaM9Gh5JYzc7PZWZQ9FFbEJF2uX+TOCn7AnkA8/ YSR0EbGYH1FFa8LYOK8B0H0XHkzaUOQ5biOJIrkHmpI3+NbI6oU/VuoGIcjKRXcQ6lTc +YqoMH/bxSZPIFkXteCHnjQ+dX574zjJe47FCzl96BfBAjH/OiwPNHGyktYhM2TNsPIq lrOyjb3QUr4xV9DIUWaLCmP7AxFmbKFLEEap7GqiU7m3QB23M5KqoqF4gI9ENUPKc2C6 6GkwVDzQRl4kdMrLIJqRrTpKw+8IGomqOasaGPXt7Pf2AOinQU4PaIDFzgAU0OJ+TBBG aQ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707913790; x=1708518590; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lrF6jre10ANDgtAh0cN9mGDQMz+5gBr0rftW/uSo1S4=; b=gV8aFTqHfJtfsAEJsoLeM5GPWGioI0T4m4OMWPVT5gc5t+KKz4n8wk+ZLNKK6VisfT pd+lLVrwn2qeLiv+XJ4ZxykSAx2FdY6sNk3RNkpBl6iMEuEW2vyadxXwtW9MFQ/rHu8b 4DSI9NDRaZhn8+1F/h+yTVwnxbAEYH4OKUnGq2OeEiymVwQEbnh2hq/aFQEKDvFJ0XJL /tabb8vx2FwoyYj6wqOoC5r4/2GqTCJfy46Pl0L/2CeHrQ8zVSeOGcoDk3+lWn9h3muI 3WluKAYonqTCZqbQj/Y8nxLjhC+AJglpAVNxJcOElzwnd4OeApfE47m9bhkBMwDtZ6IM FEfg== X-Gm-Message-State: AOJu0YxZwcgnzSmGmcSchEPLmzkGE/gJiCxDlJ10vCILHvYIU2pKjctr nM0O6G36PxoZnClcyZOP8u0AXRPq0CdUQFnm/WCjBFAH7S6sXd/6Cffex9fXyJnoOR3mcTSIqMy KG6mx1CVNaEf03CEQhCbXKIvFgYChSmWBPmTB9GtQSl7BUi7crAkkD6rnv0OBF5gmsQwrV9syv8 XnCHaqhAtQEw2HI9ljDSF4jZUidF7mB1zm1VSVEvWS X-Google-Smtp-Source: AGHT+IG3bmzi8HNG4atEWDqtKezPybx05PRkbAdHQlYJGw62PiAPE+Bkenhol8TQmjRAeSFXfRwgQGN2 X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:6902:1007:b0:dc9:5ef8:2b2d with SMTP id w7-20020a056902100700b00dc95ef82b2dmr553900ybt.4.1707913790202; Wed, 14 Feb 2024 04:29:50 -0800 (PST) Date: Wed, 14 Feb 2024 13:28:51 +0100 In-Reply-To: <20240214122845.2033971-45-ardb+git@google.com> Mime-Version: 1.0 References: <20240214122845.2033971-45-ardb+git@google.com> X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-Developer-Signature: v=1; a=openpgp-sha256; l=1354; i=ardb@kernel.org; h=from:subject; bh=ifIREkq0L6sdhnfitGwY8AL4Fq7CqFcNUukzXs7lcG8=; b=owGbwMvMwCFmkMcZplerG8N4Wi2JIfXMJmbFsJ9PtAPXLIz/7/N5Ts4Nz84m00kylmvDclX4k qYt46/rKGVhEONgkBVTZBGY/ffdztMTpWqdZ8nCzGFlAhnCwMUpABOJ1GNk2MfhsCjO/i5j/jWe W5z/8piOe21d9m9GW4HSvpt67q/3TWH471Lo3Hd5pXqAfVDU8p+FLFXXCqwSviXePzSpqSWpOr2 MGwA= X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog Message-ID: <20240214122845.2033971-50-ardb+git@google.com> Subject: [PATCH v8 05/43] arm64: kernel: Remove early fdt remap code From: Ard Biesheuvel <ardb+git@google.com> To: linux-arm-kernel@lists.infradead.org Cc: 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240214_042951_804529_0E6A6484 X-CRM114-Status: GOOD ( 10.39 ) 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 and WXN at stage 1
|
expand
|
diff --git a/arch/arm64/include/asm/setup.h b/arch/arm64/include/asm/setup.h index 2e4d7da74fb8..ba269a7a3201 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 42c690bb2d60..97d2143669cf 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;