Re: [PATCH v2] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs

From: Harshal Dev

Date: Fri Dec 05 2025 - 05:58:53 EST


Hi Krzysztof

On 12/5/2025 1:45 PM, Krzysztof Kozlowski wrote:
> On 05/12/2025 09:12, Harshal Dev wrote:
>> Enable config 'm' for the QCOMTEE driver to facilitate communication with
>> the Qualcomm Trusted Execution Environment (QTEE) on Qualcomm platforms.
>
> I can do it forever, but next time I will just NAK.
>
> Which platforms need this? Which platforms use this?

Looks like I misunderstood your comment on the last patch regarding Qualcomm
platform support for this driver as more of a generic question instead of being
a hard request to update the commit message.
https://lore.kernel.org/all/f20833a4-1571-41f8-875a-d27086be3090@xxxxxxxxxxxxxxxx/

I will take care of this now, however I am still a bit confused regarding how many
platforms should I explicitly list out in the commit message. I took reference of
these below patches merged earlier in the defconfig for enabling the QCE crypto block driver,
Qualcomm Watchdog driver and Qualcomm RNG driver. And I did not see them listing out
any specific Qualcomm platforms which need/use these drivers. I understand that this is
because the drivers provide generic functionality applicable on all Qualcomm SoCs.
https://lore.kernel.org/all/20220921045602.1462007-5-bhupesh.sharma@xxxxxxxxxx/
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f27dbbda5900c20e07418c6893ca6e95b634f4ff
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2774e558151a6e325e1f9f278722479601319f78

Similarly, all Qualcomm SoCs have ARM TrustZone support with a QTEE firmware OS running.
The version of the firmware might differ, but it is always there, and so the QCOMTEE driver is
applicable to all Qualcomm SoCs just like the Watchdog or RNG driver.

Please do let me know however if we must provide an explicit list of applicable Qualcomm
platforms which benefit from this driver.

Thank you,
Harshal

>
> Best regards,
> Krzysztof