From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Sakkinen Subject: Re: [PATCH v2 0/3] Locality support for tpm_crb Date: Sat, 3 Dec 2016 20:40:41 +0200 Message-ID: <20161203184041.uricudobg24bs6se@intel.com> References: <20161203175213.10210-1-jarkko.sakkinen@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20161203175213.10210-1-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Peter Huewe Cc: linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "moderated list:TPM DEVICE DRIVER" , open list List-Id: tpmdd-devel@lists.sourceforge.net CC linux-security-module On Sat, Dec 03, 2016 at 07:52:10PM +0200, Jarkko Sakkinen wrote: > The tpm_crb driver should follow the policy of reserving and > relinquishing the locality it uses when multiple localities are used, > like when TXT is another locality. > > Jarkko Sakkinen (3): > tpm_crb: map locality registers > tpm_crb: encapsulate crb_wait_for_reg_32 > tpm_crb: request and relinquish locality 0 > > drivers/char/tpm/tpm_crb.c | 159 ++++++++++++++++++++++++++++++--------------- > 1 file changed, 106 insertions(+), 53 deletions(-) > > -- > v2: added sanity check for start address of the control area > 2.9.3 > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752720AbcLCSks (ORCPT ); Sat, 3 Dec 2016 13:40:48 -0500 Received: from mga09.intel.com ([134.134.136.24]:58740 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752585AbcLCSkp (ORCPT ); Sat, 3 Dec 2016 13:40:45 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,294,1477983600"; d="scan'208";a="38636342" Date: Sat, 3 Dec 2016 20:40:41 +0200 From: Jarkko Sakkinen To: Peter Huewe Cc: Jason Gunthorpe , open list , "moderated list:TPM DEVICE DRIVER" , linux-security-module@vger.kernel.org Subject: Re: [PATCH v2 0/3] Locality support for tpm_crb Message-ID: <20161203184041.uricudobg24bs6se@intel.com> References: <20161203175213.10210-1-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161203175213.10210-1-jarkko.sakkinen@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CC linux-security-module On Sat, Dec 03, 2016 at 07:52:10PM +0200, Jarkko Sakkinen wrote: > The tpm_crb driver should follow the policy of reserving and > relinquishing the locality it uses when multiple localities are used, > like when TXT is another locality. > > Jarkko Sakkinen (3): > tpm_crb: map locality registers > tpm_crb: encapsulate crb_wait_for_reg_32 > tpm_crb: request and relinquish locality 0 > > drivers/char/tpm/tpm_crb.c | 159 ++++++++++++++++++++++++++++++--------------- > 1 file changed, 106 insertions(+), 53 deletions(-) > > -- > v2: added sanity check for start address of the control area > 2.9.3 >