Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6164030ybv; Wed, 12 Feb 2020 07:10:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwu+Cc8GAiAKlInQVjDQRzDrOYlyWoupkng/pQmuGDsLHkahbfloBJX7KzlmeOorBcDHnC0 X-Received: by 2002:a9d:69ce:: with SMTP id v14mr9909717oto.248.1581520234574; Wed, 12 Feb 2020 07:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581520234; cv=none; d=google.com; s=arc-20160816; b=B9n7hNzsh3D1XqbxYg3wxyGrw+cSBbvTv364YKp4TegcuAvP/5Mh13HQvaCnp3J/sb 2xXupGMKYxT/viwsCipME52VM4mx1gGwIocYrDHdmDkS9081OCUNjIJHloirq0iQljxx w6sFbn5CTWcJ9X7qGS+9bU4IpBkbSADbq1vR67T4GmgPk5+MfVpwXQSULj3hkQcemSGc UyjKILHdG5IY4eddGjAcd4rxQ/3D7SP24XS+7s0TZeU4RHCZDiNpliHT7PuQnMw8khQI LOgxrvkQ60xEW9F4zwIeV7XUID8WkVJfLzJc9+DAJmeI4DDTIm22K29kD4b2Y2deNUIy +39g== 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=51aC13DgjD+VvQrhhu5oB38bXckcojJ0efQOMnsD1ug=; b=Gd9yNF0r5YHTj9Xu9yDEH3vt0DOC7OIS+VoVRLSIb/vd5AVdckJEFl8PClI5XBwr/T Pbja4PyU6ghKxZwKTT+W2wXZ4Dk19qpALjMMQnRDWM7yODc4jGfwM3goe2FWiKxlkFCM LOvHl4952wqL8WMj1xWfk0kZFO/tH/GgzEEfAskObfJuvZbb/WRBOTLdB0ub2YAQ50ph fHSzY8SJOU4KktbxmcEqFqJ1tfZmx5jgI8DWZaKIrG/kr/1X2pUFjqiifkJk/0l1A93K WpTANUigpfuUL+i09fyNBpMLlTUsnK5qL4gIQtgQBPzY9CULfZz90/DJDkoOTJGmpzy1 yI1w== 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 m85si3299658oig.158.2020.02.12.07.10.22; Wed, 12 Feb 2020 07:10:34 -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; 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 S1728544AbgBLPIQ (ORCPT + 99 others); Wed, 12 Feb 2020 10:08:16 -0500 Received: from mga12.intel.com ([192.55.52.136]:33488 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728234AbgBLPIQ (ORCPT ); Wed, 12 Feb 2020 10:08:16 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2020 07:07:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,433,1574150400"; d="scan'208";a="226891155" Received: from mlinda-mobl2.ger.corp.intel.com (HELO localhost) ([10.252.9.85]) by orsmga008.jf.intel.com with ESMTP; 12 Feb 2020 07:07:44 -0800 Date: Wed, 12 Feb 2020 17:07:42 +0200 From: Jarkko Sakkinen To: amirmizi6@gmail.com Cc: Eyal.Cohen@nuvoton.com, oshrialkoby85@gmail.com, alexander.steffen@infineon.com, robh+dt@kernel.org, mark.rutland@arm.com, peterhuewe@gmx.de, jgg@ziepe.ca, arnd@arndb.de, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, oshri.alkoby@nuvoton.com, tmaimon77@gmail.com, gcwilson@us.ibm.com, kgoldman@us.ibm.com, Dan.Morav@nuvoton.com, oren.tanami@nuvoton.com, shmulik.hager@nuvoton.com, amir.mizinski@nuvoton.com Subject: Re: [PATCH v3 1/7] char: tpm: Make implementation of read16 read32 write32 optional Message-ID: <20200212150742.GA13248@linux.intel.com> References: <20200210162838.173903-1-amirmizi6@gmail.com> <20200210162838.173903-2-amirmizi6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200210162838.173903-2-amirmizi6@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 10, 2020 at 06:28:32PM +0200, amirmizi6@gmail.com wrote: > From: Amir Mizinski > > Only tpm_tis has a faster way to access multiple bytes at once, every other > driver will just fall back to read_bytes/write_bytes. Therefore, move this Describe exactly what you mean instead of "faster way" and "multiple bytes". > common code out of tpm_tis_spi into tpm_tis_core, so that it is > automatically used when low-level drivers do not implement the specialized > methods. > > This commit is based on previous work by Alexander Steffen. > > Signed-off-by: Amir Mizinski You are missing commas in the short summary message when you list bunch of things. We prefer "tpm:" instead of "char: tpm:" as the tag for this subsystem. You are also implying that this would be something global for the TPM driver whereas it is only scoped to tpm_tis: Rephrase it something like: "tpm: tpm_tis: Make 32-bit reads and writes optional" Please, first, take this away: " This commit is based on previous work by Alexander Steffen. Signed-off-by: Amir Mizinski " Then, replace it with: Co-developed-by: Alexander Steffen Signed-off-by: Alexander Steffen Signed-off-by: Amir Mizinski /Jarkko