Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp8541imj; Fri, 8 Feb 2019 13:53:57 -0800 (PST) X-Google-Smtp-Source: AHgI3IZYa2fno+JCWKi846DhVQ8ADtP93iPIcIJVGyZaeqKfdIu9QEd/RODCz+ZOCcz0oWqMZvSV X-Received: by 2002:a63:2a95:: with SMTP id q143mr12134015pgq.322.1549662837868; Fri, 08 Feb 2019 13:53:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549662837; cv=none; d=google.com; s=arc-20160816; b=pEoH7ZD6ssp/IbPUI25/3eO4lDuZrsrki5DDlNgk/fec9oL1FM9GAoOHuVseZPxMK9 bR5/cFVQLCIrbX+UtKcZTGEXL8NC0ieuKiXwZ/aKHQAqpzpO4zVMlgGvsvpBQceZoJKf wCSQWUJm2/kNmKWsVsOI6rXSzxs2VwilK61zdb89kllT++04fBSKGWL5LlPsXc26ecIw EYx1p2CS5eivRjHmBKnotYOzoOPSlcOKKtvCl5fqighj+5mmZOb7iaEXMsJZOcoYIb8k kM4O1O5T+mQ+bORsb+J4EGuVkCuCiF4tcGi+Xufrgl5UQRJKRrDNCeLiLADySEqXR0Tv 4WIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LHF5ok6RZ/hDzge0jRNQdMYCHVB6KXFT3V9bKVRClSw=; b=taLTQHJGwlJy/bxSOJsNlQ5+AtLuwqMvoIMaM6WNTcoo73vM6KOZH/pogAj0rXO/Yg AJ8zDCn56JgjTDGlwIfvBlhXNdcIg11vfzJXaHVp+QFQylFpKEyl1/tSgokAKEgPhF1a nUH+thww0ycXZNkVYqmmwyQHnSW3y3wQwmvgwy4s/bGNPaS1Fq6ZplehTWoJTtemkqLf YPMrBI1hkh9X4qpumVG9d4OuZuh+gx0Ii7JOZfr6eF7yDocSwC5grq2sp0PALg2rKqjX Mk0d6ar5RILpCWn2xm2mVbwf555+um9DRPdZnl424aXGvAUvXnJiYwBx4rj1JCWhAFAu JQaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si3224073plm.187.2019.02.08.13.53.41; Fri, 08 Feb 2019 13:53:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727037AbfBHVvR (ORCPT + 99 others); Fri, 8 Feb 2019 16:51:17 -0500 Received: from mga17.intel.com ([192.55.52.151]:42767 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbfBHVvR (ORCPT ); Fri, 8 Feb 2019 16:51:17 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Feb 2019 13:51:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,348,1544515200"; d="scan'208";a="318812715" Received: from mwesterb-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.254.154]) by fmsmga005.fm.intel.com with ESMTP; 08 Feb 2019 13:51:12 -0800 Date: Fri, 8 Feb 2019 23:51:10 +0200 From: Jarkko Sakkinen To: Stefan Berger Cc: linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Peter Huewe , Jason Gunthorpe , Stefan Berger , Alexander Steffen , stable@vger.kernel.org Subject: Re: [PATCH v4 1/2] tpm: =?iso-8859-1?Q?Uni?= =?iso-8859-1?Q?fy_the_send_callback_behaviour=E4?= Message-ID: <20190208215110.GA13567@linux.intel.com> References: <20190208180857.12330-1-jarkko.sakkinen@linux.intel.com> <20190208180857.12330-2-jarkko.sakkinen@linux.intel.com> <4072b2b6-0f95-be50-0772-7e2869c2c24e@linux.ibm.com> <20190208190057.GA3439@linux.intel.com> <20190208191710.GA30645@linux.intel.com> <6a86e3e8-e311-7a0f-585d-3f0435b0143a@linux.ibm.com> <20190208202353.GB1836@linux.intel.com> <36dc691e-4f00-7f6b-5a53-763c12d4fa16@linux.ibm.com> <20190208204635.GA24938@linux.intel.com> <32faca9e-5099-4ff5-6fe7-5e6e840b109b@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32faca9e-5099-4ff5-6fe7-5e6e840b109b@linux.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 08, 2019 at 04:18:40PM -0500, Stefan Berger wrote: > On 2/8/19 3:46 PM, Jarkko Sakkinen wrote: > > On Fri, Feb 08, 2019 at 03:32:32PM -0500, Stefan Berger wrote: > > > > > > tpm_del_char_device also needs the start/stop! > > Done and updated the commit message to have all the call sites: > > > > * tpm_chip_register() > > * tpm_class_shutdown() > > * tpm_del_char_device() > > * tpm_pm_suspend() > > * tpm_try_get_ops() and tpm_put_ops() > > * tpm2_del_space() > > > I tested this now with tpm_vtpm_proxy, TPM 1.2, (TIS|CRB) + TPM 2.0. Looks > good now - rock solid so to say. And while we are at it ... :-) Thank you for your support. I don't think these quite distruptive changes would have made in without any growing pains. The way tpm_transmit() used to be had become quite a mess with all the nested calls and weird locking flags. Now we have a good baseline to forward :-) I rebased the branches to the latest security/next-general. Probably do the PR after the middle week (ETA Thu). /Jarkko