* [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots
@ 2026-04-01 7:33 Jianping Li
2026-04-01 11:33 ` Dmitry Baryshkov
0 siblings, 1 reply; 5+ messages in thread
From: Jianping Li @ 2026-04-01 7:33 UTC (permalink / raw)
To: andersson, konradybcio, robh, krzk+dt
Cc: Jianping Li, conor+dt, linux-arm-msm, devicetree, linux-kernel,
ekansh.gupta
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.
Signed-off-by: Jianping Li <jianping.li@oss.qualcomm.com>
---
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots
2026-04-01 7:33 [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots Jianping Li
@ 2026-04-01 11:33 ` Dmitry Baryshkov
2026-04-01 11:40 ` Konrad Dybcio
2026-04-02 9:41 ` Jianping Li
0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Baryshkov @ 2026-04-01 11:33 UTC (permalink / raw)
To: Jianping Li
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
devicetree, linux-kernel, ekansh.gupta
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?
>
> Signed-off-by: Jianping Li <jianping.li@oss.qualcomm.com>
> ---
> 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
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots
2026-04-01 11:33 ` Dmitry Baryshkov
@ 2026-04-01 11:40 ` Konrad Dybcio
2026-04-02 9:48 ` Jianping Li
2026-04-02 9:41 ` Jianping Li
1 sibling, 1 reply; 5+ messages in thread
From: Konrad Dybcio @ 2026-04-01 11:40 UTC (permalink / raw)
To: Dmitry Baryshkov, Jianping Li
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
devicetree, linux-kernel, ekansh.gupta
On 4/1/26 1: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?
Nov 2025 => https://lore.kernel.org/linux-arm-msm/53644b36-2eff-4b1c-9886-591afee8b589@oss.qualcomm.com/
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots
2026-04-01 11:33 ` Dmitry Baryshkov
2026-04-01 11:40 ` Konrad Dybcio
@ 2026-04-02 9:41 ` Jianping Li
1 sibling, 0 replies; 5+ messages in thread
From: Jianping Li @ 2026-04-02 9:41 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, konradybcio, robh, krzk+dt, conor+dt,
linux-arm-msm, devicetree, linux-kernel, Ekansh Gupta
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@oss.qualcomm.com>
>> ---
>> 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
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots
2026-04-01 11:40 ` Konrad Dybcio
@ 2026-04-02 9:48 ` Jianping Li
0 siblings, 0 replies; 5+ messages in thread
From: Jianping Li @ 2026-04-02 9:48 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Dmitry Baryshkov, Bjorn Andersson, konradybcio, robh, krzk+dt,
conor+dt, linux-arm-msm, devicetree, linux-kernel, Ekansh Gupta
On 4/1/2026 7:40 PM, Konrad Dybcio wrote:
> On 4/1/26 1: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?
> Nov 2025 => https://lore.kernel.org/linux-arm-msm/53644b36-2eff-4b1c-9886-591afee8b589@oss.qualcomm.com/
>
> Konrad
Received the comments you gave eariler, currentl checking them.
Thanks,
Jianping.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-04-02 9:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01 7:33 [PATCH] arm64: dts: qcom: kodiak: increase fastrpc compute-cb session slots Jianping Li
2026-04-01 11:33 ` Dmitry Baryshkov
2026-04-01 11:40 ` Konrad Dybcio
2026-04-02 9:48 ` Jianping Li
2026-04-02 9:41 ` Jianping Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox