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 F11461F5846; Mon, 2 Jun 2025 13:57:45 +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=1748872666; cv=none; b=N6KDzVUjGAilNDLb0pUi558mOUN+4IHn+TK1UZbbZ6YeNZzKZFgJZB8RM1g0OUm3VCsCenWzYRx4wpS4EK8dfpXSqoJCgSaO6dvvMgaJqDxfTIXlWl6Qw4wxy6hXjQaC6rzoSvMjXczFGc+zj6zJXye58NmgHIzh4RXEGHRoSx8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748872666; c=relaxed/simple; bh=jepyh0n+5EhHM9Q9iDXyqAnbyJRpAsH/K60faP8Hhb0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=g6FVjVbDvmGpu/Vy4SFqc1PXV/2Yv5eYgRZWw3A4xe+YFRSJWK2yI5Ya49NR1BX1lWwKIOtk8PPjieWrMfLO6r7nCub1AAGAHMjOWyHYvN7h1nv6e0C/5nXsIEBSevNHF+qqrQHb+8286JoBYMpZWB9nM7pJRhAjhrCnWWhtOqY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lxLwTzxc; 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="lxLwTzxc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 737EBC4CEEB; Mon, 2 Jun 2025 13:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1748872665; bh=jepyh0n+5EhHM9Q9iDXyqAnbyJRpAsH/K60faP8Hhb0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lxLwTzxcmIs9gfwT9cON8Vtj5BKbEB5WJXhsumrU7tyi7OnXd2i+VafEQc3lDdd7K S75lTXXz4tfl+/G7Q5xoUiRMpRbe6bVr5BYiR+mIWd4GtU8U3D41tGH64Dqr4xwlmt yKjQQO/aeoscekaXsONIt8MSe8PdRZ4XJkIR8kso= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Md Sadre Alam , Stephan Gerhold , Bjorn Andersson Subject: [PATCH 6.14 04/73] arm64: dts: qcom: ipq9574: Add missing properties for cryptobam Date: Mon, 2 Jun 2025 15:46:50 +0200 Message-ID: <20250602134241.852235003@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 b4cd966edb2deb5c75fe356191422e127445b830 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 Tested-by: Md Sadre Alam Fixes: ffadc79ed99f ("arm64: dts: qcom: ipq9574: Enable crypto nodes") Signed-off-by: Stephan Gerhold Link: https://lore.kernel.org/r/20250212-bam-dma-fixes-v1-6-f560889e65d8@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -378,6 +378,8 @@ interrupts = ; #dma-cells = <1>; qcom,ee = <1>; + qcom,num-ees = <4>; + num-channels = <16>; qcom,controlled-remotely; };