From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74B063191A8 for ; Fri, 5 Dec 2025 10:58:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764932338; cv=none; b=G2pDZvlZodM0RXfSRftc5fnlGr/ajqR23rvFLbytGXZ1lyQEdqgtabhxsZMmfNH2sCStE/2jkoyd4Q0ZoP+Zd54x4riu26Q84o/f/zs2pClhZftpr333bvjwttm/B7F88iHN527AcExi3grw+6WBPg98v7BaB15sJy3YPq+cy18= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764932338; c=relaxed/simple; bh=pY6THgycL0eTn3YQcbOaAEiqGwgOxdn3wlc8Fhj2ZbA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RFWCfNYyYmdHocrmd/2ekEu5a3xzpqgO2RH/sQm75EIkDeqsst6Gj2+KSIS/qXIN8ZeMgk9nHiDNEhC4zt871L8E8hsJYQzwvo2jCyUmpw74qnwXfTUlbe/xI7txa3KJx5Ygj6Di00c8WohP1jhG5ijgvjtZtyI1z/gDoILcCAI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=phECR+PX; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Z4wZO1Pl; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="phECR+PX"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Z4wZO1Pl" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5B5AOTM0067664 for ; Fri, 5 Dec 2025 10:58:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= S1SI4s4kqnl0k6qvZRRGMN/zOHoHkpu5Ta0sLRhAlmU=; b=phECR+PXeCTMC2HZ D0gq3hIq+2e/I+amKaoKid+7vZjb2Jl1BU6dIAmfmAY3AjzkJu7Y2fpWZSrRDZb5 zib5EAD0562Nf6LML/usSI+D/0p5nWaMTtb4W76KU1/Puj99mt8gogJ099UzAYeD k2CjU2QZC1+FabR7xspG40RajYDyTcsviZUQqplI4eiXF4JufOG4JPDKqgVj5m8h NIm7bUE548p3/xbuBEhn295b0dK1+C0Ln8/cu0zojWkWk8YQLrQ/b01xOdMHD06i CGxWF+u7QnQw+AQWR1qhpUjScu8SJE5q2jeIrqQoNWa3pDnYOxLvqT9SZkccgxRa Qm06iA== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4auwm4g2y9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 05 Dec 2025 10:58:48 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-295592eb5dbso35385365ad.0 for ; Fri, 05 Dec 2025 02:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1764932328; x=1765537128; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=S1SI4s4kqnl0k6qvZRRGMN/zOHoHkpu5Ta0sLRhAlmU=; b=Z4wZO1Pll3hIHXpOPw2VnB6wGZKQ8YDVOan4y0+55WJMu3x8iKzVnrcdqhC/4/qjpT LU0Ihx299DPzv05DuBoCCIO6Z195anzO0RJAwxs0cdfDgT1JqenjB0HRIjSSyuIRo1vB KR1hB6zs14KXa+/xmOI/nLiX1OVg8Vknynjxr66StDbK6LKHOFgqpHCcVtvvez0hB270 zuhwGb0mL7Wmd+qR8lD2AGGa2WC7CjGvWedM5SZN3D6TSiFqIKhGKmGXgV5TZj0Gvx/3 PAxdHjx5Z9/BfF7RxvEBSeQzHP06JQ8odttuPiLTspGs5M3jdPAKOhewua8CO6vxwsyv KwQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764932328; x=1765537128; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S1SI4s4kqnl0k6qvZRRGMN/zOHoHkpu5Ta0sLRhAlmU=; b=jw/xjLO38ApYA2J6UNJoE9x7WY3/7glYSJeInwnDbGHjYUWfuuxcG5xkEoGPm5Sgtw rup5jkKu77fXf3ksCNJckXRWPAJyHYAoo7lwy5R36FrgmRn+mQR7mV7pZoZoBeFqUjyq 0BHpUmyrVA0BiAKcBRDcLNmC0y0YhSyStgfPoEsxl2GDakyZjzbYb+qRdZUIzxBWCS0g XXBC2UowLrFVoEYq9EBDPmm6AMYFi9gl3e0OUokpqKW/4GEqL5uZphLddjPz6RBq/Nre /+1r3P+KOUQ0nTHbrIWnD7y6dRY8bHz1xplmRvWTvOlZyYw89UoQdPfJonDHfnXyFBuN SC1A== X-Forwarded-Encrypted: i=1; AJvYcCV0fu301y+JypmbfXNko064JnMwqEXKXhwJvUZG7KtwWAd3nGqYDmhWs8wChS2xigg0+mX8fqJavnvQo9k=@vger.kernel.org X-Gm-Message-State: AOJu0YxvxES8WKb3g/hIRQZR++vf+A7Smio1uTbc7p/29aDJrh6HU7Cl Q3n1OSH5iF/7WHsPfYEaqk/THf4K320oWzE2gvtqCIlaMnuH5iqF9ZwvQfTuyymyjFolN8ipE7M 8k3WaRV5LNuEOYBWhyKAVYh/nBBsds21UYKHAd2HF+wj4bOa8kWmk5ciWczb5wAHN/Do= X-Gm-Gg: ASbGnctgiLi7UhyZQ3qfy5NuHXCVcb8BerMLMDnlOUVlx3pUtc/Jx/KrkBr0vFou9nD fkuSruw0hark6Cc7zRmhlaiCWfGT0s5sANWdZyCniKQK1vOhk/kFcWvPxhdXD01CF8cr21RAqzB 3y7dlTdeLyD2n3pgNnpklMXHvgKoTtaK6/Gfsi56B04WJs+Pt8uoIAL3Sq/QozNKfrKjG8OB56Y DxfktLZkxLUj7w/vMTJEx4cg8VG5xYzPYtMEbuqAby3g+cDS/IwjmX0CG5VSETCvQBMzBd2JGfx 3IyHfw7hDkGnm6JAlamCKsgxKsSh3/0Vt87++PrmdvHdtjcF+QbzyXRJt8HDczxvMeT1eH9KcWt wAZwIz/msm8h4SwM3NxpIhdpafz/695ne6Hb2li21 X-Received: by 2002:a17:902:e943:b0:296:5ea8:ed7c with SMTP id d9443c01a7336-29d68344bf3mr126376835ad.17.1764932327880; Fri, 05 Dec 2025 02:58:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEscoDWclD8lcxMMNh7A/c7X/KtKpWkerV+xIpxhaA4ymnMM2YdlNqmZ4xvWJKiTSP5tYLZ3Q== X-Received: by 2002:a17:902:e943:b0:296:5ea8:ed7c with SMTP id d9443c01a7336-29d68344bf3mr126376565ad.17.1764932327428; Fri, 05 Dec 2025 02:58:47 -0800 (PST) Received: from [192.168.29.116] ([49.37.148.233]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29dae99f01csm45113855ad.48.2025.12.05.02.58.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Dec 2025 02:58:47 -0800 (PST) Message-ID: <4d4a6614-9460-48b4-8e6a-77d3395abfbf@oss.qualcomm.com> Date: Fri, 5 Dec 2025 16:28:42 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] arm64: defconfig: Enable QCOMTEE for Qualcomm SoCs To: Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , Sumit Garg , Jens Wiklander Cc: Amirreza Zarrabi , Arnd Bergmann , Geert Uytterhoeven , op-tee@lists.trustedfirmware.org, linux-kernel@vger.kernel.org References: <20251205-qcom_qcomtee_defconfig-v2-1-c92560b0346e@qti.qualcomm.com> <7ffb61c8-465c-40f1-b794-4f573c8f96ec@kernel.org> Content-Language: en-US From: Harshal Dev In-Reply-To: <7ffb61c8-465c-40f1-b794-4f573c8f96ec@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=T92BjvKQ c=1 sm=1 tr=0 ts=6932bae8 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=v+kbWGyw1T97G6+vs1uYIQ==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=KKAkSRfTAAAA:8 a=rSDoVwiHfUr7tCrRsAgA:9 a=QEXdDO2ut3YA:10 a=324X-CrmTo6CU4MGRt3R:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: 42SB-iUbjNNJb0E-Nu5LF2AiHA-1Rniu X-Proofpoint-ORIG-GUID: 42SB-iUbjNNJb0E-Nu5LF2AiHA-1Rniu X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjA1MDA4MCBTYWx0ZWRfX/DfOFWTyGlLx MZhBcX2MwOMpg5JZ2+SbGGjKxttLqlLNZRQS6pAgiW0uc6/CMGbf6gYMRKhSxf/xk44PRI1OjX/ 5UfNyKg5+FyzdibVg0XCsc/Ywq+2cGHCMLpZPCmpiMV0osH/ApkYpf8l8ZlfW61aL3tMsKKx2J8 /SFdpcdFbwxAQJARmZQxvZhIJEVOUY+t8hJQigPTQHnHqU3xTjwZ0xfFOF/Rn0D5RcbiTgwtXAl YxgxZsDmsLL4XzEx+4PLxgoJFtZhdTPEtI7YylgU8o7BAxpuHtWsmVp0jsp4Bd5Pjv3MBpDQ2FV 2OJtYeieIwEc1/NPSIssL2xOQUew4VpNHYW34//xm7lBB6AeBUinmQtryDPZk/Q54CsmPoXRY9x Fmj4z9e9xXHLIP55QWE/ShaimsbQlw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-05_04,2025-12-04_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 spamscore=0 bulkscore=0 impostorscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512050080 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@oss.qualcomm.com/ 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@linaro.org/ 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