From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6ED3F35E54D for ; Fri, 16 Jan 2026 10:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768558019; cv=none; b=Ec2RN8S8Dpk0+jsj9Y59zMv3HxUtIuGyJNMRCq79FdbWHslDsHUGwPGaqdk0JemczB8GiCdZQgb/oZNQpMvpAr7HXHKwhajGZLHY3M3DklwF55nek5ZVgP+emSPttE6par/iLUD4EyCSCmNQYwlgh9x3b9nYqpgejRr3QYsFmJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768558019; c=relaxed/simple; bh=LHbK9QjBXePfKKnVZnTRCPaR19G/K6FAbaEB3w8HFbA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VOtPcKAQrOSQHOONhhr72GuZuFTnLGOfGVzq8twt0pVlb0OjzcgK1M1XsAmH+RBkfWby/ulCUgN3GiGss0r+0KVPF5OHEzcBKNZi8I7pEK1KrmIoSWJQIo9M4WZ9UYuXPeKPH3NKR78YjsV+Jj+tXWtTqd37yRUgS68lV0j+8Pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ToMto2U4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ToMto2U4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0BD9C116C6; Fri, 16 Jan 2026 10:06:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768558019; bh=LHbK9QjBXePfKKnVZnTRCPaR19G/K6FAbaEB3w8HFbA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ToMto2U4347WHrBDD1IlokVELfBUbvcMtXdwsaYpkIq1iyMfS7pGQcIlSbRYbz0PB 2AI8WSjRh52OFYbrAlt9Sz7liTuY69PbNxSuIGqeOh+/afrrpgizAJq8uHf4psIqhg qX2M/g3wgZfn6qMzE0EQDRl+ryVyi92kSZ4S6oJipPvNrNCaO3J/m4m2VWUvq41e8O X3/i6FqiOo0phYpz5m4q4IWLGeAp5yKbuo6DG0rO+laAOm2+KuYRqTjYlWg5oiQFBi i2McBf55MwqSiI6mP3X7ralBiKWvy6jayvsRgtTqGvgIpAOp1xiTA7xgr9v3ChhJvd Xdep4C/eW7zMQ== Date: Fri, 16 Jan 2026 15:36:50 +0530 From: Sumit Garg To: Harshal Dev Cc: Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , Jens Wiklander , Amirreza Zarrabi , Arnd Bergmann , Geert Uytterhoeven , op-tee@lists.trustedfirmware.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] arm64: defconfig: Enable QCOMTEE module for QTEE-enabled Qualcomm SoCs Message-ID: References: <20260114-qcom_qcomtee_defconfig-v4-1-ec676311171f@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260114-qcom_qcomtee_defconfig-v4-1-ec676311171f@oss.qualcomm.com> On Wed, Jan 14, 2026 at 01:49:14PM +0530, Harshal Dev wrote: > All Qualcomm SoCs starting from SM8650 provide access to the Qualcomm > Trusted Execution Environment (QTEE) through the SMCInvoke interface, > implemented by the QCOMTEE driver. QTEE runs in the Secure World domain > on ARM64 CPUs and exposes secure services to Linux running in the Normal > World domain. > > This change enables the QCOMTEE driver as a module to support > communication with QTEE. > > QCOMTEE has been tested on a Qualcomm RB3Gen2 board by loading and > executing a Trusted Application via tests hosted at > github.com/qualcomm/minkipc. > > Signed-off-by: Harshal Dev > --- > Changes in v4: > - Updated the commit message as per discussion to clarify the following: > - Why we are enabling QCOMTEE for all arm64 boards. > - From which Qualcomm SoC onwards the driver is applicable. > - What functionality the driver provides. > - How the functionality has been tested and on which board. > - Link to v3: https://lore.kernel.org/r/20251208-qcom_qcomtee_defconfig-v3-1-b50dcf8ab45e@oss.qualcomm.com Reviewed-by: Sumit Garg -Sumit > > 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 > > Changes in v2: > - Updated CONFIG_QCOMTEE flag to 'm' since QCOMTEE can be built as a module. > - Link to v1: https://lore.kernel.org/r/20251202-qcom_qcomtee_defconfig-v1-1-11bfe40a8ea4@oss.qualcomm.com > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index cdb7d69e3b24..e952d24bef77 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -1789,6 +1789,7 @@ CONFIG_FPGA_MGR_ZYNQMP_FPGA=m > CONFIG_FPGA_MGR_VERSAL_FPGA=m > CONFIG_TEE=y > CONFIG_OPTEE=y > +CONFIG_QCOMTEE=m > CONFIG_MUX_GPIO=m > CONFIG_MUX_MMIO=y > CONFIG_SLIMBUS=m > > --- > base-commit: 47b7b5e32bb7264b51b89186043e1ada4090b558 > change-id: 20251202-qcom_qcomtee_defconfig-8dc0fed1411b > > Best regards, > -- > Harshal Dev >