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 AD7861D5CE0; Fri, 17 Oct 2025 15:07:07 +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=1760713627; cv=none; b=Ru7uYVttn5FgL3OI2w7ld0rbmUsMFaCTH1C3NXIDEbWi8/jgdnbsoyVmP03H2y9yJ0ueMHYdcxoLMoIE3YDUu7qLHDRPjsOHjutjRWyg8liAJjNGi4mN8IbKSmaygKu830f39OCo+l70pvewnlzxkZSG1xHw4MTutWhVkMDmiYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760713627; c=relaxed/simple; bh=H1wo4fbzk4Al9NUN7YnivCvI1PFWPyWAb8sD/J1LXsI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WpZ0yTg9pZown37+Kwu24mZMx2GimacWMVVt5SdV7E5zBwwUuSDpq9FkUFse2BNB45GceojNR30KdVVZk1f1Op5NtNcVORvEQMjzN7/5/tWDSlD+6iPAMhd3N3LWuIa9O3p2KQhDMzmLchRyI6urTUZE+8ZrJ+gwGrXrXbfgka4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sLLRQu9u; 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="sLLRQu9u" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A0BBC4CEE7; Fri, 17 Oct 2025 15:07:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1760713627; bh=H1wo4fbzk4Al9NUN7YnivCvI1PFWPyWAb8sD/J1LXsI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sLLRQu9ucEes+Mv1x9pKjpxpS2J1Y2uwwfYtk1u1i2JhKCNr4ZvXjy2m/4NnsAktg lZwxAtm1NfBYRu2pvd16pq3EmZarafmrhmMqhZrKdHoJPU3QvqNczKzKghVcOgj5YY CJXWgtrVB8e8BpFdbOX4ofJbu2Oih9cmyT9zx/p4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Stephan Gerhold , Dmitry Baryshkov , Bjorn Andersson Subject: [PATCH 6.6 063/201] arm64: dts: qcom: sdm845: Fix slimbam num-channels/ees Date: Fri, 17 Oct 2025 16:52:04 +0200 Message-ID: <20251017145137.066049492@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017145134.710337454@linuxfoundation.org> References: <20251017145134.710337454@linuxfoundation.org> User-Agent: quilt/0.69 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-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stephan Gerhold commit 316294bb6695a43a9181973ecd4e6fb3e576a9f7 upstream. Reading the hardware registers of the &slimbam on RB3 reveals that the BAM supports only 23 pipes (channels) and supports 4 EEs instead of 2. This hasn't caused problems so far since nothing is using the extra channels, but attempting to use them would lead to crashes. The bam_dma driver might warn in the future if the num-channels in the DT are wrong, so correct the properties in the DT to avoid future regressions. Cc: stable@vger.kernel.org Fixes: 27ca1de07dc3 ("arm64: dts: qcom: sdm845: add slimbus nodes") Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20250821-sdm845-slimbam-channels-v1-1-498f7d46b9ee@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -5208,11 +5208,11 @@ compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; qcom,controlled-remotely; reg = <0 0x17184000 0 0x2a000>; - num-channels = <31>; + num-channels = <23>; interrupts = ; #dma-cells = <1>; qcom,ee = <1>; - qcom,num-ees = <2>; + qcom,num-ees = <4>; iommus = <&apps_smmu 0x1806 0x0>; };