Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp870076ybg; Mon, 27 Jul 2020 01:35:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC2TFNhG5U6p+2bvuFGvQxHle3+9HupVUWpMFppsNAOqtkmFI1dU37KpL7eI5oM8nYgBqb X-Received: by 2002:aa7:dcc8:: with SMTP id w8mr20845386edu.305.1595838908497; Mon, 27 Jul 2020 01:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595838908; cv=none; d=google.com; s=arc-20160816; b=RSX1nChIHlad2VqQp7HkD+mrmxT04XoBlnsIvjYZUffD/LrItpFDfXYjwSOzaZf4pC WLkmsLpUXyq9NdltNWmk3As3xbW80r38APGsd4zkqkiIJggnaOdI1n7QCwsP1IY7RSlx Ax2jw4GKAtg6Odc8jkMRayRcQ9gTfjpB4X9EH0UY+/3VVDQzZEgEtwKu/Y8NArFjqOLt dLPZoGM+iugNUI8P3Ut0M6vOGiMl0d6WSdPvcxMmmXGJBcrkP0Hfcn1wQ5nJXTXXSPh2 Hrdi3p0UCLwDLondKwgLEII+mEuI4zls0xvLwYOfswSyQyMmuA/1KiKt3QtSl9m3StX/ MQpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=CxFvjmI0gkybVIJVxs2Ta8nMcf2oXMrYkXkwkLyvd4k=; b=vWeOQWG1B7BFYr4TMk4qS0SpCjA3EKTJbzfx6IWmarQk0hf7KRslH6NTSGJXx1dDX+ FRZNVAkITP8qBaxCmdJM2F2T7bOP3HBlmrGyInNI2YJ+pz/EIRVSMWw42mdHMMqQFRGQ ZudXS5ov63CyFI3RGI74ahJNFjO8y5wEYpK9jORDv/Z6mBsBydrjkYW0fR/mFuG9QSuM Sv9rlQhXdZGHoGcCmjHfoY0lhCge/LbynfBmgB2S+5kPTnzV7oxqJmweJkf5HmZeJF3S 7QBLQ7O4EQT3vJoMxId/zevSZ09JmPOkr0m90uo3TkKSsi5O38mZTExSgf30pnlr7lH/ BXoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si5578424eje.190.2020.07.27.01.34.46; Mon, 27 Jul 2020 01:35:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726340AbgG0IcX (ORCPT + 99 others); Mon, 27 Jul 2020 04:32:23 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:52203 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbgG0IcX (ORCPT ); Mon, 27 Jul 2020 04:32:23 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MVe5c-1kPNjt1Rzw-00RWsc; Mon, 27 Jul 2020 10:32:21 +0200 Received: by mail-qk1-f172.google.com with SMTP id l64so7717906qkb.8; Mon, 27 Jul 2020 01:32:21 -0700 (PDT) X-Gm-Message-State: AOAM530aHzeBBGQBX7s1ey60X7+XOeTzej9uR9FSB61hdJv6Su3cod0w vLkTPquWCMSGbUWZvipwo/RME8LVclPolSPZ+4w= X-Received: by 2002:a37:b484:: with SMTP id d126mr21820563qkf.394.1595838740089; Mon, 27 Jul 2020 01:32:20 -0700 (PDT) MIME-Version: 1.0 References: <20200727082245.32396-1-tianjia.zhang@linux.alibaba.com> In-Reply-To: <20200727082245.32396-1-tianjia.zhang@linux.alibaba.com> From: Arnd Bergmann Date: Mon, 27 Jul 2020 10:32:04 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] tpm: Fix the description error of the help information in Kconfig To: Tianjia Zhang Cc: Christophe Ricard , Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , gregkh , linux-integrity@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:fGmoXc97HwWm0taWe0j3NZVkmu3qtLuXG7uRW+PrwVAcmbIshhz PpD9LNv2NbOrl+fDa483YXd0jnZ++ONr8j49xOklvD/HmJTXFAgRnboRoRZbnmrRdzrRHFt XK5HoAlPWRfSP5JJHb2JkBheyXF1xlmwNp2ZGUGofkE3HRHIIXPz//J8WGenz9VeJCQWUTa lHIiLq/GEStMg3mYvWSqw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:/PwI69mCbTE=:4LWc2xx1mee7ydFcCqtnnn 4bXJXdCBOxHk//7lhhBaNIGLulw1CH++gO+ZOyROxcRJYohKWjiz1fFa5j9+6rPbIeG85NfC4 VYqIDtTChhFrt1g1Kt4bDX/hGfpasBIK54mZpqo+ZJuS0x2lOu+BAFBBL4z2KmiPidVvoTsYL wyj9GoymU8lTFyihJgqnNpSoDSJFB/c/ug9KROCrKQ/2aRwRb4d8AWlxFoVI1qLpwfC20y3C9 JpGqsu+x/62cjGAh3xP6zKodyS7jw07qpVZQdmzZq3RE0IujdLjIeGSu+PImg+7eWP7krG6Ex yBJ7FWb9rhPzWD62X0x7GgQdbu+aPihawjR1tLmYXwYFHczgbXlZ2/LhGr8RmU3f1KEoD7cKu 9P8q0v1k3yPTtcqRJIybYR2E57L9sye9sDj6CE/AVapKFPhXXYYK0XYb9bfx1cL9B54S/FjLI wjtu1cQaoso5ablsuaJam8UqxAzY7G99vu8RrPMn969PkaFgPrHWmcUZRhfwE3f553vDXjyuB OTTqBRWg76GzEYFvfzpbq66I8hjV8xQY0jL1l3qEaupG+0vxAW6ZUOEbj/8gkfvW+o8UxQJKy iMg91qoS2X5YXXRFZ6bIWWrhhR+Vf+T33dQC6xoOif7W4SKL7/Hm1tudRjCWvtXnayK6KyJbg /is7Rcf8/ChdjUdfE87MCjTEvBsBY7wvci6urE6mnZUFucFyRpLcoqVA9m2a0E6M7pDyEfXCD V9RVcYzm4eVsTDqTCMzJEGg1hJ1Ext4a3wzqTp0iK0n1Asv+1QDHNTOEp06AJHbWZ6BxlvxET 0DmcJS2H/xZXYCJLnyKQPifk7x5OxNTjd+12PM+mM1tdMG9xeKMnDKuKeEJJSuBtPY7bKDJWl mETJ+9qHGUeUWoOBGjDzhTdBAXEQyYf5n6aqryCmtcrXCHaWT+9r4Cx2O0VIyHA9Sx4toxA1M IkxwIh6uG1+OkDuE52D2DIhvdw0kdAeBUJ/r/tPsC/P9TzPPETGmD Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 10:22 AM Tianjia Zhang wrote: > > SPI protocol standardized by the TCG is described in the TCG PTP > specification 1.3 (chapter 6.4.6 SPI Bit Protocol), It was published by > TCG_PCClientTPMInterfaceSpecification_TIS__1-3_27_03212013.pdf. I'm still not convinced you got this right, the document you cite only seems to mention TPM 1.2 as the base for TIS 1.3, but not TPM 1.3. Arnd > The TPM version number in the help message is wrong, which will > cause confusion. This patch fixes it. > > Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy") > Signed-off-by: Tianjia Zhang > --- > drivers/char/tpm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig > index 58b4c573d176..8eedb3e704f3 100644 > --- a/drivers/char/tpm/Kconfig > +++ b/drivers/char/tpm/Kconfig > @@ -62,7 +62,7 @@ config TCG_TIS_SPI > help > If you have a TPM security chip which is connected to a regular, > non-tcg SPI master (i.e. most embedded platforms) that is compliant with the > - TCG TIS 1.3 TPM specification (TPM1.2) or the TCG PTP FIFO > + TCG TIS 1.3 TPM specification (TPM1.3) or the TCG PTP FIFO > specification (TPM2.0) say Yes and it will be accessible from > within Linux. To compile this driver as a module, choose M here; > the module will be called tpm_tis_spi. > -- > 2.17.1 >