Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp318197imu; Mon, 26 Nov 2018 11:18:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/XOST0sb3WDCYEuu4yjfEwnbwFCC5kwnUrAVGmVzuEGbv6ZBB4qiJZigJYQJjUICxB0i2/b X-Received: by 2002:a17:902:64c1:: with SMTP id y1mr28780882pli.64.1543259937975; Mon, 26 Nov 2018 11:18:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1543259937; cv=pass; d=google.com; s=arc-20160816; b=h8SH78heTEMnElafJC9LToi2IAE0SCjvCq/dh0l3YANrJVN5Ga6kkqM/rMZab03XXQ +jz80cdpeE8SkWmWSSukeMfR01k/PS/YW0KqFq+5cBQs/M0qW+Ym57w+SKQ/rKeLbXmD Bz2jvxmo9QOIJaOKG3g9sEGusQE9Jdzw98lrPQSDpXQcW+adKwhebh+BmC9ybV2+ByM5 LK4VamxjdfUwXhPZlM/h7+qFUyZ3FJRqH3WEYq1CQGK4uyEgODzCR5csSnnciCkfQ71Z xIIpJB56O7mywjQ3hQLTZ3YZeUcRYanrf4J6+pKszzKzRapa0htZTtXV9flWev/vKWcv fS0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :date:references:in-reply-to:to:from:subject:message-id; bh=NXUfmg6T6R7QXiYDCCrKuqomD8dCXuyJnEHVcyBQiqE=; b=wiRrHTFGKw24vUfwd4tqbUHPPaN5OAQ/pOkcu/169VVjgq7n03rocfDlMxokOznPRu sOH07vAOSMXMRTXoubgsWaN0YLPQht+9alHBF3+FppQtve3FIWIb4fScqb1NcoIqGlCe XdZ6flWnvQIKqCFuHtJS+Xe/YB/IGPoMeTS+IHozROZCR1CxBxGIgS/Arpi9LclAi2Uv chxdKY9peQCHJgiRPZCZffI8kfNRuHWk0/R3jpHJXMflGrJkbv5LY/UC64pdXFDIuCQ1 tS2g3H01IE5X/7/QQIzFVP/qZb42g2YYXrcsE9rOc7VYVCMAVDntMJbBaVkZSV1WKCpj 84oQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=mniewoehner.de dkim=pass dkdomain=mniewoehner.de dmarc=pass fromdomain=mniewoehner.de>); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k5si1179509pfj.153.2018.11.26.11.18.24; Mon, 26 Nov 2018 11:18:57 -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; arc=pass (i=1 spf=pass spfdomain=mniewoehner.de dkim=pass dkdomain=mniewoehner.de dmarc=pass fromdomain=mniewoehner.de>); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726705AbeK0GLE (ORCPT + 99 others); Tue, 27 Nov 2018 01:11:04 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21729 "EHLO sender-of-o53.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726182AbeK0GLE (ORCPT ); Tue, 27 Nov 2018 01:11:04 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1543259743; cv=none; d=zoho.com; s=zohoarc; b=eXZTEmv3Bg6ItBDSzvBut5Sea5g/JQsFGC7zIf2oFg4IwFfx2HwYsP9v2tnZUN8KjMLSzFwxJYUv/I9S3BIpEHw+fYHBogATBChypExfgCWnzeixEd+zQtZeQ4qUY2S26UafGeLVPWosN9wa4fq/Qn9JurD8zUrQV8/Eg/PBKe4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1543259743; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=NXUfmg6T6R7QXiYDCCrKuqomD8dCXuyJnEHVcyBQiqE=; b=ftbub+mjLyi3WfrnJmbXL/V6Eznyoarjs8FFpFCZlj7wa4tLj5gaiUU6zw1Ov0QTI55PMMhL7mm6e7oxiw5I7Cf8HF8CtzD1PasGSPANpUaeiIrUUcFGe2UfUkhPWI4zFNJKRoysenMs8NSvEoXUjxAb4rkD/BA/nNwmrwBsIP8= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=mniewoehner.de; spf=pass smtp.mailfrom=linux@mniewoehner.de; dmarc=pass header.from= header.from= Received: from z3r0 (31.187.91.78 [31.187.91.78]) by mx.zohomail.com with SMTPS id 154325974190643.82636583836552; Mon, 26 Nov 2018 11:15:41 -0800 (PST) Message-ID: Subject: Re: [BUG] Nuvoton NCPT650 TPM 2.0 mode not working From: Michael =?ISO-8859-1?Q?Niew=F6hner?= To: Jarkko Sakkinen , Mimi Zohar , James Bottomley , peterhuewe@gmx.de, jgg@ziepe.ca, arnd@arndb.de, linux-integrity@vger.kernel.org, linux-kernel , Nayna Jain In-Reply-To: <49ec628f42fa7833f6a75d4a8b15d64789c70bf7.camel@mniewoehner.de> References: <1541962653.3190.7.camel@HansenPartnership.com> <7d8cc5ad4bb7548d283f363de6f24c90d5d0a2b2.camel@mniewoehner.de> <1541968191.3190.12.camel@HansenPartnership.com> <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> Content-Type: text/plain; charset="UTF-8" Date: Mon, 26 Nov 2018 20:15:38 +0100 Mime-Version: 1.0 X-Mailer: Evolution 3.28.5 Content-Transfer-Encoding: 7bit X-ZohoMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. For anyone having the same problem: binwalk, uefi-firmware-parser, uefipatch and flashrom are your friends ;-) Best regards Michael