Re: [PATCH RFC 0/2] Generalize tpm2_get_tpm_pt to tpm2_get_cap

From: Nayna
Date: Thu Nov 10 2016 - 23:43:12 EST




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