From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099AbdEPTck (ORCPT ); Tue, 16 May 2017 15:32:40 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49088 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750970AbdEPTci (ORCPT ); Tue, 16 May 2017 15:32:38 -0400 Subject: Re: [tpmdd-devel] [PATCH v4 2/2] tpm: vtpm_proxy: Implement request_locality function. To: Ken Goldman , tpmdd-devel@lists.sourceforge.net, linux-security-module@vger.kernel.org References: <1494460462-29022-1-git-send-email-stefanb@linux.vnet.ibm.com> <1494460462-29022-3-git-send-email-stefanb@linux.vnet.ibm.com> <484d5d9f-c769-3e38-4fe5-6dede79de717@linux.vnet.ibm.com> Cc: linux-kernel@vger.kernel.org From: Stefan Berger Date: Tue, 16 May 2017 15:32:33 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <484d5d9f-c769-3e38-4fe5-6dede79de717@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17051619-2213-0000-0000-000001BA7541 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007073; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000212; SDB=6.00861395; UDB=6.00427234; IPR=6.00641058; BA=6.00005352; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015484; XFM=3.00000015; UTC=2017-05-16 19:32:35 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17051619-2214-0000-0000-000056236143 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-16_05:,, 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-1703280000 definitions=main-1705160155 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/16/2017 03:03 PM, Ken Goldman wrote: > On 5/10/2017 7:54 PM, Stefan Berger wrote: >> Implement the request_locality function. To set the locality on the >> backend we define vendor-specific TPM 1.2 and TPM 2 ordinals and send >> a command to the backend to set the locality for the next commands. > > When this says "for the next commands", does that mean that the locality > is fixed for all commands until a new request_locality is sent to > change it? Yes.