[PATCH V2 2/3] arm64: dts: qcom: sm8650: Add ICE allocator entries

Ram Kumar Dwivedi posted 3 patches 1 year, 3 months ago
[PATCH V2 2/3] arm64: dts: qcom: sm8650: Add ICE allocator entries
Posted by Ram Kumar Dwivedi 1 year, 3 months ago
There are three allocators supported for inline crypto engine:
Floor based, Static and Instantaneous allocator.

Add ice allocator entries and enable instantaneous allocator
by default.

Co-developed-by: Naveen Kumar Goud Arepalli <quic_narepall@quicinc.com>
Signed-off-by: Naveen Kumar Goud Arepalli <quic_narepall@quicinc.com>
Co-developed-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 9d9bbb9aca64..803db1fcfe16 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -2590,6 +2590,25 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
 			#reset-cells = <1>;
 
 			status = "disabled";
+
+			ice_cfg: ice-config {
+				static-alloc {
+					ice-allocator-name = "static-alloc";
+					rx-alloc-percent = <60>;
+					status = "disabled";
+				};
+
+				floor-based {
+					ice-allocator-name = "floor-based";
+					status = "disabled";
+				};
+
+				instantaneous {
+					ice-allocator-name = "instantaneous";
+					num-core = <28 28 15 13>;
+					status = "okay";
+				};
+			};
 		};
 
 		ice: crypto@1d88000 {
-- 
2.46.0
Re: [PATCH V2 2/3] arm64: dts: qcom: sm8650: Add ICE allocator entries
Posted by Krzysztof Kozlowski 1 year, 3 months ago
On 29/10/2024 12:30, Ram Kumar Dwivedi wrote:
> +
> +				instantaneous {
> +					ice-allocator-name = "instantaneous";
> +					num-core = <28 28 15 13>;
> +					status = "okay";

NAK, not much improved... and you ignored my response.

Best regards,
Krzysztof