Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp711134imm; Fri, 29 Jun 2018 05:14:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJasYgRjrcWp0KBSDQidhXtE0Mfg9jdxQ9/Re+AVLz54nDRPebqZBARM8MADWwxgnXvNw6E X-Received: by 2002:a17:902:8306:: with SMTP id bd6-v6mr14799085plb.120.1530274473928; Fri, 29 Jun 2018 05:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530274473; cv=none; d=google.com; s=arc-20160816; b=eayA1aFWngZ0ExtTd3ke2smqp9liM4NPB5vgfcMsh3XgVWlBmfNA60HD3GKQ4Sqc5B ZlKDmh3QVzM8tlRyKXFVVMPgEnYGZbnYpJUbQAehgmEE1bNrPzTGBkRS3vgmRux0IoWJ 1uPGrE7tgaFxI+w8AwZSbPEXuK5yk+oHzWWYRBzr6qSHjGsVvShd0GuOlP8xZul3Fl/o Vv9LdUu2B9tSLdaxNfsU3/LHOi5bmtznKwY0IJ+1ftO9HZwnIh8BI9gKVD8O15+omwfA Ccqc0TA1AFtR13dWT4uDJFiPOpsAMIKfi3GOtkgjsIFGrOiLw3/T4JckDok7fvKCkwQB ooXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=cvpNzJQldAfe4IbwU6noiTdrV8/91IEu79Lr8R46m90=; b=W1c6sDem4jMMXHTgqhRDtiwvvmMTjpXleyfqT4bRLiLDPSUmKP+LbtKGcTBBz/ROTT f+mB7CRDLLQ4A3yY4X56KNAVWplIGcF9DfPaYIcfxYXi3hwJGAF1BJiedxowYUx5ZP00 R2+zPca9qpquezXi2f6AdYtANSnjeiK4tpsBVcrUzo7ay4aGTAaJDFFbTtWmUatDp6Ef JN1sZGD2FYOHp5KTmmNZ/uTDzQVvuQ0z3Xe1Al0PAs9FXggvn/cYpeRPzxyfVXjOyTLa LuFnoMEpXAONm3KdHhfKHwCU/lgThkNc7X447afsNyK8/rdDhb2VZvzIH5mlNRTc9jZG viPA== 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 j193-v6si7748615pge.689.2018.06.29.05.14.19; Fri, 29 Jun 2018 05:14:33 -0700 (PDT) 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 S1755400AbeF2MNQ (ORCPT + 99 others); Fri, 29 Jun 2018 08:13:16 -0400 Received: from mga07.intel.com ([134.134.136.100]:45470 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755206AbeF2MNP (ORCPT ); Fri, 29 Jun 2018 08:13:15 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jun 2018 05:13:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,285,1526367600"; d="scan'208";a="67374925" Received: from tmuluk-mobl4.ger.corp.intel.com ([10.249.254.88]) by fmsmga004.fm.intel.com with ESMTP; 29 Jun 2018 05:13:10 -0700 Message-ID: <285d705b92b2f3a9351ac31b2e25ad36cb47204a.camel@linux.intel.com> Subject: Re: [PATCH v7 0/5] Have IMA find and use a tpm_chip until system shutdown From: Jarkko Sakkinen To: Stefan Berger , linux-integrity@vger.kernel.org, zohar@linux.vnet.ibm.com Cc: jgg@ziepe.ca, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Date: Fri, 29 Jun 2018 15:13:09 +0300 In-Reply-To: <20180626190933.2508821-1-stefanb@linux.vnet.ibm.com> References: <20180626190933.2508821-1-stefanb@linux.vnet.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-06-26 at 15:09 -0400, Stefan Berger wrote: > This series of patches converts IMA's usage of the tpm_chip to find a TPM > chip initially and use it until the machine is shut down. To do this we need > to introduce a kref for the tpm_chip that IMA and all other users of a > tpm_chip hold onto until they don't need the TPM chip anymore. All the TPM patches are now in my tree and I just updated also the next branch so they should be soon available also in linux-next. /Jarkko