From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752653AbcDZLal (ORCPT ); Tue, 26 Apr 2016 07:30:41 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:39238 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbcDZLak (ORCPT ); Tue, 26 Apr 2016 07:30:40 -0400 X-IBM-Helo: d03dlp01.boulder.ibm.com X-IBM-MailFrom: stefanb@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org;linux-security-module@vger.kernel.org Subject: Re: [tpmdd-devel] [PATCH v11 0/4] Multi-instance vTPM proxy driver To: Jarkko Sakkinen References: <1461000376-2888-1-git-send-email-stefanb@linux.vnet.ibm.com> <20160422165427.GA24090@intel.com> <20160426092807.GA32066@intel.com> Cc: linux-security-module@vger.kernel.org, tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org From: Stefan Berger Message-ID: <571F5152.7000901@linux.vnet.ibm.com> Date: Tue, 26 Apr 2016 07:30:26 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <20160426092807.GA32066@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16042611-0017-0000-0000-000029873654 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/26/2016 05:28 AM, Jarkko Sakkinen wrote: > On Fri, Apr 22, 2016 at 07:54:27PM +0300, Jarkko Sakkinen wrote: >> On Mon, Apr 18, 2016 at 01:26:12PM -0400, Stefan Berger wrote: >>> The following series of patches implements a multi-instance vTPM >>> proxy driver that can dynamically create TPM 'server' and client device >>> pairs. >>> >>> Using an ioctl on the provided /dev/vtpmx, a client-side vTPM device >>> and a server side file descriptor is created. The file descriptor must >>> be passed to a TPM emulator. The device driver will initialize the >>> emulated TPM using TPM 1.2 or TPM 2 startup commands and it will read >>> the command durations from the device in case of a TPM 1.2. The choice >>> of emulated TPM device (1.2 or 2) must be provided with a flag in >>> the ioctl. >>> >>> The patches are based on the tip of a recent checkout of Jarkko's tree >>> (master branch). >> I've applied this series to my master branch. These patches have been >> baking long enough in my opinion that they could be merged to next and >> therefore find their way into Linux 4.7 >> >> Stefan, I would still require your Tested-by for the first patch before >> merging because it is not as mature as other patches are. > Now I have augmented Tested-by's to relevant patches and added my > Signed-off-by's. I plan to merge this to the next branch tomorrow. Please don't forget Jason's patch for tpm_tis.c that fixes the device used in the devm_request_irq/devm_free_irq calls. The rmmod of tpm_tis only work correctly in interrupt mode when that patch is applied. Stefan