Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935535AbcKKEnJ (ORCPT ); Thu, 10 Nov 2016 23:43:09 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:35245 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934146AbcKKEnH (ORCPT ); Thu, 10 Nov 2016 23:43:07 -0500 Subject: Re: [PATCH RFC 0/2] Generalize tpm2_get_tpm_pt to tpm2_get_cap To: Jarkko Sakkinen References: <1476008057-2395-1-git-send-email-jarkko.sakkinen@linux.intel.com> <20161104072828.5mcmfs3nu73mxee4@intel.com> Cc: Jason Gunthorpe , open list , "moderated list:TPM DEVICE DRIVER" From: Nayna Date: Fri, 11 Nov 2016 10:12:41 +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: <20161104072828.5mcmfs3nu73mxee4@intel.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: 16111104-0056-0000-0000-000001E77A4C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006055; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000189; SDB=6.00779381; UDB=6.00375499; IPR=6.00556701; BA=6.00004868; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013291; XFM=3.00000011; UTC=2016-11-11 04:43:05 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16111104-0057-0000-0000-0000061A8124 Message-Id: <58254C41.2060505@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-11_01:,, 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-1611110083 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1021 Lines: 35 On 11/04/2016 12:58 PM, Jarkko Sakkinen wrote: > Nayna, > > I've already sent these earlier this month as we had this discussion. > Please look up your emails. I can apply these if they look good for > you. Please review them. Sure, I replied just now. I am sorry if delay in response. I was off early this week and still going through all mails. Thanks & Regards, - Nayna > > /Jarkko > > On Sun, Oct 09, 2016 at 01:14:14PM +0300, Jarkko Sakkinen wrote: >> We need to generalize tpm2_get_tpm_pt to tpm2_get_cap in order to it be >> suitable for grabbing handles, PCR banks and so forth. >> >> Jarkko Sakkinen (2): >> tpm: move TPM 2.0 command and response constants to tpm2-cmd.c >> tpm: refactor tpm2_get_tpm_pt to tpm2_getcap_cmd >> >> drivers/char/tpm/tpm.h | 48 ++---------------- >> drivers/char/tpm/tpm2-cmd.c | 106 +++++++++++++++++++++++++++------------- >> drivers/char/tpm/tpm_tis_core.c | 3 +- >> 3 files changed, 80 insertions(+), 77 deletions(-) >> >> -- >> 2.7.4 >> >