Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp468478rdb; Thu, 1 Feb 2024 14:04:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZtz1xt6B0SmuktHHA8wuYQLznAixJ12R6PZIAFKGh0h/7W+ZlScNyqHUOuZ+bWTFji3ce X-Received: by 2002:a05:6808:144b:b0:3bf:630a:d2c5 with SMTP id x11-20020a056808144b00b003bf630ad2c5mr448969oiv.41.1706825042437; Thu, 01 Feb 2024 14:04:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706825042; cv=pass; d=google.com; s=arc-20160816; b=mG1lxuBJlZCwYPyV8Htu738ND3iIde8aMz1WY9FmVARfHDkYQuVUxmFzu6yq8fuxk2 /zE1oP2BsZtjPZpHVlSnRbBvlrf1yEc7n4obyAdyDGoOdBnthSIUiK7LmiaDnz9Axy3a m9IGw9qzotnlrYyS9jgDSFR6sIJiwW6s5zJwyqqV4FiBNWsZ7RgSPSxM+QlEqEL3nnni DQ7BMKS919uJrNykMIdswndlHVz+krFwJV6JB8Lub9qBb2PqgJYKK+WZgfs9Vacm7fBG aa0W6sSt9WB1F+O0h28sGNVHbS+QD+C6Iy4hlxpTXmRbCc60bZxSLyxUboLcCpkf5AXX 19eA== 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=DyfFCo9ypbopk5SXJ0mM1Wja7KYemHh8D4kOapDKtP4=; fh=2sHEgil6mlV0qot5A90RKoXnOmswD9ys9Al+tilBAoM=; b=F8EghEwksZgK9oua1kRRRHOR/a9pKQ+/jX2d//L76kqggVFc4X2Hq/n7mKujDEZNfy mQhCvB3GliOisMJixwWarS1W4p5moeUHty5R/TKgG2BpOmODhh8NtVc9vJdDC+rIqLwF +MeXjm/jeDKmPEBw1//Yd51TRU/7hbWPBOXMV7KRBRAL8qxmPD8ADu/xh3xIZ3F50Gql 5gQDPStrmkpV2CAv8OP35zJ1RcP+B7U1LeOrjwTW2bEfNdZHvugovhS0yg69Ar6IVaM3 N2g1i6jIDND4WNS3BYkxjS3Lg6S7M4yUROgzpssxTeLahouhBF/4SkR54z1u7FO3ejec PMJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HWcbKjK0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48909-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48909-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVVsZ+62BMFmuEGK0ZXIYFqjsPEX0pICQAX0aH8z1h2mYX2EIjLRTQn4fzL0PXOeMCYhCu+fOFWfHuZJLTUBmQUARrxuP+8AR1Sm2i5IA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t18-20020a05622a149200b0042b08e05907si481660qtx.757.2024.02.01.14.04.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 14:04:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48909-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HWcbKjK0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48909-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48909-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0BCAB1C24ED4 for ; Thu, 1 Feb 2024 22:04:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7371D3FB32; Thu, 1 Feb 2024 22:03:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HWcbKjK0" 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 875853FB15; Thu, 1 Feb 2024 22:03:54 +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=1706825034; cv=none; b=kXDaIz/Xtg/E6GiuFMcb+D9JrJGbP3PgwWk++9hPFSAH8Z8eqSSJRsEbOGfLExkXAr+To+oCCUz7bMwJ73kc58OMVFQop4tJHvGsJA64k7kS7k1xI0VR5TbTo1UWtQDt2TzcozMY03PYBWYAdcuLs6PHLUSPZv2WU2XdbwBv7ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706825034; c=relaxed/simple; bh=DyfFCo9ypbopk5SXJ0mM1Wja7KYemHh8D4kOapDKtP4=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=kKbtyzFeJsdQ9yczH3tzAqVBTPiCg1Z2V86W2KnNY2NzoUUz7jc4Sgr2PlFT3QgGA1d153R6kDXLzf/pnS6k9+1eUUZmQtxarcE60/MfBLFqGy+p162aE6HXTxnZ0Oz/MCONZhALfRAA0/DPI5HdsWf6fteWgVbpPUpskwOuLZ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HWcbKjK0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B581AC433C7; Thu, 1 Feb 2024 22:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706825034; bh=DyfFCo9ypbopk5SXJ0mM1Wja7KYemHh8D4kOapDKtP4=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=HWcbKjK06tEL6KahLUGO5ozn9ZvtScnt7BO65NP1wK4PxQWrUq1rO3cbqAODtG6+S 9HwdMUVAoR3I4fCQlPqAZbOUilnxvgFviT7YRAOW57F95JDEGBat2qC98wmcSjllkI BFg9iV9O+N9tib/YDRcbREyhyHH57mu17EK+dNB2Gsjwifx1D17gHKFVds/mO4HZVy 5EHLSn82Wexxd4mWnLOaJrdZDdwmkkmadJf8uHSyZ5nEh2XIj1l14mAUSbZJ7ikyY+ AZ39XeZAYQdfW9Kr4I0UHAvFqtZKuHbwTNk6xsxtESN7Ay2kl8IVhp6AaNE7haEh68 LAyfFgRoCOh4g== 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: Fri, 02 Feb 2024 00:03:49 +0200 Message-Id: Cc: "Kuppuswamy Sathyanarayanan" , "Qinkun Bao" , "Yao, Jiewen" , "Xing, Cedric" , "Dionna Amalie Glaze" , , , , Subject: Re: [RFC PATCH v2 1/4] tsm: Runtime measurement register support From: "Jarkko Sakkinen" To: "Samuel Ortiz" , "Dan Williams" X-Mailer: aerc 0.15.2 References: <20240128212532.2754325-1-sameo@rivosinc.com> <20240128212532.2754325-2-sameo@rivosinc.com> In-Reply-To: <20240128212532.2754325-2-sameo@rivosinc.com> On Sun Jan 28, 2024 at 11:25 PM EET, Samuel Ortiz wrote: > Some confidential computing architecture (Intel TDX, ARM-CCA, RISC-V > CoVE) provide the TVM (confidential computing guest) with a set of > runtime measurement registers (RTMR). TVMs can extend those registers > with their measurements at runtime, i.e. after the TVM initial > measurements are finalized and the TVM actually runs. > > RTMRs are separated from the initial measurement registers set, and TSMs "measurement registers" and you do not need to cross-check what the heck RTMR was anyway. BR, Jarkko