Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5309907imu; Sun, 20 Jan 2019 08:06:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN41cn2XItnzhfybXvmdL7gbJ6wv6OvPAE0XytDvU/EYvio6SlGo2wA/yV1eueHrV3qsGuZN X-Received: by 2002:a62:2cf:: with SMTP id 198mr26742800pfc.67.1548000363970; Sun, 20 Jan 2019 08:06:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548000363; cv=none; d=google.com; s=arc-20160816; b=MpeTcvHHEn5RlqjUBizlHYDaddJquwGFQG9lENWcMCoqb4W9c5JXi/kikKru2O/8ZX XtSJbm1K3C3MYqBzkMaD9lNr4KJZO81GwzJaupCAgowi62yLz/McT5XS3FaarYMHzcIl 0fv66Ry413ISJGRpe2BZUsqN9/qa27BYsH/YOh9A/qVc98ESuVQadPajRJzJhz6L1jsR v1ZEncyvsQUj0wrEwRE05iytjZm2r7w+wcTLUl2PII21VizV7B3LT6Bb1YWPCaUL/S2j d6zYfJB2i6zjno0BDPe8slXG7e8dMqic/Fz5J3R+/PlKwUC97FJFQkJsxzyT7DBlex7f vMog== 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=xvmOcANxQuyXNfj3nE2+Kzc/twfuBQT4Rw1CbwicBWw=; b=PEg4cIaqShQYg9PxX13ulzNO2MCMEEC+orUQH6uPUGxyYufrQVjVTZH4jrCMJseGbJ Z3vCzfOClbwbIcB3EnK+ry1glVcUfA+VZhTgQZMjNsQYXnyCnQl50jh8gsTxL9w5Law7 EAi2OIZFdM4ddfP9Pji0HoBbguU/oMg7S/tjwKqMyzW8YeMihI913Fw1WikpeH5eEPRt 8KWmZwEPjFCENZVV69RBDjmTdpcWh8KBan32czkG2SMOwArQguCsMUyK1MH9SJLjCCNx Aah1hxKiLkXdZskYh2AloZ3U6npmYXspiPdvA2YzA00W5S2p1hFMaUn41wnlc8j+takY injA== 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 gn8si9756381plb.264.2019.01.20.08.05.47; Sun, 20 Jan 2019 08:06:03 -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 S1726919AbfATQES (ORCPT + 99 others); Sun, 20 Jan 2019 11:04:18 -0500 Received: from mga06.intel.com ([134.134.136.31]:58813 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfATQES (ORCPT ); Sun, 20 Jan 2019 11:04:18 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jan 2019 08:04:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,499,1539673200"; d="scan'208";a="127235859" Received: from smartikx-mobl2.ger.corp.intel.com (HELO localhost) ([10.249.254.134]) by FMSMGA003.fm.intel.com with ESMTP; 20 Jan 2019 08:04:15 -0800 Date: Sun, 20 Jan 2019 18:04:13 +0200 From: Jarkko Sakkinen To: James Bottomley Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Getting weird TPM error after rebasing my tree to security/next-general Message-ID: <20190120160413.GB30478@linux.intel.com> References: <20190118142559.GA4080@linux.intel.com> <1547849358.2794.90.camel@HansenPartnership.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547849358.2794.90.camel@HansenPartnership.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, Jan 18, 2019 at 02:09:18PM -0800, James Bottomley wrote: > On Fri, 2019-01-18 at 16:25 +0200, Jarkko Sakkinen wrote: > > I get this on a Geminilake NUC after rebasing my maintainer trees: > > > > tpm tpm0: A TPM error (-1) occurred attempting the self test > > > > I checked the latest commit ID from drivers/char/tpm to make sure > > that I did not put anything broken to my last PR [1]. It works > > without issues. > > > > In addition [2] gives me an empty diff. > > > > Something outside of the TPM driver must have happened that breaks > > the driver. Any ideas? > > > > [1] commit 9488585b21bef0df1217e510c7134905d1d376a7 > > [2] git diff 9488585b21bef0df1217e510c7134905d1d376a7 master > > drivers/char/tpm/ > > I'm afraid you're going to have to bisect to find the offending in- > kernel commit, which is going to be painful since it seems to depend on > physical hardware. My first instinct is that we're getting a zero > length read somewhere, but I still can't see anything in the merge > window that would cause that behaviour. Yeah, I've started to bisect it (still 9 rounds to go). /Jarkko