All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes
@ 2026-07-03  8:58 Sarat Addepalli
  2026-07-03  9:06 ` sashiko-bot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sarat Addepalli @ 2026-07-03  8:58 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel
  Cc: Sarat Addepalli

Add IPA nodes for Qualcomm qcm6490 board.

The qcom,gsi-loader and memory-region properties are provided by
kodiak.dtsi as part of the IPA property consolidation work, so only
the board-specific firmware-name and status properties need to be set.

Link: https://lore.kernel.org/all/20260517-ipa-loader-v1-0-3c3764c1b4a3@oss.qualcomm.com/
Signed-off-by: Sarat Addepalli <sarat.addepalli@oss.qualcomm.com>
---
Changes in v4:
- Removed empty line between Link and Signed-off-by tags.
- Added empty line before the status property in the IPA node.
- Sent as a new thread instead of replying to the previous revision.
Changes in v3:
- Rebased on top of IPA property consolidation series.
- Dropped qcom,gsi-loader and memory-region properties as they are now
  provided by kodiak.dtsi.
- Added Link tag to the dependent IPA loader series.
Changes in v2:
- Modified firmware file extension from .mdt to .mbn

v3: https://lore.kernel.org/all/20260702105509.1360340-1-sarat.addepalli@oss.qualcomm.com/
v2: https://lore.kernel.org/all/20260618124700.2001191-1-sarat.addepalli@oss.qualcomm.com/
v1: https://lore.kernel.org/all/20250304152133.GA2763820@hu-kapandey-hyd.qualcomm.com/

 arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
index bdc02260f902..7242695aed97 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
@@ -619,6 +619,12 @@ &gpu_zap_shader {
 	firmware-name = "qcom/qcm6490/a660_zap.mbn";
 };
 
+&ipa {
+	firmware-name = "qcom/qcm6490/ipa_fws.mbn";
+
+	status = "okay";
+};
+
 &lpass_rx_macro {
 	status = "okay";
 };

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

* Re: [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes
  2026-07-03  8:58 [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes Sarat Addepalli
@ 2026-07-03  9:06 ` sashiko-bot
  2026-07-03 10:51 ` Konrad Dybcio
  2026-07-07  3:05 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: sashiko-bot @ 2026-07-03  9:06 UTC (permalink / raw)
  To: Sarat Addepalli; +Cc: robh, devicetree, conor+dt

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing required properties 'memory-region' and 'qcom,gsi-loader' for the 'ipa' node.
--

commit 3779947d88d9867dec609553d6bb24efded1c1a3
Author: Sarat Addepalli <sarat.addepalli@oss.qualcomm.com>

arm64: dts: qcom: qcom6490-idp: Add IPA nodes

This commit adds IPA nodes for the Qualcomm qcm6490 board. It configures
the firmware-name and sets the status to okay, stating that other required
properties are provided by kodiak.dtsi.

Link: https://lore.kernel.org/all/20260517-ipa-loader-v1-0-3c3764c1b4a3@oss.qualcomm.com/

> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
[ ... ]
> @@ -619,6 +619,12 @@ &gpu_zap_shader {
>  	firmware-name = "qcom/qcm6490/a660_zap.mbn";
>  };
>  
> +&ipa {
> +	firmware-name = "qcom/qcm6490/ipa_fws.mbn";
> +
> +	status = "okay";
> +};

[Severity: Medium]
Will the IPA driver fail to probe here due to missing properties?

The commit message states that the qcom,gsi-loader and memory-region
properties are provided by kodiak.dtsi. However, it appears neither
kodiak.dtsi nor this file actually provides them for the ipa node.

Without qcom,gsi-loader, the driver defaults to self-loading and calls
ipa_firmware_load() during initialization.

Because ipa_firmware_load() requires a memory-region property to map the
firmware memory, lacking it will cause the probe to unconditionally abort.

Should these properties be explicitly added to this node to ensure the
device can successfully initialize?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260703085809.2573214-1-sarat.addepalli@oss.qualcomm.com?part=1

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

* Re: [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes
  2026-07-03  8:58 [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes Sarat Addepalli
  2026-07-03  9:06 ` sashiko-bot
