mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
@ 2025-11-11 17:03 Viken Dadhaniya
  2025-11-11 19:55 ` Bjorn Andersson
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Viken Dadhaniya @ 2025-11-11 17:03 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel, konrad.dybcio, dmitry.baryshkov
  Cc: mukesh.savaliya, Viken Dadhaniya

QUP devices are currently marked with opp-shared in their OPP table,
causing the kernel to treat them as part of a shared OPP domain. This
leads to the qcom_geni_serial driver failing to probe with error
-EBUSY (-16).

Remove the opp-shared property to ensure the OPP framework treats the
QUP OPP table as device-specific, allowing the serial driver to probe
successfully

Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index eb6f69be4a82..ed89d2d509d5 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
 
 	qup_opp_table: opp-table-qup {
 		compatible = "operating-points-v2";
-		opp-shared;
 
 		opp-75000000 {
 			opp-hz = /bits/ 64 <75000000>;
-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-11-11 17:03 [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table Viken Dadhaniya
@ 2025-11-11 19:55 ` Bjorn Andersson
  2025-11-21 10:07   ` Viken Dadhaniya
  2025-11-12  9:40 ` Konrad Dybcio
  2026-01-21  2:35 ` (subset) " Bjorn Andersson
  2 siblings, 1 reply; 11+ messages in thread
From: Bjorn Andersson @ 2025-11-11 19:55 UTC (permalink / raw)
  To: Viken Dadhaniya
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, konrad.dybcio, dmitry.baryshkov, mukesh.savaliya

On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
> QUP devices are currently marked with opp-shared in their OPP table,
> causing the kernel to treat them as part of a shared OPP domain. This
> leads to the qcom_geni_serial driver failing to probe with error
> -EBUSY (-16).
> 
> Remove the opp-shared property to ensure the OPP framework treats the
> QUP OPP table as device-specific, allowing the serial driver to probe
> successfully
> 
> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")

This was merged 11 months ago, and Yu Zhang added bluetooth support 3
months ago. What changed to break the QUP users? I think it's reasonable
to use this "Fixes", but we should document - at least on the mailing
list, where the regression happened.

Regards,
Bjorn

> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
> index eb6f69be4a82..ed89d2d509d5 100644
> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
>  
>  	qup_opp_table: opp-table-qup {
>  		compatible = "operating-points-v2";
> -		opp-shared;
>  
>  		opp-75000000 {
>  			opp-hz = /bits/ 64 <75000000>;
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-11-11 17:03 [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table Viken Dadhaniya
  2025-11-11 19:55 ` Bjorn Andersson
@ 2025-11-12  9:40 ` Konrad Dybcio
  2026-01-21  2:35 ` (subset) " Bjorn Andersson
  2 siblings, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2025-11-12  9:40 UTC (permalink / raw)
  To: Viken Dadhaniya, andersson, konradybcio, robh, krzk+dt, conor+dt,
	linux-arm-msm, devicetree, linux-kernel, dmitry.baryshkov
  Cc: mukesh.savaliya

On 11/11/25 6:03 PM, Viken Dadhaniya wrote:
> QUP devices are currently marked with opp-shared in their OPP table,
> causing the kernel to treat them as part of a shared OPP domain. This
> leads to the qcom_geni_serial driver failing to probe with error
> -EBUSY (-16).
> 
> Remove the opp-shared property to ensure the OPP framework treats the
> QUP OPP table as device-specific, allowing the serial driver to probe
> successfully
> 
> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-11-11 19:55 ` Bjorn Andersson
@ 2025-11-21 10:07   ` Viken Dadhaniya
  2025-11-21 12:03     ` Dmitry Baryshkov
  0 siblings, 1 reply; 11+ messages in thread
From: Viken Dadhaniya @ 2025-11-21 10:07 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, konrad.dybcio, dmitry.baryshkov, mukesh.savaliya



On 11/12/2025 1:25 AM, Bjorn Andersson wrote:
> On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
>> QUP devices are currently marked with opp-shared in their OPP table,
>> causing the kernel to treat them as part of a shared OPP domain. This
>> leads to the qcom_geni_serial driver failing to probe with error
>> -EBUSY (-16).
>>
>> Remove the opp-shared property to ensure the OPP framework treats the
>> QUP OPP table as device-specific, allowing the serial driver to probe
>> successfully
>>
>> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
> 
> This was merged 11 months ago, and Yu Zhang added bluetooth support 3
> months ago. What changed to break the QUP users? I think it's reasonable
> to use this "Fixes", but we should document - at least on the mailing
> list, where the regression happened.
> 
> Regards,
> Bjorn

I’ve checked the older Linux versions and found that this issue started occurring after the following change:
https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/

> 
>> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
>> ---
>>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
>> index eb6f69be4a82..ed89d2d509d5 100644
>> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
>> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
>>  
>>  	qup_opp_table: opp-table-qup {
>>  		compatible = "operating-points-v2";
>> -		opp-shared;
>>  
>>  		opp-75000000 {
>>  			opp-hz = /bits/ 64 <75000000>;
>> -- 
>> 2.34.1
>>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-11-21 10:07   ` Viken Dadhaniya
@ 2025-11-21 12:03     ` Dmitry Baryshkov
  2025-11-24  9:40       ` Viken Dadhaniya
  0 siblings, 1 reply; 11+ messages in thread
