Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2167557ybe; Tue, 3 Sep 2019 08:55:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKVb4rc8gxMdiaPZjoXaVgW0E/O+cUIqiE4h+sMFmCykwZ4mst9xliUHwyxxvdNN5NEmq0 X-Received: by 2002:a63:5048:: with SMTP id q8mr30452985pgl.446.1567526112866; Tue, 03 Sep 2019 08:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567526112; cv=none; d=google.com; s=arc-20160816; b=RSzEV7mRcFYLQSSRgejqjC/JDgFL3hoZFSu8JGI5Or4E/CfblbbF6apt5UHoEkVAQU 1+BbbVK93Z/AttbtwV1kOWLPCMqlXj3F4SE6lpKUQ2eGdqYnW9uwXCqj3SCwW+FASyOp lDmQOoTDq5RbBFJz7uBhQrJXP9uVRV6PEBV69Z+5tb+SX/KBA9BmbU8RyVII6hAv8xOa pvuSX7cyv3K3VekIGCKwL6ql9tiJJEqgDCR6kUynlA6kxe2xY/ysxuhHUc6GPDfrC5ZN b/gUgT5aObybiH+Pes+BoOEwpUFUN+q/4EVTwdW9U/1z8iRSj1juYg3rGN31CFNWbgwI +X0Q== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=HMMmj0/3+Ake4Fm99Y05/z2FDlStqF7TMYH4IZytAZ8=; b=ylIfskJh6O+5Lo/aL3czlKvljthwQT7HQfie42YNDgsnWG22gstS6Ob6e3ic4DaCAK pcirRywzTyA2xzJClMFj2Rho5DzwPlDXhNk+Az+D8L/kbhneBrUTl+LzxNSeucHd+Fat IRB5YIJ81sXccin1jDiVQxTWmorjEoLhtpdKGSSXX6rklZiZcdmg5L4D0M61ER/APFzM ihVCKAw4LygZfN6zCWFTOxRwyaTDC6YTGRG5gAz8UozWCFTmqLRwHsgfLSreq+YWzeVz zhYnJHrwUkMi5tAS7hW+ScFtsqehaEb0HtqZv48GToUIX+UK895WmnagcM7T7ueopDe5 hxeQ== 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 p123si14695791pga.12.2019.09.03.08.54.57; Tue, 03 Sep 2019 08:55:12 -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 S1729709AbfICPx0 (ORCPT + 99 others); Tue, 3 Sep 2019 11:53:26 -0400 Received: from mga14.intel.com ([192.55.52.115]:25926 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729053AbfICPx0 (ORCPT ); Tue, 3 Sep 2019 11:53:26 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Sep 2019 08:53:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,463,1559545200"; d="scan'208";a="182169421" Received: from vkuppusa-mobl2.ger.corp.intel.com ([10.252.39.67]) by fmsmga008.fm.intel.com with ESMTP; 03 Sep 2019 08:53:23 -0700 Message-ID: <3e7265a4f11ca0f822633cf961466253e3661373.camel@linux.intel.com> Subject: Re: [PATCH v4 2/3] tpm: provide a way to override the chip returned durations From: Jarkko Sakkinen To: Jerry Snitselaar , linux-integrity@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Alexey Klimov , Peter Huewe , Jason Gunthorpe Date: Tue, 03 Sep 2019 18:53:18 +0300 In-Reply-To: <20190902142735.6280-3-jsnitsel@redhat.com> References: <20190902142735.6280-1-jsnitsel@redhat.com> <20190902142735.6280-3-jsnitsel@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.2-1 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 Mon, 2019-09-02 at 07:27 -0700, Jerry Snitselaar wrote: > Patch adds method ->update_durations to override returned > durations in case TPM chip misbehaves for TPM 1.2 drivers. > > Cc: Peter Huewe > Cc: Jason Gunthorpe > Signed-off-by: Alexey Klimov > Signed-off-by: Jerry Snitselaar > Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen (!update_durations path) /Jarkko