Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp452217imu; Mon, 26 Nov 2018 13:15:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/VFrW+MKEFy0Rxy6f2X2XksjpZlMRK9EqBM9j3njM2eHABKo+b0Yzg+j+FcPD6eE/NZOq9x X-Received: by 2002:a17:902:6b03:: with SMTP id o3-v6mr29452021plk.208.1543266904172; Mon, 26 Nov 2018 13:15:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543266904; cv=none; d=google.com; s=arc-20160816; b=D8kbO2sQR86bfVqLPE20kQ0mHUnQ8yzEmk2BNJzz/9g4UFg0QScgSBnw9fQyxoX0xn Hco343En40CZ2uVw2mb7GnZ2YLa6G4JjMFyQWymNzks1buhemOhZvwEeVmQlZ/S1Dsei RHo+5tHPIWr2muVYjwxnvA1RAktq8DUF6LYkQhnc9+H7frIV5lSOd6snx/4asJxy1rqY Gyzu96XQBEXkFfJ7Hxntia/6rSBBnF+iW8dLVU4EmM92cETrzkaugfuRGDDqMXfl4/6s 5GGVYcO2ze3D3qwsHe/MVH76g7ScOl+tqNAnMZGmwpZ0CWdiD7OI0gr8I5pKDAWlmoIX 9sfw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=TR3mg2DRQV9bOxcMnsGX4VJQdom35mzAeOn9XbIXyGY=; b=yDYIjVvhAyON/xr0cRo+Gpej146DJcssV2ol09xf+FxviiOn6LfSmnr1keJdS7fPvg BAK+pJToB6WdLytgOT+8Dx8NeXu8SLBBetiZVU90h3v3sRwuMmkRUnzqOzspfwq5i2M3 J0kVghnONdAtDmU8CpzUPkadovy/Ei/TbEse0Hq47x+YTvaYohEJskRbd3IwP+a1i1h0 q9S+hLqxDfj0UsT93Eabm9U78yFt/L1o9cFc4lm0HcZ+1CICIvLMLVryuhZc5qbQ3NOR QhrrdGo2OLSvr0kzDWsbea+GNb6dhWR1RSY6pa4tfC+jeUXkwHO8iqcbYC15LHmEj6Sf PZnw== 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 g12si1253852pgd.567.2018.11.26.13.14.47; Mon, 26 Nov 2018 13:15:04 -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 S1727388AbeK0IIe (ORCPT + 99 others); Tue, 27 Nov 2018 03:08:34 -0500 Received: from mga11.intel.com ([192.55.52.93]:19191 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727107AbeK0IId (ORCPT ); Tue, 27 Nov 2018 03:08:33 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Nov 2018 13:13:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,283,1539673200"; d="scan'208";a="110469390" Received: from jsakkine-mobl1.jf.intel.com (HELO localhost) ([10.24.8.61]) by fmsmga004.fm.intel.com with ESMTP; 26 Nov 2018 13:13:08 -0800 Date: Mon, 26 Nov 2018 13:13:09 -0800 From: Jarkko Sakkinen To: Michael =?iso-8859-1?Q?Niew=F6hner?= Cc: Mimi Zohar , James Bottomley , peterhuewe@gmx.de, jgg@ziepe.ca, arnd@arndb.de, linux-integrity@vger.kernel.org, linux-kernel , Nayna Jain Subject: Re: [BUG] Nuvoton NCPT650 TPM 2.0 mode not working Message-ID: <20181126211309.GA868@linux.intel.com> References: <3243d0325b3ea5878d3f86b0ee4fec1498f21dc1.camel@mniewoehner.de> <660b0934bc16c8d195a2724f8be4ba8dfbe71134.camel@mniewoehner.de> <1541972556.3734.90.camel@linux.ibm.com> <4f7cc7152f2266d8d0782889db2375d4c1c71987.camel@mniewoehner.de> <20181118081833.GH5897@linux.intel.com> <467833cc47247a55595d72426f46eeac1406eb04.camel@mniewoehner.de> <20181119134956.GD8755@linux.intel.com> <49ec628f42fa7833f6a75d4a8b15d64789c70bf7.camel@mniewoehner.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Mon, Nov 26, 2018 at 08:15:38PM +0100, Michael Niew?hner wrote: > Hi again, > > after some experiments I finally found a solution... > There seems to be a bug in TPM2.0 firmware version (1.3.1.0) included in Lenovos > UEFI image but they do not provide an update. > > I have extracted the firmware version 1.3.2.8 from Dell's XPS15 TPM2.0 firmware > update and used this to replace the firmware in my Lenovo UEFI image. > After flashing this version via UEFI Setup the TPM2.0 gets detected and now is > fully working. WTF. That can be called as true craftmanship :-) Awesome work! Maybe you should even consider blogging this. Sounds interesting. > For anyone having the same problem: binwalk, uefi-firmware-parser, uefipatch and > flashrom are your friends ;-) > > Best regards > Michael /Jarkko