From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BD9126B2C8; Tue, 12 Aug 2025 17:47:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755020836; cv=none; b=m8IllBaIQcY+CF3tkj7eZgstSyGC39kT3zAWSEUlj9D/94oW7/Oc6SZr18yJhg2aA+Cd6YKnHqG/T4XudWBI3pVAXPVN/MmNaJIvKgisOv0x/ab5OuhxjH/GSaAhDXg344i2diBxHIDuhUuZVFYCUrWgMtmAEnLGc18J0a2JW10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755020836; c=relaxed/simple; bh=njtHPMTphjS0wkGI5Eud7j3yBfci+G5ZIlYZSFNrhC0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=seZ9Qz35iFKL2Mj83MiRJ6FFdkKXyGHFnnmtE+lj9Ldr3IpPrdMmABFU/3LcIDOh2R1MLv+OQLaAgrt/5y1W0KhY0tTLq+jIbdFehPTM5XJQWd27jXhWDg3SW/Wc7Zv+tzJIZ/DjTV5NPa8VPxi5sZLvmGMHE4NyX63MSb9RDIs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=X2TgHyDv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="X2TgHyDv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D00AC4CEF0; Tue, 12 Aug 2025 17:47:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755020836; bh=njtHPMTphjS0wkGI5Eud7j3yBfci+G5ZIlYZSFNrhC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X2TgHyDvuQJ6/0CdMEedBn19ZHJzUC5w2ntXmDmLAPRVjbmNwET9QIEREJ/2KjPxm 9s2kF7YxGbtJYz7mXKlog4lxdtR3/JPaoBXph9ciiuXkFyij4JHXyUHZO6P7aFNrUz 2KkmB5zlKQFR0EBwmMznhoQcu+HrV9GIZ7flWH2Y= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Konrad Dybcio , =?UTF-8?q?Andr=C3=A9=20Apitzsch?= , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.6 022/262] arm64: dts: qcom: msm8976: Make blsp_dma controlled-remotely Date: Tue, 12 Aug 2025 19:26:50 +0200 Message-ID: <20250812172953.916919196@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250812172952.959106058@linuxfoundation.org> References: <20250812172952.959106058@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: André Apitzsch [ Upstream commit 76270a18dbdf0bb50615f1b29d2cae8d683da01e ] The blsp_dma controller is shared between the different subsystems, which is why it is already initialized by the firmware. We should not reinitialize it from Linux to avoid potential other users of the DMA engine to misbehave. In mainline this can be described using the "qcom,controlled-remotely" property. In the downstream/vendor kernel from Qualcomm there is an opposite "qcom,managed-locally" property. This property is *not* set for the qcom,sps-dma@7884000 and qcom,sps-dma@7ac4000 [1] so adding "qcom,controlled-remotely" upstream matches the behavior of the downstream/vendor kernel. Adding this fixes booting Longcheer L9360. [1]: https://git.codelinaro.org/clo/la/kernel/msm-3.10/-/blob/LA.BR.1.3.7.c26/arch/arm/boot/dts/qcom/msm8976.dtsi#L1149-1163 Fixes: 0484d3ce0902 ("arm64: dts: qcom: Add DTS for MSM8976 and MSM8956 SoCs") Reviewed-by: Konrad Dybcio Signed-off-by: André Apitzsch Link: https://lore.kernel.org/r/20250615-bqx5plus-v2-1-72b45c84237d@apitzsch.eu Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/msm8976.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi index 4c5be22b47fe..e01f6e8a17f2 100644 --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi @@ -862,6 +862,7 @@ blsp1_dma: dma-controller@7884000 { clock-names = "bam_clk"; #dma-cells = <1>; qcom,ee = <0>; + qcom,controlled-remotely; }; blsp1_uart1: serial@78af000 { @@ -982,6 +983,7 @@ blsp2_dma: dma-controller@7ac4000 { clock-names = "bam_clk"; #dma-cells = <1>; qcom,ee = <0>; + qcom,controlled-remotely; }; blsp2_uart2: serial@7af0000 { -- 2.39.5