From patchwork Thu Dec 14 13:42:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13493092 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 C20C0C4332F for ; Thu, 14 Dec 2023 13:43: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: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=Vq2o1sqnT3IFivvofbtXF8NPQFxJzXOapM3Uc0IHrwc=; b=wHm/MeXTaT5kA+ 1G7i+cDxYOJkWttuXFuhS9wQLIqUmKY9YQbZD6vi01x/brQ5LbvZvfzuhI6uEeqiQqnmPTk+frNOl 8mdwaXqCUWBT/8LdDBx6SKGaMF6y/u6OtNt3jz47316/VcNkeg1JN7dVB3N0xnkashN+TbujZ0Bpn oYfv5mF92eG6IXXT/68mdAJKU61d3j1tberrqdxJbFj6R6VdVPIinkLwS2iPty3SRtlXgRK9U2jcm 8ZUpyHLLojBy9FSMvUPhbvl5z13PlBVORK9TxP0cQXhnOqlJm7hrf6QesgDSpYW9tIE0Hf7xbxfAf HajAjUhQrx09jFpx6SFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDlzU-000ReU-2M; Thu, 14 Dec 2023 13:43:04 +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 1rDlzS-000Rdf-0s for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 13:43:03 +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=1702561382; x=1734097382; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iXSwRG/rx0OyRIYjDnfQMbcylm/rWyCaSZ8s8e+AQ8U=; b=lLk8zjQmiZe0k/Z6Bt0rlAb/aV30gu60LipuIuo4OKF24jm9QMfMUZ9M +d3dGMgf0lpDKRKfm/Hgvkybo6KSQZH7Fm3md56SqTR2iDkzWOYnxwohi r+7Ka3IagqibEV+SlOpHaUMYVVVRTGuXEWOiGSJmZvjvfWLkSLecOAfTz E/us6GJYtpde5sTwnTrV954ubXbGQ8uwPoZYPq5W4ZVXPNfRmVdexgmf+ zvv/y5Ak8aog77ZVKNkPjZjc2skBfAZZ95oaOFsk5jegVJ8Nhiuy4R4El aWMLt9TIBGmJsQA1sxXGBga6ZMJSDEfnQyn/Hgg/my+5BJprY8qIyA1jP g==; X-IronPort-AV: E=Sophos;i="6.04,275,1695679200"; d="scan'208";a="34510776" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 14 Dec 2023 14:43:00 +0100 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 F1376280075; Thu, 14 Dec 2023 14:42:59 +0100 (CET) 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: freescale: imx8qxp: Disable dsp reserved memory by default Date: Thu, 14 Dec 2023 14:42:59 +0100 Message-Id: <20231214134259.1933541-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-20231214_054302_693760_5E0AF58F X-CRM114-Status: GOOD ( 10.96 ) 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 --- Apparently imx8qxp-mek is the only in-kernel user, so it is enabled again to preserve current state. arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 ++++ arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 6c3d8715bc11e..7888570c15e19 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -50,6 +50,10 @@ &dsp { status = "okay"; }; +&dsp_reserved { + status = "okay"; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index c80c85a4b4059..f014d0a764ea4 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -184,6 +184,7 @@ decoder_rpc: decoder-rpc@92000000 { dsp_reserved: dsp@92400000 { reg = <0 0x92400000 0 0x2000000>; no-map; + status = "disabled"; }; encoder_rpc: encoder-rpc@94400000 {