From owner-svn-src-head@freebsd.org Sat Dec 15 02:49:18 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D26F1330402; Sat, 15 Dec 2018 02:49:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8625C8027B; Sat, 15 Dec 2018 02:49:17 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id wBF2n8Bh051253 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 15 Dec 2018 04:49:11 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua wBF2n8Bh051253 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id wBF2n8Pn051252; Sat, 15 Dec 2018 04:49:08 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 15 Dec 2018 04:49:08 +0200 From: Konstantin Belousov To: Marcin Wojtas Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r342084 - in head/sys: conf dev/tpm Message-ID: <20181215024908.GV60291@kib.kiev.ua> References: <201812141614.wBEGEaFO048433@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201812141614.wBEGEaFO048433@repo.freebsd.org> User-Agent: Mutt/1.11.1 (2018-12-01) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2018 02:49:18 -0000 On Fri, Dec 14, 2018 at 04:14:36PM +0000, Marcin Wojtas wrote: > Author: mw > Date: Fri Dec 14 16:14:36 2018 > New Revision: 342084 > URL: https://svnweb.freebsd.org/changeset/base/342084 > > Log: > Introduce driver for TPM 2.0 in CRB and FIFO (TIS) modes > > It was written basing on: > TCG PC Client Platform TPM Profile (PTP) Specification Version 22, Revision 1.03. > It only supports Locality 0. Interrupts are only supported in FIFO mode. > > The driver in FIFO mode was tested on x86 with Infineon SLB9665 discrete TPM chip. > Driver in both modes was also tested on qemu with swtpm running on host. > > Submitted by: Kornel Duleba > Obtained from: Semihalf > Sponsored by: Stormshield > Differential Revision: https://reviews.freebsd.org/D18048 > > Added: > head/sys/dev/tpm/tpm20.c (contents, props changed) > head/sys/dev/tpm/tpm20.h (contents, props changed) > head/sys/dev/tpm/tpm_crb.c (contents, props changed) > head/sys/dev/tpm/tpm_tis.c (contents, props changed) > Modified: > head/sys/conf/files.amd64 Don't you need to update sys/modules/tpm/Makefile ?