From: Dmitry Baryshkov @ 2025-11-21 12:03 UTC (permalink / raw)
  To: Viken Dadhaniya
  Cc: Bjorn Andersson, konradybcio, robh, krzk+dt, conor+dt,
	linux-arm-msm, devicetree, linux-kernel, konrad.dybcio,
	dmitry.baryshkov, mukesh.savaliya

On Fri, Nov 21, 2025 at 03:37:21PM +0530, Viken Dadhaniya wrote:
> 
> 
> On 11/12/2025 1:25 AM, Bjorn Andersson wrote:
> > On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
> >> QUP devices are currently marked with opp-shared in their OPP table,
> >> causing the kernel to treat them as part of a shared OPP domain. This
> >> leads to the qcom_geni_serial driver failing to probe with error
> >> -EBUSY (-16).
> >>
> >> Remove the opp-shared property to ensure the OPP framework treats the
> >> QUP OPP table as device-specific, allowing the serial driver to probe
> >> successfully
> >>
> >> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
> > 
> > This was merged 11 months ago, and Yu Zhang added bluetooth support 3
> > months ago. What changed to break the QUP users? I think it's reasonable
> > to use this "Fixes", but we should document - at least on the mailing
> > list, where the regression happened.
> > 
> > Regards,
> > Bjorn
> 
> I’ve checked the older Linux versions and found that this issue started occurring after the following change:
> https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/

Hmm, but it's your patch. How was it tested?

