arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots
PATCH 1/1 arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots
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.
--- arch/arm64/boot/dts/qcom/kodiak.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/kodiak.dtsi +1 -0
@@ -4465,6 +4465,7 @@ compute-cb@5 { compatible = "qcom,fastrpc-compute-cb"; reg = <5>; iommus = <&apps_smmu 0x1805 0x0>; + qcom,nsessions = <5>; dma-coherent; }; };
Signature · 1 line
2.43.0
Quoted 5 lines · Jianping Li
Some workloads on Kodiak can exhaust FastRPC sessions when multiple compute clients open contexts concurrently, leading to
-EBUSYfailures.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?
Quoted 21 lines
Signed-off-by Jianping Li <[email protected]>--- arch/arm64/boot/dts/qcom/kodiak.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/qcom/kodiak.dtsi +1
-0@@ -4465,6 +4465,7 @@ compute-cb@5 { compatible = "qcom,fastrpc-compute-cb"; reg = <5>; iommus = <&apps_smmu 0x1805 0x0>; + qcom,nsessions = <5>; dma-coherent; }; };Signature · 1 line
2.43.0
Signature · 2 lines
With best wishes Dmitry
Quoted 10 lines · Dmitry Baryshkov
Quoted 5 lines · Jianping Li
Some workloads on Kodiak can exhaust FastRPC sessions when multiple compute clients open contexts concurrently, leading to
-EBUSYfailures.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?
Nov 2025 => https://lore.kernel.org/linux-arm-msm/[email protected]/
Konrad
Quoted 5 lines · Konrad Dybcio
Quoted 4 lines · Dmitry Baryshkov
Quoted 3 lines · Jianping Li
Some workloads on Kodiak can exhaust FastRPC sessions when multiple compute clients open contexts concurrently, leading to
-EBUSYfailures.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
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?
Nov 2025 => https://lore.kernel.org/linux-arm-msm/[email protected]/
Konrad
Received the comments you gave eariler, currentl checking them.
Thanks,
Jianping.
Quoted 9 lines · Dmitry Baryshkov
Quoted 5 lines · Jianping Li
Some workloads on Kodiak can exhaust FastRPC sessions when multiple compute clients open contexts concurrently, leading to
-EBUSYfailures.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.
Quoted 21 lines
Quoted 21 lines
Signed-off-by Jianping Li <[email protected]>--- arch/arm64/boot/dts/qcom/kodiak.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/qcom/kodiak.dtsi +1
-0@@ -4465,6 +4465,7 @@ compute-cb@5 { compatible = "qcom,fastrpc-compute-cb"; reg = <5>; iommus = <&apps_smmu 0x1805 0x0>; + qcom,nsessions = <5>; dma-coherent; }; };Signature · 1 line
2.43.0