lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <05581cbd-dfcc-41ac-9020-b1590b8ed7a8@oss.qualcomm.com>
Date: Wed, 10 Dec 2025 14:35:19 +0530
From: Harshal Dev <harshal.dev@....qualcomm.com>
To: Bjorn Andersson <bjorn.andersson@....qualcomm.com>,
        Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
        Konrad Dybcio <konradybcio@...nel.org>,
        Sumit Garg <sumit.garg@...nel.org>,
        Jens Wiklander <jens.wiklander@...aro.org>,
        Amirreza Zarrabi <amirreza.zarrabi@....qualcomm.com>,
        Arnd Bergmann <arnd@...db.de>,
        Geert Uytterhoeven <geert+renesas@...der.be>,
        op-tee@...ts.trustedfirmware.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] arm64: defconfig: Enable QCOMTEE on Qualcomm SM8650+

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@....qualcomm.com> wrote:
>> On Tue, 9 Dec 2025 at 07:58, Krzysztof Kozlowski <krzk@...nel.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@....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?

> 
> PS. When you then run "git log arch/arm64/config/defconfig", the
> information that enabling QCOMTEE doesn't require DeviceTree changes
> is not useful.
> 

Sure, I will drop the info on DTS files I added in the commit message.

Thanks,
Harshal

> Regards,
> Bjorn
> 
>>>
>>> Usage of something on SoC is not a proof that it actually is used by
>>> upstream platforms and we absolutely do not care at all about downstream
>>> users. I spent way too much time on this and even very specific
>>> instructions were not working, so I don't know how else I can help.
>>>
>>> Best regards,
>>> Krzysztof
>>
>>
>>
>> --
>> With best wishes
>> Dmitry


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