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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 90F6AC001DC for ; Mon, 31 Jul 2023 15:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jMhUC4oR4KI7RpZcYYaairhhGhjNB8sRaMWtw2TTfZg=; b=1Bkj0X9lYoJmsB AHc2rvivjVlX5Ju5wXd6s/2KeaYXAC77ElMFhp1GIitTn5sVTPyo3nOdfVM0MnfoOBBSdXgTvikTG F9XH2pnjjjvuhHCzSHrGjhcCvCVsWO22PCcL4UkGdbkkRrHwP0tKs7gjGrhk0CDJlUTAUvLww3/WQ bXm2Q79rUoCcl3qd/WwzBgsmY8DPW/w1I91J/II3SkobY6zpaa8yLWmsoi4jpvyXqV5cmVrFwjx8m glWE6w8DnTbBLVTSEIOa2DrvX2iYmzgBJQA1lmyc2w/RRuDQYuNWCJe5WH49xBU4fOdxQJfEsdCq6 tNRaWvs2LSXmL726SeVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQUSk-00GFLX-1Q; Mon, 31 Jul 2023 15:05:34 +0000 Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qQUSX-00GFIi-2e; Mon, 31 Jul 2023 15:05:21 +0000 Message-ID: Date: Mon, 31 Jul 2023 08:05:18 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v7 3/5] efi: Add tee-based EFI variable driver Content-Language: en-US To: Masahisa Kojima , Ard Biesheuvel , Jens Wiklander , Jan Kiszka , Sumit Garg , linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org Cc: Ilias Apalodimas , Johan Hovold , Maxime Coquelin , Alexandre Torgue , linux-efi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org References: <20230731065041.1447-1-masahisa.kojima@linaro.org> <20230731065041.1447-4-masahisa.kojima@linaro.org> From: Randy Dunlap In-Reply-To: <20230731065041.1447-4-masahisa.kojima@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7/30/23 23:50, Masahisa Kojima wrote: > diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig > index 043ca31c114e..aa38089d1e4a 100644 > --- a/drivers/firmware/efi/Kconfig > +++ b/drivers/firmware/efi/Kconfig > @@ -287,3 +287,18 @@ config UEFI_CPER_X86 > bool > depends on UEFI_CPER && X86 > default y > + > +config TEE_STMM_EFI > + tristate "TEE based EFI runtime variable service driver" TEE-based > + depends on EFI && OPTEE && !EFI_VARS_PSTORE > + help > + Select this config option if TEE is compiled to include StandAloneMM > + as a separate secure partition it has the ability to check and store partition. It has the ability > + EFI variables on an RPMB or any other non-volatile medium used by > + StandAloneMM. > + > + Enabling this will change the EFI runtime services from the firmware > + provided functions to TEE calls. > + > + To compile this driver as a module, choose M here: the module > + will be called tee_stmm_efi. -- ~Randy _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel