From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FD824D8CB; Sat, 2 Nov 2024 01:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730511567; cv=none; b=U/9ZMjRpGAgmbyENKwXHhCaSPAzWMf3yZQa4szyiyA/pkQbBVKjLwLfIoh0jEHKffxy0Tz/TrpgG30h6J+UHwfa7sMK3Mc9cV9YXOOpXVeL5bDFwbUyzA6bvvxVtUlFGk82mGRoCyl/lPAWk33savnAX9zUbl25ptbe3B/cJuYY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730511567; c=relaxed/simple; bh=IaQl3xXmqIlGoa3l2q44Qr4bCwT9TUCnkQYdd7ZyWj8=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=U9ZD2Bwxu+CbgFVnp7ySS1+tK3c9yx+b7XOmOIcEzMGplzKzQUEH2nvCVqRCV5lOZBBA/LWQMilih8/Gcigo5yHPmlPVTUUcW+1qFet3OWotBFqKNIm2+mlvqIf/ldbl3K3OiclL3+jlIgxRv+SiukITl0p5g6JtvP4EcUlz73U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EvhPienQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EvhPienQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3256AC4CECD; Sat, 2 Nov 2024 01:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730511566; bh=IaQl3xXmqIlGoa3l2q44Qr4bCwT9TUCnkQYdd7ZyWj8=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=EvhPienQsr02gNyzBolx1UhCJ1qhimKmTyH8tA5JP3/dkX+EovpwLa10jl07kvICq KpjNiRsz5REVf64QX57lOuT87MNvpT5g5w6ffxRJyyjmVDpY6cx7XeCGLV7CysMFvC 6i5LijMVHR3jTYdYodnQ6JGKQwo3kWdWKkJJ6M1GSfUKXaiqlikzWWiMUMbGnJgLWY ltTyzV5iKNMLr50jdOGeUr5p47Mt+AiPwQHmRp+7k++aOyeMHbe3snlraOgayvuE0V CtDIMGLaLyzX6DxAVngENUmyJsjNyLd8ANfd0St0wbfWjF03CtcrVd+smY/rs6q2YI /bFbtGlgGYLEg== Precedence: bulk X-Mailing-List: linux-efi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 02 Nov 2024 03:39:22 +0200 Message-Id: Cc: , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH] tpm, tpm_tis: Introduce TPM_IOC_SET_LOCALITY From: "Jarkko Sakkinen" To: "Jarkko Sakkinen" , , "Jonathan Corbet" , "Peter Huewe" , "Jason Gunthorpe" X-Mailer: aerc 0.18.2 References: <20240913200517.3085794-18-ross.philipson@oracle.com> <20241102013716.1036396-1-jarkko@kernel.org> In-Reply-To: <20241102013716.1036396-1-jarkko@kernel.org> On Sat Nov 2, 2024 at 3:37 AM EET, Jarkko Sakkinen wrote: > DRTM needs to be able to set the locality used by kernel. Provide > TPM_IOC_SET_LOCALITY operation for this purpose. It is enabled only if > the kernel command-line has 'tpm.set_locality_enabled=3D1'. The operation > is one-shot allowed only for tpm_tis for the moment. > > Signed-off-by: Jarkko Sakkinen I hope you could take it from there if this works for you in the big pic, and address possible comments, thanks. BR, Jarkko