* [PATCH] arm64: dts: qcom: talos-evk-som: Add firmware-name to QUPv3 nodes
@ 2026-08-05 11:27 Viken Dadhaniya
2026-08-05 11:43 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Viken Dadhaniya @ 2026-08-05 11:27 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Viken Dadhaniya
Traditionally, firmware loading for Serial Engines (SE) in the QUP hardware
of Qualcomm SoCs has been managed by TrustZone (TZ). While this approach
ensures secure SE assignment and access control, it limits flexibility for
developers who need to enable various protocols on different SEs.
Add the firmware-name property to QUPv3 nodes in the device tree to enable
firmware loading from the Linux environment. Handle SE assignments and
access control permissions directly within Linux, removing the dependency
on TrustZone.
Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/talos-evk-som.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi b/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
index a057a7271480..8bed53a8bd76 100644
--- a/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
@@ -411,10 +411,14 @@ usb2_en: usb2-en-state {
};
&qupv3_id_0 {
+ firmware-name = "qcom/qcs615/qupv3fw.elf";
+
status = "okay";
};
&qupv3_id_1 {
+ firmware-name = "qcom/qcs615/qupv3fw.elf";
+
status = "okay";
};
---
base-commit: 9a4cdc958dd79fc6c3b20b51a10debec6ca09fec
change-id: 20260805-talos-evk-qupv3-firmware-name-234f0ac9bdc1
Best regards,
--
Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: qcom: talos-evk-som: Add firmware-name to QUPv3 nodes
2026-08-05 11:27 [PATCH] arm64: dts: qcom: talos-evk-som: Add firmware-name to QUPv3 nodes Viken Dadhaniya
@ 2026-08-05 11:43 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-08-05 11:43 UTC (permalink / raw)
To: Viken Dadhaniya; +Cc: robh, conor+dt, devicetree
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Removing the TrustZone dependency for QUP firmware breaks earlycon and standard serial console initialization.
- [High] The commit claims to handle access control permissions within Linux, but no such logic exists.
--
--- Patch [1]: [PATCH] arm64: dts: qcom: talos-evk-som: Add firmware-name to QUPv3 nodes ---
commit 2c22f3348260193e8037f117d786bf9e0ca0dd64
Author: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
arm64: dts: qcom: talos-evk-som: Add firmware-name to QUPv3 nodes
This commit adds the firmware-name property to QUPv3 nodes for the
talos-evk-som board. It shifts the responsibility of loading Serial Engine
(SE) firmware from TrustZone to Linux.
> Handle SE assignments and access control permissions directly within Linux,
> removing the dependency on TrustZone.
[Severity: High]
The commit message states that access control permissions are handled
directly within Linux. Is this access control logic actually implemented?
Looking at the qcom-geni-se driver, there does not appear to be code that
configures hardware access control (such as QUP wrapper ACL registers, XPUs,
or SMMU protections) that TrustZone would normally enforce.
Does this change bypass a security boundary without providing the stated
replacement in Linux?
> diff --git a/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi b/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
> --- a/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
> +++ b/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
[ ... ]
> @@ -411,10 +411,14 @@ usb2_en: usb2-en-state {
> };
>
> &qupv3_id_0 {
> + firmware-name = "qcom/qcs615/qupv3fw.elf";
> +
> status = "okay";
> };
[Severity: High]
Will relying on Linux to load the QUP firmware break earlycon and standard
serial console initialization?
If the hardware remains uninitialized during early boot,
qcom_geni_serial_earlycon_setup() will fail when geni_se_read_proto() cannot
detect the UART protocol and abort the earlycon setup.
Furthermore, standard console registration invokes request_firmware() via
geni_load_se_firmware(). Since this occurs before the root filesystem is
mounted, will this fail with -ENOENT and drop the console registration?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260805-talos-evk-qupv3-firmware-name-v1-1-3ebd5e5578bd@oss.qualcomm.com?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-05 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-05 11:27 [PATCH] arm64: dts: qcom: talos-evk-som: Add firmware-name to QUPv3 nodes Viken Dadhaniya
2026-08-05 11:43 ` sashiko-bot
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.