From patchwork Wed Oct 25 07:28:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13435573 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 9C232C25B6E for ; Wed, 25 Oct 2023 07:29:02 +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: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:In-Reply-To:References: List-Owner; bh=a/gK8LuoDk7EoXYXwCPbouRfLzqwYvFCiExMm/qdHJ4=; b=PF6rAxa6Q/XoLJ mDvx/4356rOCoH5+sWOA2c4CooTAPwYRqslVd6gFZFyncFtIK67tVwE5cBV9W3DGgL2tWkZb+pqEy CiTnatKFDY0iRMlV0dSLI2Tu3riYxgahcfrizp4JCe91yElylzzbYIj3dwcM7uOEDmzB0Qtp+bXhn UQ8cwdYyCT4w0yW4AhEwOua8mbzi7aq0RK9wwKHn1vzRc9gyEO4zAMWnQjRM3KwmUsPzRIXaNhXaN U5QIvoYa/iaBFO7qrXUOSwv9MDYZFPoFPsicuioGYkX6AF+/4aDtVMEUMuQYcYdLLBArcz80WjH2N Bdh6y9u16PBg3QtNSszA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvYJi-00BZRY-2f; Wed, 25 Oct 2023 07:28:38 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvYJg-00BZP0-0X for linux-arm-kernel@lists.infradead.org; Wed, 25 Oct 2023 07:28:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1698218916; x=1729754916; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=pFJQgkjNqSXUMn3kC9QJXLPl8lLNsDaW7X9imZhGhM0=; b=jfX0Lhw/N5mStGTi1OiszH1mHNG4FMuBTTmLduZnLkAHbLrcq7THtKII Jm9Yd/A/bEztbPwB8E3MfZEzfjPA7Hv7UPAHD2TW3kZUuezqoswPmXw+z CRSMD4uhCqjWJq3S/SvXMjCzyXZvMH9rfvotZahQFHJwC01iBQf8KcSmd 1HEIP8K+ocBATL+SoL/Y2sQfPu1HHkHBKYr2I1vAAtSWmtXDBsjnxZUmS V14tVyxDDbX1GKuV3nbj+PzzG1GtqrXUf0ZVg3QuF8jII/Js2k5GPZtkT du1VW7rrq/l/Ao4LM2XLexl0Dh+GJtPTSMmR9JoaWf0Yq53k83qRCBEMx w==; X-IronPort-AV: E=Sophos;i="6.03,249,1694728800"; d="scan'208";a="33640504" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 25 Oct 2023 09:28:31 +0200 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id EE86A28007F; Wed, 25 Oct 2023 09:28:30 +0200 (CEST) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] arm64: dts: imx8mp: Disable dsp reserved memory by default Date: Wed, 25 Oct 2023 09:28:32 +0200 Message-Id: <20231025072832.2277609-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231025_002836_627016_9A0CA5D3 X-CRM114-Status: GOOD ( 11.73 ) 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 Even if the 'dsp' node is disabled the memory intended to be used by the DSP is reserved. This limits the memory range suitable for CMA allocation. Thus disable the dsp_reserved node. DSP users need to enable it in parallel to the 'dsp' node. Signed-off-by: Alexander Stein --- Actually the location and size of DSP reserved memory is platform specific. But to be less intrusive, just disable the node. arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index eb2b81f6302a3..b2b041604d2e4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -264,6 +264,7 @@ reserved-memory { dsp_reserved: dsp@92400000 { reg = <0 0x92400000 0 0x2000000>; no-map; + status = "disabled"; }; };