From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.trustedfirmware.org (lists.trustedfirmware.org [18.214.241.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF3F8F8FA66 for ; Tue, 21 Apr 2026 12:22:48 +0000 (UTC) Received: from lists.trustedfirmware.org (localhost [127.0.0.1]) by lists.trustedfirmware.org (Postfix) with ESMTP id DC6F74490B for ; Tue, 21 Apr 2026 12:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.trustedfirmware.org; s=2024; t=1776774168; bh=FjTWTBKyxU9wnoOFIU6eC+Zsg/ak07chnRRJ6hIxvXc=; h=Date:To:Subject:References:In-Reply-To:CC:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Reply-To:From; b=zHizF8zJvgMQJvYwlRw3y+pZNq2jkMYpUJnV6wzRLklDFl/J37Gb2UkL6AuobHKWt kz4sKxn+cf+qa9CtQknzxe6jgwQwX5s0Hi7QvtbNgScSBWd2buoYEmQ7+HEqNKvxW1 iX+UtLTJiQ7awnLaxoDnfZhvDYPm/js/IPBqa735Utyj9GDDakPq2/r7j19Iu5fQah IBz/y+qhUPT8vrdqVL3AfbjlDlzwC6nu7RI5BCiwBs7eY2ZbTG9cot/bUg03Sj3szJ axDtpR9CTCIXzc0TRck5ckcI03RUsHhj2arM6gNR01XFTwgdbVN4w8S/n+6i4AD+xM xIY3TJP6w57HA== Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by lists.trustedfirmware.org (Postfix) with ESMTPS id 40D0243223 for ; Tue, 21 Apr 2026 12:22:41 +0000 (UTC) Authentication-Results: lists.trustedfirmware.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=pDUCyVwG; dkim-atps=neutral Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 8224A44157; Tue, 21 Apr 2026 12:22:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5106C2BCB0; Tue, 21 Apr 2026 12:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776774160; bh=FjTWTBKyxU9wnoOFIU6eC+Zsg/ak07chnRRJ6hIxvXc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pDUCyVwGb8ya/GZDqDieIScgOVrPOl3I/FJS9ccMew51Xp1PwcmYEtedShhwnrxmc RCa1sJsDGPFZz7l6xh8HYRvZ9j5G0bWWeLPo1qSM5vCkcLDW5wJx2OyFKcOZhGoLOI YwnWftevNO1eAx5/cWBBv5WlkJhG/5+YfhdJ7vYHIkPT3IgE3VLw8p3NofnqsNgFtH RYEOsuva6FlMuZC1XmZz9dmSpii3t/okBhMPqO1l7pjE1ED/sH7WZTsW/w8Cyns2AW HTHIQlNviNnES+NmZ/S8HynmnxRzzgDyzjO6jdJPH1Z83lN19f1bjFMnu8aORK25oM Z2/yYBPfJux+A== Date: Tue, 21 Apr 2026 17:52:22 +0530 To: Bjorn Andersson Subject: Re: [PATCH v3 00/15] firmware: qcom: Add OP-TEE PAS service support Message-ID: References: <20260327131043.627120-1-sumit.garg@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Action: no action X-Spamd-Result: default: False [-2.00 / 15.00]; BAYES_HAM(-3.00)[99.99%]; SUSPICIOUS_RECIPS(1.50)[]; DMARC_POLICY_ALLOW(-0.50)[kernel.org,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:172.234.252.31]; R_DKIM_ALLOW(-0.20)[kernel.org:s=k20201202]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[kernel.org:+]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.freedesktop.org,lists.infradead.org,kernel.org,oss.qualcomm.com,poorly.run,linux.dev,gmail.com,somainline.org,ffwll.ch,lunn.ch,davemloft.net,google.com,redhat.com,linaro.org,qti.qualcomm.com,lists.trustedfirmware.org]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[dt,netdev]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DNSWL_BLOCKED(0.00)[172.234.252.31:from]; ALIAS_RESOLVED(0.00)[]; RCPT_COUNT_GT_50(0.00)[50]; DWL_DNSWL_BLOCKED(0.00)[kernel.org:dkim]; NEURAL_HAM(-0.00)[-1.000]; TO_DN_SOME(0.00)[] X-Rspamd-Server: lists.trustedfirmware.org X-Rspamd-Queue-Id: 40D0243223 X-Spamd-Bar: - Message-ID-Hash: QWH6CSUKR2JPCIOL2Q6FWGCZVR36C4XA X-Message-ID-Hash: QWH6CSUKR2JPCIOL2Q6FWGCZVR36C4XA X-MailFrom: sumit.garg@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-op-tee.lists.trustedfirmware.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, ath12k@lists.infradead.org, linux-remoteproc@vger.kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, robin.clark@oss.qualcomm.com, sean@poorly.run, akhilpo@oss.qualcomm.com, lumag@kernel.org, abhinav.kumar@linux.dev, jesszhan0024@gmail.com, marijn.suijten@somainline.org, airlied@gmail.com, simona@ffwll.ch, vikash.garodia@oss.qualcomm.com, dikshita.agarwal@oss.qualcomm.com, bod@kernel.org, mchehab@kernel.org, elder@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, jjohnson@kernel.org, mathieu.poirier@linaro.org, trilokkumar.soni@oss.qualcomm.com, mukesh.ojha@oss.qualcomm.com, pavan.kondeti@oss.qualcomm.com, jorge.ramirez@oss.qualcomm.com, tonyh@qti.qualcomm.com, vignesh. viswanathan@oss.qualcomm.com, srinivas.kandagatla@oss.qualcomm.com, amirreza.zarrabi@oss.qualcomm.com, op-tee@lists.trustedfirmware.org, apurupa@qti.qualcomm.com, skare@qti.qualcomm.com, harshal.dev@oss.qualcomm.com, linux-kernel@vger.kernel.org, Sumit Garg X-Mailman-Version: 3.3.5 Precedence: list List-Id: Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Sumit Garg via OP-TEE Reply-To: Sumit Garg On Tue, Apr 07, 2026 at 10:24:44AM +0530, Sumit Garg wrote: > Hi Bjorn, > > On Mon, Apr 06, 2026 at 10:09:27AM -0500, Bjorn Andersson wrote: > > On Fri, Mar 27, 2026 at 06:40:28PM +0530, Sumit Garg wrote: > > > From: Sumit Garg > > > > > > Qcom platforms has the legacy of using non-standard SCM calls > > > splintered over the various kernel drivers. These SCM calls aren't > > > compliant with the standard SMC calling conventions which is a > > > prerequisite to enable migration to the FF-A specifications from Arm. > > > > > > > Please get our colleagues involved in this discussion, because this > > non-SCM interface does not match the direction we are taking. > > I thought I have already involved folks from QTEE perspective (Apurupa > and Sree) actively working on FF-A implementation aligned to this > interface. It would have been better if you could let me know where is > the direction mismatch here. In case there is a better alternative > design proposal for PAS service with FF-A, I would be happy to hear > that. > > Anyhow for the legacy SoCs like KLMT, we really don't have any > alternative but have to stick to existing QTEE PAS design with OP-TEE > providing as an alternative backend. Surely we want to support loading > of existing signed firmware present in linux-firmware repo for KLMT with > OP-TEE being the TZ. After further offline internal Qcom discussions, the teams are aligned on the vision to use and extend generic Qcom PAS layer for all the TZ backends whether it's legacy SCM backend based on QTEE, OP-TEE backend as proposed by this patch-set or future object invoke (based on SMCInvoke) for QTEE. I hope with that we can progress to get this patch-set merged in next merge window. I will send v4 shortly after merge window closes to address misc. comments from Harshal on patch 04/15. -Sumit