Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp14868imm; Fri, 19 Oct 2018 16:24:49 -0700 (PDT) X-Google-Smtp-Source: ACcGV60PwjpLd94G3IIaVC8BfNFAYMOaAu5qXtzRV0FC4f/GmhbvV615Ybf+HIFSSmkmvahialK4 X-Received: by 2002:a17:902:bc44:: with SMTP id t4-v6mr5180826plz.300.1539991488994; Fri, 19 Oct 2018 16:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539991488; cv=none; d=google.com; s=arc-20160816; b=NpK8OlGmcY+JRAZhsnWLvXbP1B7RfyWSi4GJHKExG+xD3tpEYl3Inub4+QkXmMh8tC vx/swwZwJuBIVQwXKDdLCfhh2bmldlfZdALBcvlujoeRLhUEUXRDfFZb+evvdpJPBFq/ 73bh5+T1Qu/fi2pfwcJ6PBhTJBEexmPMzLzJE4+y2t29fLWeJRS6g5sJ2DGuZWN3C0QX YR5WM04aoUwkn7b+GRoAJjbZSqakzRJUGqDx/R4a9oQAstJ61F6M7wezMwxtcmtB/MLn Rbjx2WQImA3uODc5+nhlq5Nvhe/0m5amVQMs/mo0PFCfwhjlx7fwTvha88cbYPxdzawy TUcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=+2up1dNXC6AYKJASKTb1WUG58KCM8wDnKVpzpUHdNFQ=; b=xjh2Vlhr8JQKKLgH6z7kEZ72d7iilCVro3vcNTegqTc8VREmfyFtHkXN8VDnyge54i m34lO1pjKdskdFD9BD0wchTLIYKV0EG/04TwgKj7UnW7udo3BLIOltsqf42iTgg7myYd HJFiKOG/ewDBbESMlzqL/pxHkcsI1AAnvqgquC9RH/IsUQCoZPhORDLu9y1YVjRUQIMm /pUFhhxLV3ICktnJEF43q8qsBd3kC1ukiUGbys5ALTeiPYKAkEwhi98fSXms/rC5bucz HViTeZ8eNcLDr64FQ//d/DkCD0flPWVJS5uf9YWNva9xPknwe3Ho1P3qXrbTHiwIG0z5 +yFA== 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 b6-v6si23466419pgq.495.2018.10.19.16.24.32; Fri, 19 Oct 2018 16:24:48 -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 S1726845AbeJTHcU (ORCPT + 99 others); Sat, 20 Oct 2018 03:32:20 -0400 Received: from mga02.intel.com ([134.134.136.20]:65508 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726313AbeJTHcU (ORCPT ); Sat, 20 Oct 2018 03:32:20 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Oct 2018 16:24:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,401,1534834800"; d="scan'208";a="272848881" Received: from kskibin-mobl.ger.corp.intel.com ([10.249.254.29]) by fmsmga005.fm.intel.com with ESMTP; 19 Oct 2018 16:24:08 -0700 Date: Sat, 20 Oct 2018 02:24:07 +0300 (EEST) From: Jarkko Sakkinen X-X-Sender: jsakkine@jsakkine-mobl1 To: Tomas Winkler cc: Jarkko Sakkinen , Jason Gunthorpe , Nayna Jain , Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x In-Reply-To: <20181017163223.25141-1-tomas.winkler@intel.com> Message-ID: References: <20181017163223.25141-1-tomas.winkler@intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Oct 2018, Tomas Winkler wrote: > tpm_i2c_nuvoton calculated commands duration using TPM 1.x > values via tpm_calc_ordinal_duration() also for TPM 2.x chips. > Call tpm2_calc_ordinal_duration() for retrieving ordinal > duration for TPM 2.X chips. > > Cc: Nayna Jain > Signed-off-by: Tomas Winkler Does this require a fixes tag? /Jarkko