Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp847711ybv; Thu, 13 Feb 2020 10:35:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwhcfP23B4dzSiO7v5BIB8KJrmXpy5Jmkr5CglxKm/gZeiuzZGIJCn65xbC/c60ONMCWwf4 X-Received: by 2002:aca:1c01:: with SMTP id c1mr3912047oic.18.1581618953930; Thu, 13 Feb 2020 10:35:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581618953; cv=none; d=google.com; s=arc-20160816; b=Jk/PmQSFRCbR2hnCMY1Pm7U3IIqlVs0q8qrY8tMXjEQGx+c9paoGSci8CYDPNli/T7 dycRIz5oP0lrybvUZx4hJagO6EAlIAs6L8Gf7uCqC6t2OH/aYs51TC724GHNxif834+7 e1+var1Ln4cVmSAeuFCDKl645JiqnI4maNi2Ebg8p1ns3ZJvc6v7n0SkBYpk1ZaMEql5 ZGtJnFM80K7MCBvUwm1ON+rFRmiALnN963GS2nuAK1jR13FSjFFQdN5eux3cXyWAcd46 Krb3H6jzYkynVIIHP/yXX8IVBa/hSBE7D1w9ct2UnTWexJMsaA/SzwmYxS1P6weH4ebe +81w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=n4NsWiWBaX8kX/JR0RNwIK0qrtG2HdB1ZigjQrcyG/o=; b=UxBN+XVnlIuM9CYD/Rkjpl5E14s+hJTgdkSKPHc82VmXcq4dBrNikjLG0AKKvHKsaG 9n3AF6BThcwY65Js8dCS9eBKnLEkgsLXSKsZxpVCzGo572j119J4EkhT3IwC7eHM00Ay 9kFsWFybtx7aEysnC9kWMTqwvimpHWa9r3f9XPsU4qhABf6wweTRJtBFzFizWmpwZNFd eKW1M0OvqjqRLQiJOm/lg0rxZCbvygkmi26c+czEuiaSkwCfEIbkFZ3KAeQ9JzP0aCvd q34/tn/DyF20dhHQR5QNQrUTPGwdNpc+4JVpfp0PXAD1byftOd5UHPCIIN6UIE0hNuvn H+lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=YqRNwkih; 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 o18si1561254otk.80.2020.02.13.10.35.42; Thu, 13 Feb 2020 10:35:53 -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=pass header.i=@ziepe.ca header.s=google header.b=YqRNwkih; 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 S1728205AbgBMSfM (ORCPT + 99 others); Thu, 13 Feb 2020 13:35:12 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:36480 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727652AbgBMSfM (ORCPT ); Thu, 13 Feb 2020 13:35:12 -0500 Received: by mail-qt1-f193.google.com with SMTP id t13so5157407qto.3 for ; Thu, 13 Feb 2020 10:35:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=n4NsWiWBaX8kX/JR0RNwIK0qrtG2HdB1ZigjQrcyG/o=; b=YqRNwkihu+iCtxKRmM2E+hXJEe3w2EX+Dn1sOLnZdfdF5TggvyWSUeHmI2CICkWRIC M6cNuJnX8k3BsaZCGzoUdGve1KGZB4qOl9O93ZeXCxMpy2Yz5o7EPYEkxNEL73NxpJhK h6vH1lnEV70tQgdhlFfAIca7Df93Ap8oXoF1kWy+OMnd48R3AAfToJGKSujw5bEI3+9v ouQfZmL6PCe1DlYLAu07HUGRt5V6Bo7lBLQU746esYhkcn5rR4AVCpdoG/znszPWnvva 34NOL4TihfcychD+jH7vO44UdFEdpHugr3cwzz6GOem2mqjr/W7F37tRkkPkCFd2xxHO 3w/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=n4NsWiWBaX8kX/JR0RNwIK0qrtG2HdB1ZigjQrcyG/o=; b=TbTb+K/R+7x2aB/Kgdk9L4Gm637G0PKOuSRL2Rnv9CFKUIrJP0IoKue/WMBDXX9D5J wOzbgthDzD23a0gU1Zh/2i1HTnMxPlzzeE8YrwBIGnDY3nmYRbIiI61Zac8oKiSomYtp kKRMcOKpcdWtHBgaZAZuyYtwHaBCwj7IhTcF/rwfqjM5uZflL9DPPATUe3PP4ayQz816 ZxQQp8oBU2loRqgZ2XUEznP/NJkKjStn10Qmrg76iQ2FzHEuELqQkjomp/nG+amPQAoB h6quXndJvkY8iD1ljB7UA6/oXVjdvycY/pkNHnx1PiyjqfTixSol4g01XCmyDcDQv7it mEoA== X-Gm-Message-State: APjAAAWwL5AfoAcsp7hxLZH3IYpsUopotYPewqywvqzYrE5Kcgdo112T 7OwRgXAHIsNQqMJ94XJ6A57Pkw== X-Received: by 2002:aed:3302:: with SMTP id u2mr12611299qtd.156.1581618909821; Thu, 13 Feb 2020 10:35:09 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-68-57-212.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.57.212]) by smtp.gmail.com with ESMTPSA id v80sm1719664qka.15.2020.02.13.10.35.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Feb 2020 10:35:08 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1j2JKO-00026F-EB; Thu, 13 Feb 2020 14:35:08 -0400 Date: Thu, 13 Feb 2020 14:35:08 -0400 From: Jason Gunthorpe To: Stefan Berger Cc: Nayna , Stefan Berger , linux-integrity@vger.kernel.org, aik@ozlabs.ru, david@gibson.dropbear.id.au, linux-kernel@vger.kernel.org, gcwilson@linux.ibm.com Subject: Re: [PATCH 3/3] tpm: ibmvtpm: Add support for TPM 2 Message-ID: <20200213183508.GL31668@ziepe.ca> References: <20200204132706.3220416-1-stefanb@linux.vnet.ibm.com> <20200204132706.3220416-4-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 13, 2020 at 01:20:12PM -0500, Stefan Berger wrote: > I don't want side effects for the TPM 1.2 case here, so I am only modifying > the flag for the case where the new TPM 2 is being used.  Here's the code > where it shows the effect. I'm surprised this driver is using AUTO_STARTUP, it was intended for embedded cases where their is no firmware to boot the TPM. Chips using AUTO_STARTUP are basically useless for PCRs/etc. I'd expect somthing called vtpm to have been started and PCRs working before Linux is started?? Jason