* [PATCH] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs
@ 2025-12-02 9:37 Harshal Dev
2025-12-02 9:43 ` Krzysztof Kozlowski
0 siblings, 1 reply; 5+ messages in thread
From: Harshal Dev @ 2025-12-02 9:37 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Sumit Garg, Jens Wiklander
Cc: Amirreza Zarrabi, Arnd Bergmann, Geert Uytterhoeven, op-tee,
linux-kernel, Harshal Dev
Enable config for the QCOMTEE driver to facilitate communication with the
Qualcomm Trusted Execution Environment (QTEE) on Qualcomm platforms.
Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index cdb7d69e3b24..57b2b09d0479 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1789,6 +1789,7 @@ CONFIG_FPGA_MGR_ZYNQMP_FPGA=m
CONFIG_FPGA_MGR_VERSAL_FPGA=m
CONFIG_TEE=y
CONFIG_OPTEE=y
+CONFIG_QCOMTEE=y
CONFIG_MUX_GPIO=m
CONFIG_MUX_MMIO=y
CONFIG_SLIMBUS=m
---
base-commit: 47b7b5e32bb7264b51b89186043e1ada4090b558
change-id: 20251202-qcom_qcomtee_defconfig-8dc0fed1411b
Best regards,
--
Harshal Dev <harshal.dev@oss.qualcomm.com>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs
2025-12-02 9:37 [PATCH] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs Harshal Dev
@ 2025-12-02 9:43 ` Krzysztof Kozlowski
2025-12-02 9:45 ` Krzysztof Kozlowski
2025-12-05 7:38 ` Harshal Dev
0 siblings, 2 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-02 9:43 UTC (permalink / raw)
To: Harshal Dev, Bjorn Andersson, Sumit Garg, Jens Wiklander
Cc: Amirreza Zarrabi, Arnd Bergmann, Geert Uytterhoeven, op-tee,
linux-kernel
On 02/12/2025 10:37, Harshal Dev wrote:
> Enable config for the QCOMTEE driver to facilitate communication with the
> Qualcomm Trusted Execution Environment (QTEE) on Qualcomm platforms.
Which platforms use it?
Why this cannot be a module?
>
> Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
> ---
> arch/arm64/configs/defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs
2025-12-02 9:43 ` Krzysztof Kozlowski
@ 2025-12-02 9:45 ` Krzysztof Kozlowski
2025-12-05 7:40 ` Harshal Dev
2025-12-05 7:38 ` Harshal Dev
1 sibling, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-02 9:45 UTC (permalink / raw)
To: Harshal Dev, Bjorn Andersson, Sumit Garg, Jens Wiklander
Cc: Amirreza Zarrabi, Arnd Bergmann, Geert Uytterhoeven, op-tee,
linux-kernel
On 02/12/2025 10:43, Krzysztof Kozlowski wrote:
> On 02/12/2025 10:37, Harshal Dev wrote:
>> Enable config for the QCOMTEE driver to facilitate communication with the
>> Qualcomm Trusted Execution Environment (QTEE) on Qualcomm platforms.
>
> Which platforms use it?
> Why this cannot be a module?
>
Also, you did not really cc necessary lists. Use get_maintainers.pl on
qcom soc code for example.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs
2025-12-02 9:43 ` Krzysztof Kozlowski
2025-12-02 9:45 ` Krzysztof Kozlowski
@ 2025-12-05 7:38 ` Harshal Dev
1 sibling, 0 replies; 5+ messages in thread
From: Harshal Dev @ 2025-12-05 7:38 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Sumit Garg, Jens Wiklander
Cc: Amirreza Zarrabi, Arnd Bergmann, Geert Uytterhoeven, op-tee,
linux-kernel
Hi Krzysztof,
On 12/2/2025 3:13 PM, Krzysztof Kozlowski wrote:
> On 02/12/2025 10:37, Harshal Dev wrote:
>> Enable config for the QCOMTEE driver to facilitate communication with the
>> Qualcomm Trusted Execution Environment (QTEE) on Qualcomm platforms.
>
> Which platforms use it?
The Qualcomm Trusted Execution Environment (QTEE) firmware is available on all
Qualcomm platforms. However, certain platforms like db410c (APQ8016), where QTEE
does not support Object-IPC (the communication protocol implemented by QCOMTEE driver)
a graceful -EIO is returned by qcom_scm_qtee_init() which is in-charge of dynamically
registering the QCOMTEE driver as a platform driver during qcom_scm_probe().
More details available here: https://lore.kernel.org/op-tee/20250820-qcom-tee-using-tee-ss-without-mem-obj-v8-0-7066680f138a@oss.qualcomm.com/T/#m1eba97cb921c958034ffe7e2bfb776177ba48eb6
And so, the QCOMTEE driver can be safely enabled on all Qualcomm platforms regardless
of QTEE firmware version.
> Why this cannot be a module?
Upon a bit of reflection, I have realized that it is completely fine to have this driver
built as an in-tree module. I have also validated that this presents no issues during
loading/unloading of the driver.
I will send a new patch and update the CONFIG_QCOMTEE flag to m.
Regards,
Harshal
>
>>
>> Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
>> ---
>> arch/arm64/configs/defconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs
2025-12-02 9:45 ` Krzysztof Kozlowski
@ 2025-12-05 7:40 ` Harshal Dev
0 siblings, 0 replies; 5+ messages in thread
From: Harshal Dev @ 2025-12-05 7:40 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Sumit Garg, Jens Wiklander
Cc: Amirreza Zarrabi, Arnd Bergmann, Geert Uytterhoeven, op-tee,
linux-kernel
Hi, Krzysztof
On 12/2/2025 3:15 PM, Krzysztof Kozlowski wrote:
> On 02/12/2025 10:43, Krzysztof Kozlowski wrote:
>> On 02/12/2025 10:37, Harshal Dev wrote:
>>> Enable config for the QCOMTEE driver to facilitate communication with the
>>> Qualcomm Trusted Execution Environment (QTEE) on Qualcomm platforms.
>>
>> Which platforms use it?
>> Why this cannot be a module?
>>
>
> Also, you did not really cc necessary lists. Use get_maintainers.pl on
> qcom soc code for example.
Sure, thanks for pointing this out, I will add the folks from Qcom SoC code in
the next patch. :)
Regards,
Harshal
>
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-12-05 7:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02 9:37 [PATCH] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs Harshal Dev
2025-12-02 9:43 ` Krzysztof Kozlowski
2025-12-02 9:45 ` Krzysztof Kozlowski
2025-12-05 7:40 ` Harshal Dev
2025-12-05 7:38 ` Harshal Dev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox