From: Harshal Dev <harshal.dev@oss.qualcomm.com>
To: Sumit Garg <sumit.garg@kernel.org>,
Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Krzysztof Kozlowski <krzk@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
Jens Wiklander <jens.wiklander@linaro.org>,
Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com>,
Arnd Bergmann <arnd@arndb.de>,
Geert Uytterhoeven <geert+renesas@glider.be>,
op-tee@lists.trustedfirmware.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] arm64: defconfig: Enable QCOMTEE on Qualcomm SM8650+
Date: Mon, 15 Dec 2025 16:50:39 +0530 [thread overview]
Message-ID: <0a4368bf-40a2-42bb-b538-6e64c11598e3@oss.qualcomm.com> (raw)
In-Reply-To: <aTtvHYDOny33yeOD@sumit-X1>
Hi all,
On 12/12/2025 6:55 AM, Sumit Garg wrote:
> On Wed, Dec 10, 2025 at 02:35:19PM +0530, Harshal Dev wrote:
>> Hi Bjorn,
>>
>> On 12/10/2025 9:21 AM, Bjorn Andersson wrote:
>>> On Mon, Dec 8, 2025 at 10:14 PM Dmitry Baryshkov
>>> <dmitry.baryshkov@oss.qualcomm.com> wrote:
>>>> On Tue, 9 Dec 2025 at 07:58, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>>>>
>>>>> On 08/12/2025 13:18, Harshal Dev wrote:
>>>>>> Enable QCOMTEE driver on Qualcomm SM8650+ SoCs to facilitate communication
>>>>>> with the Qualcomm Trusted Execution Environment (QTEE).
>>>>>> (No enablement required in DTS files since QCOMTEE device is dynamically
>>>>>> registered by the QCOM_SCM firmware driver)
>>>>>>
>>>>>> Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
>>>>>> ---
>>>>>> Changes in v3:
>>>>>> - Updated the commit message to reflect the supported Qualcomm platforms.
>>>>>> - Link to v2: https://lore.kernel.org/r/20251205-qcom_qcomtee_defconfig-v2-1-c92560b0346e@qti.qualcomm.com
>>>>>>
>>>>>
>>>>> I gave you the exact example to follow. Maybe it is not that important
>>>>> for others, so I will not object, but OTOH it is important for me, thus
>>>>> I will not give reviewed by. I damn asked VERY CLEARLY:
>>>>>
>>>>> "Just mention which UPSTREAM boards (which you called Qualcomm
>>>>> platforms) use this driver."
>>>>
>>>> +1 Here. Defconfig changes mention devices, not SoC families.
>>>>
>>>
>>> I don't agree that you have to mention a specific board, if the
>>> feature is used by all boards. But I think the commit message should
>>> make _that_ clear.
>>>
>>
>> Thanks for this input Bjorn. I gather we are now aligned that the board
>> information is not required.
>>
>> Then the other part to this is how to provide information on the particular
>> SoCs using this.
>>
>>> On the contrary, the commit message says that we're enabling
>>> CONFIG_QCOMTEE because it's used on "SM8560+". What does the plus
>>> mean?
>>
>> I took reference from similar commits merged earlier where the plus seemed
>> to indicate that all Qualcomm SoCs from 'SM8650' on-wards, that is, SM8750,
>> SM8850 and so on. It felt that the plus sign is self-explanatory since it
>> has been used already. But sure, maybe we can be explicit from now on and say
>> from 'Qualcomm SM8650 onwards'.
>>
>> commit c5d02bbaa217b2454ba1ce7528113aa2ecf14f3c
>>
>>> Also, the driver isn't enabled "on Qualcomm SM8650+", it's enabled in
>>> the Am64 defconfig, i.e. it's enabled on all Arm64 boards - the
>>> question that should be answered by the commit message is "why?".
>>>
>>
>> Even though we are enabling this via the arm64 defconfig, it is not true that
>> the driver is applicable for all arm64 boards. The simple reason being that
>> the QTEE firmware OS that the driver communicates with runs only on Qualcomm
>> SoCs using arm64 CPUs with ARM TrustZone technology.
>>
>> This is why I would try to avoid a commit message which claims the the driver
>> is applicable to all arm64 boards.
>>
>> Based on all this, I am thinking perhaps it would be better to say that the
>> patch enables QCOMTEE driver for Qualcomm SoCs with arm64 CPUs? We could drop
>> mentions of specific SM8x50 models with HDK/MTP boards since the feature is
>> agnostic to those?
>
> AFAIK, the QCOMTEE driver works on the Qcom SoCs based on arm64 which supports
> the SMCInvoke protocol. So we should be explicit about it. Regarding
> mention of reference publicly available boards, I can see how it can be useful
> for the community to test QTEE based apps. If you can mention say
> example RB3Gen2 supports QTEE driver at least then it will be helpful.
>
Based on consolidated feedback on this thread, I am thinking of the following
commit message, let me know if this is a go from everyone's perspective:
"
arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs using arm64 CPUs
Enable QCOMTEE driver as a module for Qualcomm SoCs based on arm64 CPUs and
supporting the SMCInvoke protocol for communication with the Qualcomm Trusted
Execution Environment (QTEE).
The driver is tested on a Qualcomm RB3Gen2 board by loading and executing a
Trusted Application via tests hosted at www.github.com/qualcomm/minkipc.
"
Regards,
Harshal
> -Sumit
>
> [...]
next prev parent reply other threads:[~2025-12-15 11:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-08 12:18 [PATCH v3] arm64: defconfig: Enable QCOMTEE on Qualcomm SM8650+ Harshal Dev
2025-12-09 5:58 ` Krzysztof Kozlowski
2025-12-09 6:14 ` Dmitry Baryshkov
2025-12-10 3:51 ` Bjorn Andersson
2025-12-10 5:20 ` Krzysztof Kozlowski
2025-12-10 9:05 ` Harshal Dev
2025-12-12 1:25 ` Sumit Garg
2025-12-15 11:20 ` Harshal Dev [this message]
2025-12-22 16:56 ` Bjorn Andersson
2026-01-02 8:51 ` Harshal Dev
2026-01-02 18:23 ` Bjorn Andersson
2026-01-07 6:20 ` Harshal Dev
2026-01-07 15:04 ` Bjorn Andersson
2026-01-08 9:46 ` Harshal Dev
2025-12-09 7:15 ` Harshal Dev
2025-12-12 1:14 ` Sumit Garg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0a4368bf-40a2-42bb-b538-6e64c11598e3@oss.qualcomm.com \
--to=harshal.dev@oss.qualcomm.com \
--cc=amirreza.zarrabi@oss.qualcomm.com \
--cc=arnd@arndb.de \
--cc=bjorn.andersson@oss.qualcomm.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=geert+renesas@glider.be \
--cc=jens.wiklander@linaro.org \
--cc=konradybcio@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=op-tee@lists.trustedfirmware.org \
--cc=sumit.garg@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox