Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2184948ybl; Thu, 15 Aug 2019 07:52:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdaj2nrrqF/5hTUBm9XnyNorjv96KKM4gPGr24D6vA3qzf4osG0SdGCaUV7Wk05D77u6K7 X-Received: by 2002:a63:6eca:: with SMTP id j193mr3744734pgc.74.1565880736233; Thu, 15 Aug 2019 07:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565880736; cv=none; d=google.com; s=arc-20160816; b=pKUw1xzt7EBzIu4DB+i2LFEVWnOzUDsIfY93rWQOP1iwASmLveT17H0uWWuATPnklA j+2aKeJ4p3pJtRakR8/6LD+hHZw0kUolNdBXxSguAcImG5md1g+H8RGO8/LLQ8OpkxOQ jUhWmVz1UVkg0l/fBfcVJcqOx9cbYMBt+sHp/zrRedlBSM6l/1BNh2xNhUPvQACFJkCw T48NO41Op91/rIEqF9pDfKsk6rgEco0QvGIq/9XBRpjDDvHy8Tcs27AZX/LmuCjAHJnr +FvLxtjtMjVCBGQ4xxbbTUGnuZt3atTOdqUDmjwrRilrkZBjBMCqwgnTSH8t6lGQ99zx M5DA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=UWm3YF2/WN420mjueHM6n/4IY1Ao0VnIcG5APrnOVWs=; b=z9sO0kcCEioE9lxXknp7ANkzOt0gNGAQZFkyY+CA1UPt2L7LliDRoo4CrFSvT2me5L sLt6Q6SeJKZgZ+7HrlR0ISNnQFR0WnMRsJoiK0T0ftXYHVDrmonThEqKpyX6jSksUx8q hRx7xKojWO4sHm9lkmo3hBPGe84gALKiuPwynAfqbTVA00Rgac3Gvf1Udc+4C8TPF7G9 AVbWDECs7VT+ZnYYyqBJ5AhrhdE1KBl9+ntC2JG4CIKBmxtEND+ic61sNvGBB9DUyK9g Lc7wCYCHBmtteDvEhiSYgse5A7Yv2RlBHE9MuwcRZXriB11vu6hwjhn8F1KAQhnNKZjt QfOg== 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 t4si1109197pjv.53.2019.08.15.07.52.00; Thu, 15 Aug 2019 07:52:16 -0700 (PDT) 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 S1731872AbfHOMmP (ORCPT + 99 others); Thu, 15 Aug 2019 08:42:15 -0400 Received: from mga04.intel.com ([192.55.52.120]:13220 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfHOMmP (ORCPT ); Thu, 15 Aug 2019 08:42:15 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2019 05:42:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,389,1559545200"; d="scan'208";a="260806924" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.50.163]) by orsmga001.jf.intel.com with ESMTP; 15 Aug 2019 05:42:12 -0700 Date: Thu, 15 Aug 2019 15:42:11 +0300 From: Jarkko Sakkinen To: ivan.lazeev@gmail.com Cc: Peter Huewe , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix fTPM on AMD Zen+ CPUs Message-ID: <20190815124211.4gxroofqqysh2mjo@linux.intel.com> References: <20190811174505.27019-1-ivan.lazeev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190811174505.27019-1-ivan.lazeev@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 11, 2019 at 08:45:05PM +0300, ivan.lazeev@gmail.com wrote: > From: Vanya Lazeev You should have the "tpm:" tag in the beginning of short summary. > The patch is an attempt to make fTPM on AMD Zen CPUs work. > Bug link: https://bugzilla.kernel.org/show_bug.cgi?id=195657 > > The problem seems to be that tpm_crb driver doesn't expect tpm command > and response memory regions to belong to different ACPI resources. Should be "TPM command", not "tpm command". Please be more strict with the spelling. > Tested on Asrock ITX motherboard with Ryzen 2600X CPU. EOF the long description. > However, I don't have any other hardware to test the changes on and no > expertise to be sure that other TPMs won't break as a result. > Hopefully, the patch will be useful. This should not be part of the commit message but instead should be placed just before diffstat (below two dashes in the patch) so that it doesn't get included into commit log. > Signed-off-by: Vanya Lazeev You should take time and write what the commit does and why it does what it does. That is the meat of the commit message and your commit is completely lacking it. I'll look at the code change once it is described appropriately. For more information how to do commit properly I would advice to go through the material in https://kernelnewbies.org/FirstKernelPatch /Jarkko