From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.132.183.28; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0C87A211963F7 for ; Mon, 17 Dec 2018 02:20:35 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 45C13A4046; Mon, 17 Dec 2018 10:20:35 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-46.rdu2.redhat.com [10.10.120.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id B6BFA18BA7; Mon, 17 Dec 2018 10:20:31 +0000 (UTC) To: =?UTF-8?Q?Micha=c5=82_Zegan?= References: <06224fdc-bf72-9c2e-d325-3e8181c3b542@poczta.onet.pl> From: Laszlo Ersek Cc: edk2-devel@lists.01.org, =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Stefan Berger Message-ID: <0ae3fc13-1be2-df00-8358-307da9987054@redhat.com> Date: Mon, 17 Dec 2018 11:20:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <06224fdc-bf72-9c2e-d325-3e8181c3b542@poczta.onet.pl> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 17 Dec 2018 10:20:35 +0000 (UTC) Subject: Re: using tpm on ovmf X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2018 10:20:36 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Hi Michał, (adding Marc-André and Stefan) On 12/16/18 23:59, Michał Zegan wrote: > Hello, > I have ovmf with TPM2_ENABLE and tpm seems to be supported. However, is > it possible to configure it from the ui? No, it isn't. TPM configuration is platform specific. The example driver in SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf which contains visual forms, for the setup UI to display, is just that, an example, that a platform might incorporate and/or customize. The INF file states, "NOTE: This module is only for reference only, each platform should have its own setup page." Please see one of the past discussions in the thread at: http://mid.mail-archive.com/20180223132311.26555-7-marcandre.lureau@redhat.com That patch was dropped (as I requested), and instead, the end result is commit 6cf1880fb5b6 ("OvmfPkg: add customized Tcg2ConfigPei clone", 2018-03-09); the commit message should hopefully describe the configuration method well enough. Regarding PPI (physical presence interface) operations, those are supported through the firmware UI. That is, if you queue a number of TPM ops while the OS runs, and you reboot from within the OS, then the firmware gives you a UI to confirm those TPM ops. Thanks, Laszlo