@ 2026-07-03 10:51 ` Konrad Dybcio
  2026-07-07  3:05 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-07-03 10:51 UTC (permalink / raw)
  To: Sarat Addepalli, andersson, konradybcio, robh, krzk+dt, conor+dt,
	linux-arm-msm, devicetree, linux-kernel

On 7/3/26 10:58 AM, Sarat Addepalli wrote:
> Add IPA nodes for Qualcomm qcm6490 board.
> 
> The qcom,gsi-loader and memory-region properties are provided by
> kodiak.dtsi as part of the IPA property consolidation work, so only
> the board-specific firmware-name and status properties need to be set.
> 
> Link: https://lore.kernel.org/all/20260517-ipa-loader-v1-0-3c3764c1b4a3@oss.qualcomm.com/

The link and the paragraph above have no business being in the commit
message, because at the time of applying this patch, the referenced
patchset would have already been merged.

Konrad

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

* Re: [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes
  2026-07-03  8:58 [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes Sarat Addepalli
  2026-07-03  9:06 ` sashiko-bot
  2026-07-03 10:51 ` Konrad Dybcio
@ 2026-07-07  3:05 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2026-07-07  3:05 UTC (permalink / raw)
  To: Sarat Addepalli
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel

On Fri, Jul 03, 2026 at 02:28:09PM +0530, Sarat Addepalli wrote:
> Add IPA nodes for Qualcomm qcm6490 board.

There's no such thing as "the qcm6490 board" - I have 2 different "the"
qcm6490 boards...

Please start your commit message by describing the "problem" that the
patch is solving. 

> 
> The qcom,gsi-loader and memory-region properties are provided by
> kodiak.dtsi as part of the IPA property consolidation work, so only
> the board-specific firmware-name and status properties need to be set.

That's how DeviceTree source works, no need to document it.

> 
> Link: https://lore.kernel.org/all/20260517-ipa-loader-v1-0-3c3764c1b4a3@oss.qualcomm.com/

In line with Konrad's comment, it's not clear to me what this link is
doing here. Either help me understand (in the commit message) or remove
it.

> Signed-off-by: Sarat Addepalli <sarat.addepalli@oss.qualcomm.com>
> ---
> Changes in v4:
> - Removed empty line between Link and Signed-off-by tags.
> - Added empty line before the status property in the IPA node.
> - Sent as a new thread instead of replying to the previous revision.
> Changes in v3:
> - Rebased on top of IPA property consolidation series.
> - Dropped qcom,gsi-loader and memory-region properties as they are now
>   provided by kodiak.dtsi.
> - Added Link tag to the dependent IPA loader series.
> Changes in v2:
> - Modified firmware file extension from .mdt to .mbn
> 
> v3: https://lore.kernel.org/all/20260702105509.1360340-1-sarat.addepalli@oss.qualcomm.com/
> v2: https://lore.kernel.org/all/20260618124700.2001191-1-sarat.addepalli@oss.qualcomm.com/
> v1: https://lore.kernel.org/all/20250304152133.GA2763820@hu-kapandey-hyd.qualcomm.com/
> 
>  arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> index bdc02260f902..7242695aed97 100644
> --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> @@ -619,6 +619,12 @@ &gpu_zap_shader {
>  	firmware-name = "qcom/qcm6490/a660_zap.mbn";
>  };
>  
> +&ipa {
> +	firmware-name = "qcom/qcm6490/ipa_fws.mbn";
> +
> +	status = "okay";
> +};
> +
>  &lpass_rx_macro {
>  	status = "okay";
>  };

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

end of thread, other threads:[~2026-07-07  3:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03  8:58 [PATCH v4] arm64: dts: qcom: qcom6490-idp: Add IPA nodes Sarat Addepalli
2026-07-03  9:06 ` sashiko-bot
2026-07-03 10:51 ` Konrad Dybcio
2026-07-07  3:05 ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.