> 
> > 
> >> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
> >> ---
> >>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
> >>  1 file changed, 1 deletion(-)
> >>
> >> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
> >> index eb6f69be4a82..ed89d2d509d5 100644
> >> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
> >> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
> >> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
> >>  
> >>  	qup_opp_table: opp-table-qup {
> >>  		compatible = "operating-points-v2";
> >> -		opp-shared;
> >>  
> >>  		opp-75000000 {
> >>  			opp-hz = /bits/ 64 <75000000>;
> >> -- 
> >> 2.34.1
> >>

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-11-21 12:03     ` Dmitry Baryshkov
@ 2025-11-24  9:40       ` Viken Dadhaniya
  2025-12-17 15:50         ` Viken Dadhaniya
  0 siblings, 1 reply; 11+ messages in thread
From: Viken Dadhaniya @ 2025-11-24  9:40 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, konradybcio, robh, krzk+dt, conor+dt,
	linux-arm-msm, devicetree, linux-kernel, konrad.dybcio,
	dmitry.baryshkov, mukesh.savaliya



On 11/21/2025 5:33 PM, Dmitry Baryshkov wrote:
> On Fri, Nov 21, 2025 at 03:37:21PM +0530, Viken Dadhaniya wrote:
>>
>>
>> On 11/12/2025 1:25 AM, Bjorn Andersson wrote:
>>> On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
>>>> QUP devices are currently marked with opp-shared in their OPP table,
>>>> causing the kernel to treat them as part of a shared OPP domain. This
>>>> leads to the qcom_geni_serial driver failing to probe with error
>>>> -EBUSY (-16).
>>>>
>>>> Remove the opp-shared property to ensure the OPP framework treats the
>>>> QUP OPP table as device-specific, allowing the serial driver to probe
>>>> successfully
>>>>
>>>> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
>>>
>>> This was merged 11 months ago, and Yu Zhang added bluetooth support 3
>>> months ago. What changed to break the QUP users? I think it's reasonable
>>> to use this "Fixes", but we should document - at least on the mailing
>>> list, where the regression happened.
>>>
>>> Regards,
>>> Bjorn
>>
>> I’ve checked the older Linux versions and found that this issue started occurring after the following change:
>> https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/
> 
> Hmm, but it's your patch. How was it tested?

For this patch, I had verified only the I²C instance and compared it against other SoCs (like sc7280.dtsi). But missed to validate all other instances from  SPI/Serial.
I realized now and will make sure to test all possible nodes in future changes to avoid such gap.

> 
>>
>>>
>>>> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
>>>> ---
>>>>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
>>>>  1 file changed, 1 deletion(-)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>> index eb6f69be4a82..ed89d2d509d5 100644
>>>> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
>>>> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
>>>>  
>>>>  	qup_opp_table: opp-table-qup {
>>>>  		compatible = "operating-points-v2";
>>>> -		opp-shared;
>>>>  
>>>>  		opp-75000000 {
>>>>  			opp-hz = /bits/ 64 <75000000>;
>>>> -- 
>>>> 2.34.1
>>>>
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-11-24  9:40       ` Viken Dadhaniya
@ 2025-12-17 15:50         ` Viken Dadhaniya
  2026-01-07  4:52           ` Viken Dadhaniya
  2026-01-09 19:40           ` Bjorn Andersson
  0 siblings, 2 replies; 11+ messages in thread
From: Viken Dadhaniya @ 2025-12-17 15:50 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, konrad.dybcio, dmitry.baryshkov, mukesh.savaliya

Hi Bjorn and Dmitry,

On 11/24/2025 3:10 PM, Viken Dadhaniya wrote:
> 
> 
> On 11/21/2025 5:33 PM, Dmitry Baryshkov wrote:
>> On Fri, Nov 21, 2025 at 03:37:21PM +0530, Viken Dadhaniya wrote:
>>>
>>>
>>> On 11/12/2025 1:25 AM, Bjorn Andersson wrote:
>>>> On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
>>>>> QUP devices are currently marked with opp-shared in their OPP table,
>>>>> causing the kernel to treat them as part of a shared OPP domain. This
>>>>> leads to the qcom_geni_serial driver failing to probe with error
>>>>> -EBUSY (-16).
>>>>>
>>>>> Remove the opp-shared property to ensure the OPP framework treats the
>>>>> QUP OPP table as device-specific, allowing the serial driver to probe
>>>>> successfully
>>>>>
>>>>> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
>>>>
>>>> This was merged 11 months ago, and Yu Zhang added bluetooth support 3
>>>> months ago. What changed to break the QUP users? I think it's reasonable
>>>> to use this "Fixes", but we should document - at least on the mailing
>>>> list, where the regression happened.
>>>>
>>>> Regards,
>>>> Bjorn
>>>
>>> I’ve checked the older Linux versions and found that this issue started occurring after the following change:
>>> https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/
>>
>> Hmm, but it's your patch. How was it tested?
> 
> For this patch, I had verified only the I²C instance and compared it against other SoCs (like sc7280.dtsi). But missed to validate all other instances from  SPI/Serial.
> I realized now and will make sure to test all possible nodes in future changes to avoid such gap.
> 

I hope the above information addresses your question. 
The current change has been validated for the SPI, Serial, and I2C drivers,
and it is functioning as expected.
Please let us know if you have any further queries.

>>
>>>
>>>>
>>>>> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
>>>>> ---
>>>>>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
>>>>>  1 file changed, 1 deletion(-)
>>>>>
>>>>> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>> index eb6f69be4a82..ed89d2d509d5 100644
>>>>> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
>>>>>  
>>>>>  	qup_opp_table: opp-table-qup {
>>>>>  		compatible = "operating-points-v2";
>>>>> -		opp-shared;
>>>>>  
>>>>>  		opp-75000000 {
>>>>>  			opp-hz = /bits/ 64 <75000000>;
>>>>> -- 
>>>>> 2.34.1
>>>>>
>>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-12-17 15:50         ` Viken Dadhaniya
@ 2026-01-07  4:52           ` Viken Dadhaniya
  2026-01-09 19:40           ` Bjorn Andersson
  1 sibling, 0 replies; 11+ messages in thread
From: Viken Dadhaniya @ 2026-01-07  4:52 UTC (permalink / raw)
  To: Dmitry Baryshkov, Bjorn Andersson
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, konrad.dybcio, mukesh.savaliya

Hi Bjorn,

Just a quick reminder to pick this change if there are no other open items.
Please let me know if you need any additional details.

Thanks
Viken.

On 12/17/2025 9:20 PM, Viken Dadhaniya wrote:
> Hi Bjorn and Dmitry,
> 
> On 11/24/2025 3:10 PM, Viken Dadhaniya wrote:
>>
>>
>> On 11/21/2025 5:33 PM, Dmitry Baryshkov wrote:
>>> On Fri, Nov 21, 2025 at 03:37:21PM +0530, Viken Dadhaniya wrote:
>>>>
>>>>
>>>> On 11/12/2025 1:25 AM, Bjorn Andersson wrote:
>>>>> On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
>>>>>> QUP devices are currently marked with opp-shared in their OPP table,
>>>>>> causing the kernel to treat them as part of a shared OPP domain. This
>>>>>> leads to the qcom_geni_serial driver failing to probe with error
>>>>>> -EBUSY (-16).
>>>>>>
>>>>>> Remove the opp-shared property to ensure the OPP framework treats the
>>>>>> QUP OPP table as device-specific, allowing the serial driver to probe
>>>>>> successfully
>>>>>>
>>>>>> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
>>>>>
>>>>> This was merged 11 months ago, and Yu Zhang added bluetooth support 3
>>>>> months ago. What changed to break the QUP users? I think it's reasonable
>>>>> to use this "Fixes", but we should document - at least on the mailing
>>>>> list, where the regression happened.
>>>>>
>>>>> Regards,
>>>>> Bjorn
>>>>
>>>> I’ve checked the older Linux versions and found that this issue started occurring after the following change:
>>>> https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/
>>>
>>> Hmm, but it's your patch. How was it tested?
>>
>> For this patch, I had verified only the I²C instance and compared it against other SoCs (like sc7280.dtsi). But missed to validate all other instances from  SPI/Serial.
>> I realized now and will make sure to test all possible nodes in future changes to avoid such gap.
>>
> 
> I hope the above information addresses your question. 
> The current change has been validated for the SPI, Serial, and I2C drivers,
> and it is functioning as expected.
> Please let us know if you have any further queries.
> 
>>>
>>>>
>>>>>
>>>>>> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
>>>>>> ---
>>>>>>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
>>>>>>  1 file changed, 1 deletion(-)
>>>>>>
>>>>>> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>>> index eb6f69be4a82..ed89d2d509d5 100644
>>>>>> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>>> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>>> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
>>>>>>  
>>>>>>  	qup_opp_table: opp-table-qup {
>>>>>>  		compatible = "operating-points-v2";
>>>>>> -		opp-shared;
>>>>>>  
>>>>>>  		opp-75000000 {
>>>>>>  			opp-hz = /bits/ 64 <75000000>;
>>>>>> -- 
>>>>>> 2.34.1
>>>>>>
>>>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-12-17 15:50         ` Viken Dadhaniya
  2026-01-07  4:52           ` Viken Dadhaniya
@ 2026-01-09 19:40           ` Bjorn Andersson
  2026-01-12  8:47             ` Viken Dadhaniya
  1 sibling, 1 reply; 11+ messages in thread
From: Bjorn Andersson @ 2026-01-09 19:40 UTC (permalink / raw)
  To: Viken Dadhaniya
  Cc: Dmitry Baryshkov, konradybcio, robh, krzk+dt, conor+dt,
	linux-arm-msm, devicetree, linux-kernel, konrad.dybcio,
	dmitry.baryshkov, mukesh.savaliya

On Wed, Dec 17, 2025 at 09:20:09PM +0530, Viken Dadhaniya wrote:
> Hi Bjorn and Dmitry,
> 
> On 11/24/2025 3:10 PM, Viken Dadhaniya wrote:
> > 
> > 
> > On 11/21/2025 5:33 PM, Dmitry Baryshkov wrote:
> >> On Fri, Nov 21, 2025 at 03:37:21PM +0530, Viken Dadhaniya wrote:
> >>>
> >>>
> >>> On 11/12/2025 1:25 AM, Bjorn Andersson wrote:
> >>>> On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
> >>>>> QUP devices are currently marked with opp-shared in their OPP table,
> >>>>> causing the kernel to treat them as part of a shared OPP domain. This
> >>>>> leads to the qcom_geni_serial driver failing to probe with error
> >>>>> -EBUSY (-16).
> >>>>>
> >>>>> Remove the opp-shared property to ensure the OPP framework treats the
> >>>>> QUP OPP table as device-specific, allowing the serial driver to probe
> >>>>> successfully
> >>>>>
> >>>>> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
> >>>>
> >>>> This was merged 11 months ago, and Yu Zhang added bluetooth support 3
> >>>> months ago. What changed to break the QUP users? I think it's reasonable
> >>>> to use this "Fixes", but we should document - at least on the mailing
> >>>> list, where the regression happened.
> >>>>
> >>>> Regards,
> >>>> Bjorn
> >>>
> >>> I’ve checked the older Linux versions and found that this issue started occurring after the following change:
> >>> https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/
> >>
> >> Hmm, but it's your patch. How was it tested?
> > 
> > For this patch, I had verified only the I²C instance and compared it against other SoCs (like sc7280.dtsi). But missed to validate all other instances from  SPI/Serial.
> > I realized now and will make sure to test all possible nodes in future changes to avoid such gap.
> > 
> 
> I hope the above information addresses your question. 
> The current change has been validated for the SPI, Serial, and I2C drivers,
> and it is functioning as expected.

I'm sorry, but above you write "verified only I2C ... But missed to
validate all other instances" and here you write "validated SPI, Serial,
and I2C drivers".

Did you test it or not?

Or are you saying that you only tested I2C, but have now verified also
SPI and Serial?

Regards,
Bjorn

> Please let us know if you have any further queries.
> 
> >>
> >>>
> >>>>
> >>>>> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
> >>>>> ---
> >>>>>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
> >>>>>  1 file changed, 1 deletion(-)
> >>>>>
> >>>>> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
> >>>>> index eb6f69be4a82..ed89d2d509d5 100644
> >>>>> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
> >>>>> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
> >>>>> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
> >>>>>  
> >>>>>  	qup_opp_table: opp-table-qup {
> >>>>>  		compatible = "operating-points-v2";
> >>>>> -		opp-shared;
> >>>>>  
> >>>>>  		opp-75000000 {
> >>>>>  			opp-hz = /bits/ 64 <75000000>;
> >>>>> -- 
> >>>>> 2.34.1
> >>>>>
> >>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2026-01-09 19:40           ` Bjorn Andersson
@ 2026-01-12  8:47             ` Viken Dadhaniya
  0 siblings, 0 replies; 11+ messages in thread
From: Viken Dadhaniya @ 2026-01-12  8:47 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Dmitry Baryshkov, konradybcio, robh, krzk+dt, conor+dt,
	linux-arm-msm, devicetree, linux-kernel, konrad.dybcio,
	dmitry.baryshkov, mukesh.savaliya



On 1/10/2026 1:10 AM, Bjorn Andersson wrote:
> On Wed, Dec 17, 2025 at 09:20:09PM +0530, Viken Dadhaniya wrote:
>> Hi Bjorn and Dmitry,
>>
>> On 11/24/2025 3:10 PM, Viken Dadhaniya wrote:
>>>
>>>
>>> On 11/21/2025 5:33 PM, Dmitry Baryshkov wrote:
>>>> On Fri, Nov 21, 2025 at 03:37:21PM +0530, Viken Dadhaniya wrote:
>>>>>
>>>>>
>>>>> On 11/12/2025 1:25 AM, Bjorn Andersson wrote:
>>>>>> On Tue, Nov 11, 2025 at 10:33:50PM +0530, Viken Dadhaniya wrote:
>>>>>>> QUP devices are currently marked with opp-shared in their OPP table,
>>>>>>> causing the kernel to treat them as part of a shared OPP domain. This
>>>>>>> leads to the qcom_geni_serial driver failing to probe with error
>>>>>>> -EBUSY (-16).
>>>>>>>
>>>>>>> Remove the opp-shared property to ensure the OPP framework treats the
>>>>>>> QUP OPP table as device-specific, allowing the serial driver to probe
>>>>>>> successfully
>>>>>>>
>>>>>>> Fixes: f6746dc9e379 ("arm64: dts: qcom: qcs615: Add QUPv3 configuration")
>>>>>>
>>>>>> This was merged 11 months ago, and Yu Zhang added bluetooth support 3
>>>>>> months ago. What changed to break the QUP users? I think it's reasonable
>>>>>> to use this "Fixes", but we should document - at least on the mailing
>>>>>> list, where the regression happened.
>>>>>>
>>>>>> Regards,
>>>>>> Bjorn
>>>>>
>>>>> I’ve checked the older Linux versions and found that this issue started occurring after the following change:
>>>>> https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/
>>>>
>>>> Hmm, but it's your patch. How was it tested?
>>>
>>> For this patch, I had verified only the I²C instance and compared it against other SoCs (like sc7280.dtsi). But missed to validate all other instances from  SPI/Serial.
>>> I realized now and will make sure to test all possible nodes in future changes to avoid such gap.
>>>
>>
>> I hope the above information addresses your question. 
>> The current change has been validated for the SPI, Serial, and I2C drivers,
>> and it is functioning as expected.
> 
> I'm sorry, but above you write "verified only I2C ... But missed to
> validate all other instances" and here you write "validated SPI, Serial,
> and I2C drivers".
> 
> Did you test it or not?
> 
> Or are you saying that you only tested I2C, but have now verified also
> SPI and Serial?
> 
> Regards,
> Bjorn

Hi Bjorn,

Seems there is some confusion, let me clarify:

For the earlier patch which caused regression:
https://lore.kernel.org/linux-devicetree/20250630064338.2487409-1-viken.dadhaniya@oss.qualcomm.com/
I had verified the I²C protocol only and compared it against other SoCs
(such as sc7280.dtsi). Unfortunately, I missed validating the SPI and
Serial instances at that time. I acknowledge this gap and will ensure
comprehensive testing across all relevant nodes in future changes.

For the current patch providing the solution for above issue:
https://lore.kernel.org/all/vmrpdu7fn776vkwrhwvtuwkpsxaco4gt4worl43mpvk73ft67a@cbkg6gmqss5x/
I have validated the SPI, Serial, and I²C drivers, and they are
functioning as expected.

Hope it clarifies, Please let me know if there is anything else needed
from my side.

Regards,
Viken

> 
>> Please let us know if you have any further queries.
>>
>>>>
>>>>>
>>>>>>
>>>>>>> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
>>>>>>> ---
>>>>>>>  arch/arm64/boot/dts/qcom/talos.dtsi | 1 -
>>>>>>>  1 file changed, 1 deletion(-)
>>>>>>>
>>>>>>> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>>>> index eb6f69be4a82..ed89d2d509d5 100644
>>>>>>> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>>>> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
>>>>>>> @@ -536,7 +536,6 @@ cdsp_smp2p_in: slave-kernel {
>>>>>>>  
>>>>>>>  	qup_opp_table: opp-table-qup {
>>>>>>>  		compatible = "operating-points-v2";
>>>>>>> -		opp-shared;
>>>>>>>  
>>>>>>>  		opp-75000000 {
>>>>>>>  			opp-hz = /bits/ 64 <75000000>;
>>>>>>> -- 
>>>>>>> 2.34.1
>>>>>>>
>>>>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: (subset) [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
  2025-11-11 17:03 [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table Viken Dadhaniya
  2025-11-11 19:55 ` Bjorn Andersson
  2025-11-12  9:40 ` Konrad Dybcio
@ 2026-01-21  2:35 ` Bjorn Andersson
  2 siblings, 0 replies; 11+ messages in thread
From: Bjorn Andersson @ 2026-01-21  2:35 UTC (permalink / raw)
  To: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, konrad.dybcio, Dmitry Baryshkov, Viken Dadhaniya
  Cc: mukesh.savaliya


On Tue, 11 Nov 2025 22:33:50 +0530, Viken Dadhaniya wrote:
> QUP devices are currently marked with opp-shared in their OPP table,
> causing the kernel to treat them as part of a shared OPP domain. This
> leads to the qcom_geni_serial driver failing to probe with error
> -EBUSY (-16).
> 
> Remove the opp-shared property to ensure the OPP framework treats the
> QUP OPP table as device-specific, allowing the serial driver to probe
> successfully
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table
      commit: dda4bdd325326dd67ae4401f4f3d35b9cf781e3f

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-01-21  2:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-11 17:03 [PATCH 1/1] arm64: dts: qcom: talos: Drop opp-shared from QUP OPP table Viken Dadhaniya
2025-11-11 19:55 ` Bjorn Andersson
2025-11-21 10:07   ` Viken Dadhaniya
2025-11-21 12:03     ` Dmitry Baryshkov
2025-11-24  9:40       ` Viken Dadhaniya
2025-12-17 15:50         ` Viken Dadhaniya
2026-01-07  4:52           ` Viken Dadhaniya
2026-01-09 19:40           ` Bjorn Andersson
2026-01-12  8:47             ` Viken Dadhaniya
2025-11-12  9:40 ` Konrad Dybcio
2026-01-21  2:35 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®