Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp657164iob; Thu, 12 May 2022 01:37:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxizx3GA86cWylnFnMo0C/40WrWpWMkqSszaUbuII0bQsqawbudTXDjcCybmWBBu1F8IUCy X-Received: by 2002:a17:90b:3c86:b0:1de:c783:b8f1 with SMTP id pv6-20020a17090b3c8600b001dec783b8f1mr7033180pjb.105.1652344662102; Thu, 12 May 2022 01:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652344662; cv=none; d=google.com; s=arc-20160816; b=botGrEHm3r1Um8SiNAFom+rcoFN9MAZLUDENntQZv2maRBe6PkeAkt5vvxMu9MNaTy z90nLM4uMho2XGy4nOwpvbl7cg1+Vq9SEQk9lNUxmeWTLizqZOtWUS15w6q7EhxGt4Bz 1Zkzzg5UOlo6vR2FGc1vw3tmajqVPfc1jelTfvqXw7pPLvaXAlAn6x3w24NvTRB7/1Xs fvlBX3ZcVoNCLtj8GJRGIitrPNw7WvNteMJX9+ni/fbMabmRlW8l0UzjctQJ3eX6mlI1 6Yv4kuZfzBEot8mRRJUQF4PD/V7zEwRxPa2hB7G5AjhAUXd9cDbcukPmeKYElMN00Nlp oS9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SHSgL3WZ08+11OOzAoJM4nMkQRVl83ZKOBh2ngAxKk8=; b=qpR3iZFJ6DJFBuZ8I5hEgjSOBILG48nvr7e1GXrXuE7FWvbIW0cbSj7igBKSg1hYZH jAUcaBp6GMDAEWvZvIfYkroPMFhx4wURZrwrJl7N/YuBj7MP/YxrymIAAyMfNEQ+V4+S c15Sz0XBscU/RyRykJwQTQy1k99iSiv1w9STRLihdkBbyWfywohhhUwXY3wU2mkAZ19u eto3fmKEtW9ErIB5M/0z/A9cUyISQ0BRYgEDpeULfYz8s5jhiZEONKTznGcstZCsBKZH JzWfgg29ovU7YpypmovMYwotFPAmTDWWLAhvieVHgvL9lNKOEvdar1I2hMqkdS394AkP DD1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JmM9kI5L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d12-20020a17090ad3cc00b001d996a5c5e4si2928796pjw.128.2022.05.12.01.37.29; Thu, 12 May 2022 01:37:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JmM9kI5L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234766AbiEKL25 (ORCPT + 99 others); Wed, 11 May 2022 07:28:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239732AbiEKL2s (ORCPT ); Wed, 11 May 2022 07:28:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D6C823E280; Wed, 11 May 2022 04:28:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 96B99B82075; Wed, 11 May 2022 11:28:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02FADC340F2; Wed, 11 May 2022 11:28:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652268511; bh=N5xgX5dJUJXdldanftjWLLJPgFd3eQMkcEKdIzdEgh8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JmM9kI5Lc350ttS7YDauDlzfANOfilw5gnBVzp7rR8aBAFFpaSNnjXCOXz7bfuO/S pHFgS7p0O19paJxLFKb5lZKZGSvVd5TXYmgoZX3tVKVxyU0IXJ6OEraHFJykGmUpHb 9PAqeONJVRxGaP+rBFTESq1XPBtcq25z5h/8cSDS8d6tr9gu/cFXDXJrgpCIe7VrP9 WdEguRYDE5Bo6C/dC7gmnbQaTGkxwhJm0y+frZEjQeyf9XnUAitZZV2/ZeQWT/cPHA lGoIfC4yboBXZaygS0czOnIHNiotve7/0gT1DXWkdDEmR0M0b+SZd1AKfbVzdcbqaM UiClxVqQGkyfw== Date: Wed, 11 May 2022 14:27:01 +0300 From: Jarkko Sakkinen To: Lino Sanfilippo Cc: peterhuewe@gmx.de, jgg@ziepe.ca, stefanb@linux.vnet.ibm.com, linux@mniewoehner.de, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, lukas@wunner.de, p.rosenberger@kunbus.com, Lino Sanfilippo Subject: Re: [PATCH v4 2/6] tpm, tpm_tis: Claim and release locality only once Message-ID: References: <20220509080559.4381-1-LinoSanfilippo@gmx.de> <20220509080559.4381-3-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220509080559.4381-3-LinoSanfilippo@gmx.de> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 09, 2022 at 10:05:55AM +0200, Lino Sanfilippo wrote: > From: Lino Sanfilippo > > It is not necessary to claim and release the default locality for each TPM > command. Instead claim the locality once at driver startup and release it > at driver shutdown. > > Signed-off-by: Lino Sanfilippo We are doing what we're being because of Intel TXT: https://lore.kernel.org/tpmdd-devel/20170315055738.11088-1-jarkko.sakkinen@iki.fi/ Unfortunately cannot accept this change. BR, Jarkko