* [PATCH v5 1/2] dt-bindings: misc: qcom,fastrpc: Allow hex digits in compute-cb node names
2026-10-16 6:36 [PATCH v5 0/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp Ekansh Gupta
@ 2026-10-16 6:36 ` Ekansh Gupta
2026-10-16 6:36 ` [PATCH v5 2/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp Ekansh Gupta
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Ekansh Gupta @ 2026-10-16 6:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Sibi Sankar,
Srinivas Kandagatla
Cc: Bharath Kumar, Chenna Kesava Raju, Konrad Dybcio, linux-arm-msm,
devicetree, linux-kernel, dri-devel, Ekansh Gupta, Mukesh Ojha
The patternProperties key for compute-cb subnodes used [0-9]* which
only matches decimal digits. However, per DTS convention, node unit
addresses must be the lowercase hexadecimal representation of the reg
value. For compute-cb nodes with reg values >= 10 (e.g. 12, 13, 14),
the correct node names are compute-cb@c, compute-cb@d, compute-cb@e
respectively, which are not matched by the current pattern.
Extend the pattern to [0-9a-f]+ to allow lowercase hex digits, making
it consistent with DTS unit address conventions. Also change * to +
to require at least one digit in the unit address.
Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>
---
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
index 49d2a5e8ba39..d9444f452585 100644
--- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
+++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
@@ -79,7 +79,7 @@ properties:
const: 0
patternProperties:
- "(compute-)?cb@[0-9]*$":
+ "(compute-)?cb@[0-9a-f]+$":
type: object
description: >
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH v5 2/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp
2026-10-16 6:36 [PATCH v5 0/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp Ekansh Gupta
2026-10-16 6:36 ` [PATCH v5 1/2] dt-bindings: misc: qcom,fastrpc: Allow hex digits in compute-cb node names Ekansh Gupta
@ 2026-10-16 6:36 ` Ekansh Gupta
2026-10-16 8:35 ` Konrad Dybcio
2026-11-08 20:19 ` (subset) [PATCH v5 0/2] " Bjorn Andersson
2026-11-09 12:20 ` Srinivas Kandagatla
3 siblings, 1 reply; 6+ messages in thread
From: Ekansh Gupta @ 2026-10-16 6:36 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Sibi Sankar,
Srinivas Kandagatla
Cc: Bharath Kumar, Chenna Kesava Raju, Konrad Dybcio, linux-arm-msm,
devicetree, linux-kernel, dri-devel, Ekansh Gupta,
Mahima Bhattaram, Pankaj Patil, Abel Vesa, Mukesh Ojha
The reg value of a compute-cb node must match the SID (the lower
nibble of its IOMMU stream ID) it is associated with. In the cdsp
fastrpc node, compute-cb@10, compute-cb@11 and compute-cb@12 were
mistakenly given reg values of 10, 11 and 12 instead of 0xc, 0xd and
0xe, which don't match their SIDs and leads to SMMU translation errors.
Fix the reg values, and rename the nodes accordingly.
Fixes: cd1d174c75f7 ("arm64: dts: qcom: glymur: Add ADSP and CDSP for Glymur SoC")
Co-developed-by: Mahima Bhattaram <mbhattar@qti.qualcomm.com>
Signed-off-by: Mahima Bhattaram <mbhattar@qti.qualcomm.com>
Reviewed-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Signed-off-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/glymur.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
index de7c395d9c35..42d9ba3d3cb6 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -8471,9 +8471,9 @@ compute-cb@8 {
/* note: compute-cb@9 is secure */
- compute-cb@10 {
+ compute-cb@c {
compatible = "qcom,fastrpc-compute-cb";
- reg = <10>;
+ reg = <0xc>;
iommus = <&apps_smmu 0x240c 0x440>,
<&apps_smmu 0x196c 0x0>,
@@ -8481,9 +8481,9 @@ compute-cb@10 {
dma-coherent;
};
- compute-cb@11 {
+ compute-cb@d {
compatible = "qcom,fastrpc-compute-cb";
- reg = <11>;
+ reg = <0xd>;
iommus = <&apps_smmu 0x240d 0x440>,
<&apps_smmu 0x196d 0x0>,
@@ -8491,9 +8491,9 @@ compute-cb@11 {
dma-coherent;
};
- compute-cb@12 {
+ compute-cb@e {
compatible = "qcom,fastrpc-compute-cb";
- reg = <12>;
+ reg = <0xe>;
iommus = <&apps_smmu 0x240e 0x440>,
<&apps_smmu 0x196e 0x0>,
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH v5 2/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp
2026-10-16 6:36 ` [PATCH v5 2/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp Ekansh Gupta
@ 2026-10-16 8:35 ` Konrad Dybcio
0 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-10-16 8:35 UTC (permalink / raw)
To: Ekansh Gupta, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sibi Sankar,
Srinivas Kandagatla
Cc: Bharath Kumar, Chenna Kesava Raju, linux-arm-msm, devicetree,
linux-kernel, dri-devel, Mahima Bhattaram, Pankaj Patil,
Abel Vesa, Mukesh Ojha
On 10/16/26 8:36 AM, Ekansh Gupta wrote:
> The reg value of a compute-cb node must match the SID (the lower
> nibble of its IOMMU stream ID) it is associated with. In the cdsp
> fastrpc node, compute-cb@10, compute-cb@11 and compute-cb@12 were
> mistakenly given reg values of 10, 11 and 12 instead of 0xc, 0xd and
> 0xe, which don't match their SIDs and leads to SMMU translation errors.
> Fix the reg values, and rename the nodes accordingly.
>
> Fixes: cd1d174c75f7 ("arm64: dts: qcom: glymur: Add ADSP and CDSP for Glymur SoC")
> Co-developed-by: Mahima Bhattaram <mbhattar@qti.qualcomm.com>
> Signed-off-by: Mahima Bhattaram <mbhattar@qti.qualcomm.com>
> Reviewed-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
> Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
> Signed-off-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: (subset) [PATCH v5 0/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp
2026-10-16 6:36 [PATCH v5 0/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp Ekansh Gupta
2026-10-16 6:36 ` [PATCH v5 1/2] dt-bindings: misc: qcom,fastrpc: Allow hex digits in compute-cb node names Ekansh Gupta
2026-10-16 6:36 ` [PATCH v5 2/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp Ekansh Gupta
@ 2026-11-08 20:19 ` Bjorn Andersson
2026-11-09 12:20 ` Srinivas Kandagatla
3 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2026-11-08 20:19 UTC (permalink / raw)
To: Konrad Dybcio, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Sibi Sankar, Srinivas Kandagatla, Ekansh Gupta
Cc: Bharath Kumar, Chenna Kesava Raju, Konrad Dybcio, linux-arm-msm,
devicetree, linux-kernel, dri-devel, Mukesh Ojha,
Mahima Bhattaram, Pankaj Patil, Abel Vesa
On Fri, 16 Oct 2026 12:06:45 +0530, Ekansh Gupta wrote:
> The reg value of a compute-cb node must match the SID (the lower nibble
> of its IOMMU stream ID) it is associated with. In the cdsp fastrpc node
> of the Glymur SoC, three compute-cb nodes had incorrect reg values that
> did not match their SIDs, leading to SMMU translation errors.
>
> The fix renames the nodes to use correct lowercase hex unit addresses
> (per DTS convention) and corrects the reg values. Since the fastrpc
> binding's patternProperties only allowed decimal digits in node names,
> a binding update is included first to allow hex digits.
>
> [...]
Applied, thanks!
[2/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp
commit: 59cfafdd42611fe446c400e692814f8acaed8021
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: (subset) [PATCH v5 0/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp
2026-10-16 6:36 [PATCH v5 0/2] arm64: dts: qcom: glymur: Fix fastrpc compute-cb reg values for cdsp Ekansh Gupta
` (2 preceding siblings ...)
2026-11-08 20:19 ` (subset) [PATCH v5 0/2] " Bjorn Andersson
@ 2026-11-09 12:20 ` Srinivas Kandagatla
3 siblings, 0 replies; 6+ messages in thread
From: Srinivas Kandagatla @ 2026-11-09 12:20 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Sibi Sankar, Ekansh Gupta
Cc: Bharath Kumar, Chenna Kesava Raju, Konrad Dybcio, linux-arm-msm,
devicetree, linux-kernel, dri-devel, Mukesh Ojha,
Mahima Bhattaram, Pankaj Patil, Abel Vesa
On Fri, 16 Oct 2026 12:06:45 +0530, Ekansh Gupta wrote:
> The reg value of a compute-cb node must match the SID (the lower nibble
> of its IOMMU stream ID) it is associated with. In the cdsp fastrpc node
> of the Glymur SoC, three compute-cb nodes had incorrect reg values that
> did not match their SIDs, leading to SMMU translation errors.
>
> The fix renames the nodes to use correct lowercase hex unit addresses
> (per DTS convention) and corrects the reg values. Since the fastrpc
> binding's patternProperties only allowed decimal digits in node names,
> a binding update is included first to allow hex digits.
>
> [...]
Applied, thanks!
[1/2] dt-bindings: misc: qcom,fastrpc: Allow hex digits in compute-cb node names
commit: 05c781dfb322b07d803fedc18b752e7ae2bbdc4b
Best regards,
--
Srinivas Kandagatla <srini@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread