Re: [PATCH RFC 0/2] Generalize tpm2_get_tpm_pt to tpm2_get_cap
From: Jarkko Sakkinen
Date: Fri Nov 04 2016 - 03:30:09 EST
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.
/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
>