Re: [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots

From: Jianping Li

Date: Thu Apr 02 2026 - 05:47:09 EST



On 4/1/2026 7:33 PM, Dmitry Baryshkov wrote:
On Wed, Apr 01, 2026 at 03:33:45PM +0800, Jianping Li wrote:
Some workloads on Kodiak can exhaust FastRPC sessions when multiple
compute clients open contexts concurrently, leading to -EBUSY failures.

Describe the compute context bank with qcom,nsessions = <5> so the
driver can provision enough session slots for the compute-cb instance.
This is a software property, so it probably should not have been added
to the DT in the first place. Can we replace it with the driver code,
allocating more sessions to the last CB?

Thank you for your suggestion. I will check the methods you mentioned.

Thanks,
Jianping.


Signed-off-by: Jianping Li <jianping.li@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/kodiak.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
index 6079e67ea829..5bd20909f9db 100644
--- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
+++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
@@ -4465,6 +4465,7 @@ compute-cb@5 {
compatible = "qcom,fastrpc-compute-cb";
reg = <5>;
iommus = <&apps_smmu 0x1805 0x0>;
+ qcom,nsessions = <5>;
dma-coherent;
};
};
--
2.43.0