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 9331F20F07C; Mon, 2 Jun 2025 13:56:28 +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=1748872588; cv=none; b=qbdCr3NhHrEuqz/E74J9nW2uSTq2D1s6y9JdyIBMmU78islHpqnZiUffNjOjtf8VNYfBtZgKgKGx8xbpD415wefLAt1eMPsn276UkychMCmxFMHXWbfpKIDof72UBCnkhXv2csJ93PazTRjpRqYGwOrvo4Qhk+y77cCtjVdgAz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748872588; c=relaxed/simple; bh=hCa8T39Xy1iPJktPYzwWudcjoaxhausx6ippvyAOoVc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZvEnSzGykcGKAG4lwqLD0kV4MnN+LDGwFV5CtSsx5OzdwDAsaUPn0+oR43Nd2A4ulM7z+k37xM9W3cZB+1vOoo8qtn80MAv/84fmjLF0mwNW9lVwJ96aiqlQ4pBdquCwzHur6oNBlSenp9cYkjaiQIu36TCNrF/k0KsP9gzDJsQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=b6p/0AO8; 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="b6p/0AO8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E6DCC4CEEB; Mon, 2 Jun 2025 13:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1748872588; bh=hCa8T39Xy1iPJktPYzwWudcjoaxhausx6ippvyAOoVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b6p/0AO8GPtsYmBmfnRO11EmGR/RFalkiC4tMwKB6v6WCSH4x80ENTxOQyMJPf6Se pAFLsa4x1FAgoI1a2znRPG9OSkQAdyYdSx5/UYWTGZlovRGE7DRpXxQzb3RA87LX2j q1WYr2qhi/DSLfBaiqdFYYGohi9R8tCfGQ0FHnd8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Stephan Gerhold , Bjorn Andersson Subject: [PATCH 6.14 11/73] arm64: dts: qcom: sm8650: Add missing properties for cryptobam Date: Mon, 2 Jun 2025 15:46:57 +0200 Message-ID: <20250602134242.139844029@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250602134241.673490006@linuxfoundation.org> References: <20250602134241.673490006@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stephan Gerhold commit 38b88722bce07b6a5927f45fbf7a9a85e834572c upstream. num-channels and qcom,num-ees are required for BAM nodes without clock, because the driver cannot ensure the hardware is powered on when trying to obtain the information from the hardware registers. Specifying the node without these properties is unsafe and has caused early boot crashes for other SoCs before [1, 2]. Add the missing information from the hardware registers to ensure the driver can probe successfully without causing crashes. [1]: https://lore.kernel.org/r/CY01EKQVWE36.B9X5TDXAREPF@fairphone.com/ [2]: https://lore.kernel.org/r/20230626145959.646747-1-krzysztof.kozlowski@linaro.org/ Cc: stable@vger.kernel.org Fixes: 10e024671295 ("arm64: dts: qcom: sm8650: add interconnect dependent device nodes") Signed-off-by: Stephan Gerhold Link: https://lore.kernel.org/r/20250212-bam-dma-fixes-v1-4-f560889e65d8@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -2533,6 +2533,8 @@ <&apps_smmu 0x481 0>; qcom,ee = <0>; + qcom,num-ees = <4>; + num-channels = <20>; qcom,controlled-remotely; };