From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 9D473C3ABBE for ; Thu, 8 May 2025 10:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nFCF8v4d+pWfa8IjQQoh44dPA7L7cw9drqstucPKtsc=; b=nxAas4tSW28wNq79J4o1WBoj5m p6yixOT6e4BBoALQIXLxcMpjZIiQnsDUlMyq3ZYkGH9e4gSfxPt7tjmq/vZcttBCDkP5B9HIX5x5X n/I1zzU628lyVLjEc8Uq/H31XhcWqOVMUASipUY1LC1fIA+ZWBvciEa1OMZUOJsKbORu7ivRU1/OG Eq/mr4md3MwmkzOG0Uiym2HM9ol2i6urrLJVrXfs1ADZsDy4qOWXm7TOC0WhXkNgb7dhZsLWDryFC a0Ab3e9FaciVYI0dc0iNaj8w3NfT1x4XLHaf5DE/p/VMgSREjg2dR9kKsJKNnEZesUZn7ocOl2fKF rxfRJmQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uCyj6-00000000QIz-3KMy; Thu, 08 May 2025 10:43:40 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uCyYR-00000000O4k-1nG7 for linux-arm-kernel@lists.infradead.org; Thu, 08 May 2025 10:32:40 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B5A491E2F; Thu, 8 May 2025 03:32:28 -0700 (PDT) Received: from usa.arm.com (e133711.arm.com [10.1.196.55]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EDE9D3F5A1; Thu, 8 May 2025 03:32:37 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Sudeep Holla , Lorenzo Pieralisi , Liviu Dudau , Leo Yan Subject: [PATCH 3/3] arm64: dts: fvp: Reserve 64MB for the FF-A firmware in memory map Date: Thu, 8 May 2025 11:32:25 +0100 Message-Id: <20250508103225.354925-3-sudeep.holla@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250508103225.354925-1-sudeep.holla@arm.com> References: <20250508103225.354925-1-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250508_033239_505891_5FBF51AB X-CRM114-Status: GOOD ( 11.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Reserve 64MB of memory at the end of the first bank of DRAM on FVP model. This is mainly for FF-A firmware use, as required by various firmware configurations using the Firmware Framework for Arm (FF-A). This prevents the kernel from overwriting the firmware region. This is also useful when running other firmware configurations(non FF-A based) that rely on usage of 64MB at the end of first DRAM bank. Necessary for proper coexistence of firmware(FF-A partitions) and the OS. Signed-off-by: Sudeep Holla --- arch/arm64/boot/dts/arm/fvp-base-revc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts index c1e22ffca623..2c2c9f45b3fe 100644 --- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts +++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts @@ -201,7 +201,7 @@ C1_L2: l2-cache1 { memory@80000000 { device_type = "memory"; - reg = <0x00000000 0x80000000 0 0x80000000>, + reg = <0x00000000 0x80000000 0 0x7c000000>, <0x00000008 0x80000000 0 0x80000000>; }; -- 2.34.1