Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756588AbcKXDPv (ORCPT ); Wed, 23 Nov 2016 22:15:51 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33140 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754971AbcKXDPu (ORCPT ); Wed, 23 Nov 2016 22:15:50 -0500 Subject: Re: [PATCH v6 4/9] tpm: drop tpm1_chip_register(/unregister) To: Jason Gunthorpe , Jarkko Sakkinen References: <1479117656-12403-1-git-send-email-nayna@linux.vnet.ibm.com> <1479117656-12403-5-git-send-email-nayna@linux.vnet.ibm.com> <20161122112200.55khdxtctt5rel4j@intel.com> <20161122164240.GC3956@obsidianresearch.com> Cc: tpmdd-devel@lists.sourceforge.net, peterhuewe@gmx.de, tpmdd@selhorst.net, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org From: Nayna Date: Thu, 24 Nov 2016 00:03:39 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20161122164240.GC3956@obsidianresearch.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16112318-0016-0000-0000-000005416385 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006129; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000191; SDB=6.00784454; UDB=6.00378953; IPR=6.00562069; BA=6.00004908; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013418; XFM=3.00000011; UTC=2016-11-23 18:34:02 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16112318-0017-0000-0000-000034E8B06A Message-Id: <5835E103.90600@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-23_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611230308 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1143 Lines: 34 On 11/22/2016 10:12 PM, Jason Gunthorpe wrote: > On Tue, Nov 22, 2016 at 01:22:00PM +0200, Jarkko Sakkinen wrote: >> On Mon, Nov 14, 2016 at 05:00:51AM -0500, Nayna Jain wrote: >>> Check for TPM2 chip in tpm_sysfs_add_device, tpm_bios_log_setup and >>> tpm_bios_log_teardown in order to make code flow cleaner and to enable >>> to implement TPM 2.0 support later on. This is partially derived from >>> the commit by Nayna Jain with the extension that also tpm1_chip_register >>> is dropped. >>> >>> Signed-off-by: Jarkko Sakkinen >> >> This commit remains unreviewed and tested. I'm in the author role here >> so I cannot help with this. If that does not happen soon I cannot put >> this into the pull request. > > I tested it on my ARM system when I tested your branch. > > I think it looks better this way.. > > Reviewed-by: Jason Gunthorpe > > Jason > From my side also, as part of testing the whole patchset, I have tested this patch. Tested-by: Nayna Jain Reviewed-by: Nayna Jain Thanks & Regards, - Nayna