From: Jarkko Sakkinen Subject: [PATCH RFC 0/2] Generalize tpm2_get_tpm_pt to tpm2_get_cap Date: Sun, 9 Oct 2016 13:14:14 +0300 Message-ID: <1476008057-2395-1-git-send-email-jarkko.sakkinen@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Peter Huewe Cc: "moderated list:TPM DEVICE DRIVER" , open list List-Id: tpmdd-devel@lists.sourceforge.net 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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot