Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3640507imu; Fri, 18 Jan 2019 14:11:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN71SaOPd8SGJfn3nav2nqk78Cw6vsbYOjjbtxmeWFEhiNwxYzK/gUWNi8d26FDI9Cp1TUpv X-Received: by 2002:a63:3602:: with SMTP id d2mr19154108pga.404.1547849480598; Fri, 18 Jan 2019 14:11:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547849480; cv=none; d=google.com; s=arc-20160816; b=N5nM5TzsrpxgiIu+9o4Vi0x5h8P5CEtU98/R+SQE81kHzXQ5NdI0BoJfwlbSMHg/ZG 5HQqw6XGRut4/ciprZdYRYu1cyrWaYXeX4jSopkzqWEVYjr2SNKSrGrWOVVlctMN+hD0 SnoBvG2xv2KlWiP6rPpB1VQrs98bz+5d9zrdcEdx041lyfECjYMdVJMLg4MJITF2z/8U SYVtUGtvRh4s8lzeFILu/rHvoYsuR9IpN1WI1rgnCPzH93fsCsOxxilwjc+NZr79auSS 3ont3flupMY4iHjSJtKOja2JUeejG35YbfkKfiSX3C4BZd3cIy1Rph7uaIlQbM6pur/0 eEdw== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=wKTlLC9NktETvT/H+pbIegF2N++co1+Hs53KHPYa3Do=; b=bjaItrWRs7hjDTxKzL7vAGY02d7MoC7tDlRC6ZIOuMdLKvimFC3uPd/n/3fsckJTsX DPv+KwLfqWWQtfyw1lKorBLxqWhm+B89hWU/1KHYSxy8dXwY1I4nb81LAd5gozNvZF1G 13xW58Ip6nyADLKxRHG1udjZztu2JZ1BobvZU7QFeIwYpxYARwURy8OHd+z7MuCnOt+W t7jU6fApGaEwqwmo4RIhMASJBG51KH2nIaZX5T1LR7n1dTHdgGMt1DXvtJKZckpiiEz+ zELrV0GWyxJwZfIUso54RyS+WcvtPkNIP/4x8JyUOwK6/ytzmj9wkK+wdPKp1U6JgtEr Wn9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=k+RuwAME; 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=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc7si5462740plb.120.2019.01.18.14.11.01; Fri, 18 Jan 2019 14:11:20 -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; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=k+RuwAME; 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=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729963AbfARWJU (ORCPT + 99 others); Fri, 18 Jan 2019 17:09:20 -0500 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:45434 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729621AbfARWJU (ORCPT ); Fri, 18 Jan 2019 17:09:20 -0500 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 977638EE390; Fri, 18 Jan 2019 14:09:19 -0800 (PST) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yXMzODEDbqr1; Fri, 18 Jan 2019 14:09:19 -0800 (PST) Received: from [153.66.254.194] (unknown [50.35.68.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 2E5248EE10C; Fri, 18 Jan 2019 14:09:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1547849359; bh=KKbZXUW2kwUrTYp4XwsTF1nUQhcuoNIwcAhN0k7ttN4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=k+RuwAMEcyCiHDaUjGmEl7T0MpaXK7KQbfL4y1azEFe12oNdW3u/5mvi2iTA7BFVG fhb6BZFi8JTOMNDIOe9xe76rFN1BMsvogVWMhFHsfkPudw+/LJm/qjTVrnmwMKq2ID 7owa6QrnvDq6IYW8uL3wokQsniteS09yT4h0ztZU= Message-ID: <1547849358.2794.90.camel@HansenPartnership.com> Subject: Re: Getting weird TPM error after rebasing my tree to security/next-general From: James Bottomley To: Jarkko Sakkinen , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org Cc: linux-kernel@vger.kernel.org Date: Fri, 18 Jan 2019 14:09:18 -0800 In-Reply-To: <20190118142559.GA4080@linux.intel.com> References: <20190118142559.GA4080@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 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 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. James