Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp196822ybm; Wed, 27 May 2020 23:59:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8Fq++2UdRxpBWINRWPAQBF1KQ8gwhVva8orfwWx3EOlpbQtoeJFgk+qdDEyRyoGaKexBn X-Received: by 2002:a05:6402:3044:: with SMTP id bu4mr1693200edb.342.1590649183572; Wed, 27 May 2020 23:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590649183; cv=none; d=google.com; s=arc-20160816; b=xdtRZlJJ1EMLiZscr98dLbAndkqfcBf9hFPwtJjDXONgJvGBjgebN6M7ogD9m8nPTE DC/I/mT2pYZOGc8bFqUaSlYzw0SzleIx33wiIfS2t/ZKy+jvqmDUTGdzp+6ip6KYpS+E 4CgaOAQhlx8b6TwAabuPkuAN9aavcSh2NLdkBjS1PqdXvNwkfQzMuRd8Mrp5R8osy7mP 0eO8SGgvamToeL3x1XHi9gtT+PjzgaMUd9CApsqIcUx3wXgFSjlCgI+8Q8koJfjZ4IgT s7+/03TygLrp7jdtQGN833aGcbnZwMPJ6TJC2Aef8donez5u1Tegmu44vvs9k1cxPENJ 6ApQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=Q813JS0cDir8OCaNm2kFaIvrxrlg1T2haim4WrQdQMk=; b=qAavotDIyIW0l2Aoqa33NJTSnBLvI6lqsVZg4+pDVc5XBJ1G1lNV3ryrsjS/uv7MwQ 1m4JCnYgbmxnimadY31ExF27AN3T9wseM95GI6ibZ3XDw0i3tcbuNOzZENWnzbF0/ukl 1NoRcVNudzJu07GrqQ0u4BlcjjX0dodw72XIkEhhBpo13waGmH+/zVZ5YuX6izBfdne/ GJDqyS7v1taEFOQSoUjCQIBkeO5bT/eGo8xVtKXjvylOANoNvbxTfxhiJ4yF76bPw5cW x1TET4RvWJTQSS93ogAQ1uhe+tH1ix4qu3GwGaXERQZJTjjENSnHoijWp9CcZTnTucRI UefQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id dm9si4009255ejc.624.2020.05.27.23.59.20; Wed, 27 May 2020 23:59:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725836AbgE1Gzi (ORCPT + 99 others); Thu, 28 May 2020 02:55:38 -0400 Received: from mga01.intel.com ([192.55.52.88]:23389 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbgE1Gzi (ORCPT ); Thu, 28 May 2020 02:55:38 -0400 IronPort-SDR: YJCV4C/c7o61HAwkwuKP2Y2ePdQTPC4RCJ/uXqk7fQ3FF1hmlVL81aNrncwpnp0xSgMAPXzYwf 79dZHe/S8Ufw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2020 23:55:35 -0700 IronPort-SDR: 3IEqIiEUBBetwpf/IvyCFg/yD1qwQb21ZmP+w11fkr+Uf/TJ5arGx3UyKKNQBMnnVHgfgQrxGv Mi92cHz9rh0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,443,1583222400"; d="scan'208";a="267117506" Received: from dmescala-mobl1.amr.corp.intel.com (HELO localhost) ([10.252.59.102]) by orsmga003.jf.intel.com with ESMTP; 27 May 2020 23:55:29 -0700 Date: Thu, 28 May 2020 09:55:27 +0300 From: Jarkko Sakkinen To: Tadeusz Struk Cc: James Bottomley , Mario Limonciello , Peter Huewe , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrin Jose T , Alex Guzman Subject: Re: [PATCH] tpm: Revert "tpm: fix invalid locking in NONBLOCKING mode" Message-ID: <20200528065527.GE188849@linux.intel.com> References: <20200526183213.20720-1-mario.limonciello@dell.com> <1590520454.11810.40.camel@HansenPartnership.com> <20200528003040.GA4781@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2020 at 09:40:25PM -0700, Tadeusz Struk wrote: > On 5/27/20 5:30 PM, Jarkko Sakkinen wrote: > >> This won't help if the message is read by an async tcti. If the problem lies > >> in the chip get locality code, perhaps this could help to debug the root-cause > >> instead of masking it out in the upper layer code: > > What is TCTI and async TCTI? Not following. > > TPM Command Transmission Interface (TCTI) as defined by TCG in > https://trustedcomputinggroup.org/resource/tss-tcti-specification/ > > the reason we added the O_NONBLOCK mode was to satisfy the TCG spec for async TCTI. > > Thanks, > Tadeusz OK, thanks recalling. /Jarkko