Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3259817imu; Sun, 11 Nov 2018 10:58:10 -0800 (PST) X-Google-Smtp-Source: AJdET5fnBpIQPvhTLeUP92AKbqvODCuoPAs5u5ZtAeXxOU/1KjvNDUY3jxb7Sd+/qM+h/GrhEhUQ X-Received: by 2002:a62:e0dd:: with SMTP id d90-v6mr16866914pfm.214.1541962690321; Sun, 11 Nov 2018 10:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541962690; cv=none; d=google.com; s=arc-20160816; b=MIDwQODe510IomMy9JPWLeMsVrJJO4KkgnljQnebrawu7u9e7awwHFMvbXSjLTYIYk pyaZtpT1Ee0tG1jB0KEK50W31C1XhiA8919iVAkUILzzNEOl7ZJ7QxQ0KpgvLxD1LuMc P+1KSli+eNVmXehedDPWtJLanmyUD3bFebNmk4Mrvh/wm35TssFzKM56qGjocO60K0qO ScxDXYwTLOBHA3vuGoPwQv/5XO+nPC+P6Er1ri3vD2LMZ4tCauLJp3par+jph5GdmdfB ANIPJhXR4t8B4U+RLNC2Jaav8kfv3CibQLtYYMGEW+yW2TOvIoxDQi1rHWHM6fvXipyV Aobw== 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:to:from:subject:message-id :dkim-signature; bh=hc6YbTsLn1seOPYklWwb+BCO02aNV7pD7yrYFg/FADw=; b=HXAQL/cn3qcbt/AymwM1og4+wXEDNci0F0LLjd6K7j06mF1rW8qGyKuxOgOt3BbqgZ 3M7Q8uexuWnBmBUMRPS9i06d+4nIrYyQ5cqqhxBaT4UGRQqkuY77AyuvdPiQJUh+t1Jh 17OEqz9RBlGVzYRqFeSY6aIv4Ytf3W8ooP08UCRcB5BswyIGUKDGwaLhvYm/8Hx9xk98 ppcInHBdWLzUHuHXURVh2X2J5iOkVd0j5MsXBthMg7CCQGqr0TtdEt8f/eBJO55nHuX8 gHNmc7CIy1kcU5pvzje3En49GTeRuveLANsVGEJsd1ZiW9S03toYwwFtvTgP16LOBBWG v8hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=rzWeFnqm; 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 h13-v6si14069205pgj.457.2018.11.11.10.57.54; Sun, 11 Nov 2018 10:58:10 -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=rzWeFnqm; 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 S1729451AbeKLEqy (ORCPT + 99 others); Sun, 11 Nov 2018 23:46:54 -0500 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:49120 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726848AbeKLEqy (ORCPT ); Sun, 11 Nov 2018 23:46:54 -0500 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 887B38EE12F; Sun, 11 Nov 2018 10:57:35 -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 rCZ4AIoDVqj8; Sun, 11 Nov 2018 10:57:35 -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 E37BD8EE0A4; Sun, 11 Nov 2018 10:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1541962655; bh=tO7PhfuaNHq4sHvf0qyKforuKUAy9KVwtK/6EC6V9YM=; h=Subject:From:To:Date:In-Reply-To:References:From; b=rzWeFnqmIEeYvri2lvfMSIweZDI3QKntx3y+nsmUuF+AFEhvvfVOJQIhK6VA8qVZs 7/wQvV7xoGl0koX+1Ouh7lvK6kh/sDCZfwRCdE4UFqCi0RixhHsoLui+yOHunMqgB/ Up7kvWz5Oohw3zBGml4F+fnjfc3FnvkSBKHA2Sv4= Message-ID: <1541962653.3190.7.camel@HansenPartnership.com> Subject: Re: [BUG] Nuvoton NCPT650 TPM 2.0 mode not working From: James Bottomley To: Michael =?ISO-8859-1?Q?Niew=F6hner?= , peterhuewe@gmx.de, jarkko.sakkinen@linux.intel.com, jgg@ziepe.ca, arnd@arndb.de, linux-integrity@vger.kernel.org, linux-kernel Date: Sun, 11 Nov 2018 10:57:33 -0800 In-Reply-To: References: <776f384a81466642472beb4a34b10f26f1de88e9.camel@mniewoehner.de> <1541960689.3190.4.camel@HansenPartnership.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-11-11 at 19:50 +0100, Michael Niewöhner wrote: [...] > > However, this makes me wonder about yours: > > > > > [ 0.003517] ACPI: TPM2 0x000000009E490ED8 000034 (v03 LENOVO > > > TC- > > > S06 00001300 AMI 00000000) > > > > I thought the Lenovo "upgrade to 2.0" in fact disabled the external > > TPM in favour of the Intel PTT (software TPM in the management > > engine). Since you apparently have the tpm_crb driver that should > > find the PTT TPM, this might be one of the attachment bugs in the > > CRB driver ... from your ACPI output it looks to be not specifying > > the Tpm2Tabl. > > Well, there are at least two implementations I know of: > For my Lenovo X260 I can choose between Infineon TPM 1.2 or Intel PTT > TPM 2.0 This here is my ThinkStation P320 which can choose between > PTT 1.2, PTT 2.0, > Nuvoton 1.2 and 2.0. When switchting between 1.2 and 2.0 the Nuvoton > gets > reflashed with the appropriate firmware. Well, I still think the ACPI setup is incorrect. What's in /sys/class/platform (should be directories of ACPI devices)? The TPM is supposed to show up as MSFT0101. If it doesn't is there any other device string in there that might be a TPM? James