Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp373846lqp; Wed, 22 May 2024 07:11:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJBVUVvUP+cSDzRz8Bn9GfBk5ZxAb70iFYH7IJ/ToaDxpzrW29Rlj+2auahL4i/RAf3xdURncZLpPCRzWOStdJB1gbWy++nOSgE1/tUg== X-Google-Smtp-Source: AGHT+IGoB53bidO+aa8C98gzM7ROTippThuRxXJK1e1ZsiZ8epuD1V1huqkQ/djtKsmBWIohc55j X-Received: by 2002:a05:6a20:551d:b0:1b1:f122:6610 with SMTP id adf61e73a8af0-1b1f87f9c2amr1776646637.26.1716387098960; Wed, 22 May 2024 07:11:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716387098; cv=pass; d=google.com; s=arc-20160816; b=lbxh3wYLcKwIdvKn0KArxUK9wuzJI2gS22lZAy56346FxwAzVnwH//FQ8mxn5jGDX2 nwB/owzFt27aWztQpCdY5cHXc+GKU+HkNdqlu5IaOidkTehjIzxOUgFzO76PT6cdWWal srrQdcFB0D7x/dmd0RWCA4Hh8HjeTEnKyZQ2zPICnIxrryObPwEGJmxRKnOHQvn+Ol6n /s/n+tGXPKX1IkoFACJhB5Rqyn0zRVw9F4n6fhVJvn2O94omcooYoUpThBNy/tbekSlP 5Q8ngcO1cWh9zY9brakvWuFhZcsSm5+T499yexoz5FuVUKr1pm3EACW0Exn1WrF6Jfox dlSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=njA8fBXlOHztiJ2xMghKOZF0t7H4rc4Uo6Jto1c0eUs=; fh=20KS/LMY7C6/+MxQQSFi6sKJbpuhxOf4OuF2xMbmAUU=; b=XrPB+9P8NuF84BmAWfq3uJvDLAeWbkhTGqooOX6YJG6Ycw0fKUna98/9Vso5F2v1zP aBF9Ux3J4HhIIBg2HdK79/DxuQznxZrc9+SA8AaV1cM17EQ+C5g3u/E9bH0LP7EY+qeZ 6iZNbkZEJ8v92hFTq+x5Cn0MVdApI5iY2JLEuemypsRw9hBR+g2jfXKCR1CnZ6r+vWcn 9TAd+iSdaFYVKJNRdQZSo+6nJZsHDLi2aYNI0B30aVct3FFKjgkVYhpZgPo8opiqamyv UBueF4N1+UBoQ0T7YCQKlhm5ZdF51zjKMgmBDYaFBddskxIV2RODj2wwKFJC8V9dubaH LzKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G3D4etXP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-66b1f0fc8e0si6043129a12.16.2024.05.22.07.11.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 07:11:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G3D4etXP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5DC9C284E83 for ; Wed, 22 May 2024 14:11:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CFAF1420B0; Wed, 22 May 2024 14:11:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G3D4etXP" 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 B699C1411FE; Wed, 22 May 2024 14:11:16 +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=1716387076; cv=none; b=cb3lM0J7REiJaNsK9Rq9/ySBwy5AefrVB1Tniz/Qfq88E56V4yzF5kRVMiHxiBB0RtWhh/9ee39zfrEab91gnbgZ3KpN+Fh/knxaVRN0yM15xN+0t0Pe3vikagfgAGAb36l6yH7PHwJjGG5hdP92p7ZYv/7R7odUY5z8P1d01ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716387076; c=relaxed/simple; bh=i0uNCMea2P5BSrMwzAs+tJozqiJ606o60R2EKj2hu44=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=F42bRz4mrlC2g1taABeyJeJBGhvmqnlR9ciC4iejLLVOS7P0icfpRPa2Jr1yv9oJineQBf3AI5enl1Mya4/WBT/sjuhiHrAI23RRK0NI4csWsbv7TZS8DXsoVm2v0qsSDSwUCrvgdM/H8Ga03BJrbdzK0QMeLQgHZIfVEsmSOlU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G3D4etXP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F04A3C2BD11; Wed, 22 May 2024 14:11:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716387076; bh=i0uNCMea2P5BSrMwzAs+tJozqiJ606o60R2EKj2hu44=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=G3D4etXP/vF/2KJdFfmuTxVq5JGIfI7gl3yMi+Vj1ne87GfOojtifT9QRPoR22DRu qx+cmGkuq7mHAvotUUsikOeYBpHP/nRQLGHxxz5ijte94Wf0GWN1O1pFe9/AniRWlK +Ss+PVi6FKOjpGpOj2R2P9Q6rEFQ9apDURqoEtrpKB2AnWyPNPzIpP+sro4v1iCjcb lj9CEk8r/C3Z9CLDJngISvuoBjhrTBj1SJ8D4HgCGMAOav45foaRiPY0ohRwCsZFpV VANFrPufEX41rRgmQNFvtpJ0XiRdXsO+sNNBAdnqR4XAFQTaeSNLy1Lnj+Rv+kftcA zT0hUMe31U5YQ== Precedence: bulk X-Mailing-List: linux-kernel@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: Wed, 22 May 2024 17:11:11 +0300 Message-Id: Cc: , "Peter Huewe" , "Jason Gunthorpe" , "Mimi Zohar" , "David Howells" , "Paul Moore" , "James Morris" , "Serge E. Hallyn" , , Subject: Re: [PATCH 1/3] tpm: Disable TCG_TPM2_HMAC by default From: "Jarkko Sakkinen" To: "Vitor Soares" , "James Bottomley" , X-Mailer: aerc 0.17.0 References: <20240519235122.3380-1-jarkko@kernel.org> <20240519235122.3380-2-jarkko@kernel.org> <850862655008f84ef0b6ecd99750e8dc395304d1.camel@gmail.com> <17dc838120b56ce342c34611596c7b46dcd9ab5a.camel@HansenPartnership.com> <2dd8d49516ec9c7cb8c1182b5b8537b1e82d7067.camel@gmail.com> <56e52200bd9ede6bcdcc907d24bd4a3e0dddd24f.camel@gmail.com> In-Reply-To: <56e52200bd9ede6bcdcc907d24bd4a3e0dddd24f.camel@gmail.com> On Wed May 22, 2024 at 4:17 PM EEST, Vitor Soares wrote: > > 1. What is the aarch64 platform you are using? > > I was testing this on the Toradex Verdin iMX8MM SoM. > > > 2. What kind of TPM you are using and how is it connect? > > TPM device is the ATTPM20P connect through the SPI at speed of 36 MHz. > The bus is shared with a CAN controller (MCP251xFD), so both mues work to= gether. > > The dts looks like: > tpm1: tpm@1 { > compatible =3D "atmel,attpm20p", "tcg,tpm_tis-spi"; > interrupts-extended =3D <&gpio1 7 IRQ_TYPE_LEVEL_LOW>; > pinctrl-0 =3D <&pinctrl_can2_int>; > pinctrl-names =3D "default"; > reg =3D <1>; > spi-max-frequency =3D <36000000>; > }; Thank you, this exactly what I was looking for. Don't expect any improvement to the situation before rc1 is out. It is better to investigate the situation a bit first. E.g. some people test with fTPM TEE so this was pretty essential to know that it is a chip going through. For tpm_crb we should actually disable HMAC at some point. It is essentially a performance regression for it. BR, Jarkko