From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796106838; b=lMCpT9ftdko8zxwsnH7DQcBLnkCN+NfvylHWTpGR8DZb1skivXJyQroe5waYHAaL4C4Y jUw3iAjVc5ZrD388cmD7y5dfXHnARx+DoXl+uEikheEtbo+VwTgaChh1Ob1fTUnWuxrxP 8B8Tm2cyRCrGP+rKoM20cGaGPKshJrQprJAqT+u+ba89ga0QFrLeDcFvR5sMuqI5KPs5q rvT0RrOmjS0GjQeNRMjd+xgaIIZHPXwO+boBuJdRG5I7AJKtaPdpk8CJ/XHqDqbB7xKES eXCqVXpoXDPZWKtJe9/DYnb6a/GIQUS7Ju80T+BycY+ZwjhJne6OlzCGXlgZV1oqaIg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796106838; h=Received:DKIM-Signature:X-Mailer:From:To:Cc:Subject:In-Reply-To: References:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=GNW+tga7oIOfkYoUZLXpIwynKBSltY3hrf5GfzrW+Xo=; b=VZiYI989bovmuUUfjCTz+UZbkOFs/s17Mx6JWWn5K1dd4khAhE8cWw4YpdUOHcPdffBg PM4CEZ4I05+3etN4CC3Z8ZrBVENiI5DOWKIEi8udCIR+TYsRsZLeARt5o0oqZRzRWTU5h dV8dMZbMfFCWxkFXbEfEBYaZDcbnVkV0wqlob5RE7CGiNBu6SOtbYFThRVIGJmLeWVszN y0Nwp5cAXiJz5ZQA1u/dRZC9e5w58E988JqyydrG0ghCMVoDaVvEJ3uQfakCA8RMYPDyM JpD34ZOil5duWFrBns1C3e5JcEfYKZDFHj8z+m4GaELjZMY5hjoRVrQlM5eqSm+q0iQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Hc64rA06; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B022606A325; Tue, 1 Dec 2026 06:33:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Hc64rA06 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2615F1F00893; Tue, 1 Dec 2026 06:33:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796106837; bh=GNW+tga7oIOfkYoUZLXpIwynKBSltY3hrf5GfzrW+Xo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Hc64rA06Z1tcCDkVOfLS7pY61ysfEXljH8M2LnO89FWfV8MTDW90sn1EzwUcOsLXh jMj52F1sFZDFQTHil5Jc3G7KIe3MnrJxS7CYApy6mftvmThid/rsf10XX94I2KQ0cj uGfTTXgoDyNkTnWDSNyaKtRZa2tIHQ7Gs3T1A/8udek+hallIp9hIfVEnz5itas3vm b7IXP5Knrf9nktU4K+CBEDn6VyjOAWMVN+btBGfIaO5kytiXbvLBN7z7q4plYS6gcv CjZe0JJyipe06ZmIUr3/Hrpf383ecYhbK/nKo8f2jHXToMR+AKC+qhAkSd7/n7ixhE s2PFpbdJenqdg== X-Mailer: emacs 31.1 (via feedmail 11-beta-1 I) From: Aneesh Kumar K.V To: "Reshetova, Elena" , Jason Gunthorpe Cc: "linux-coco@lists.linux.dev" , Dan Williams , Leon Romanovsky , Bjorn Helgaas , Jonathan Cameron , Xu Yilun , Alexey Kardashevskiy , Greg Kroah-Hartman , "Rafael J . Wysocki" , Steven Price , Suzuki K Poulose , Lukas Wunner , Ashish Kalra , Tom Lendacky , Herbert Xu , "driver-core@lists.linux.dev" , "linux-pci@vger.kernel.org" , "kvm@vger.kernel.org" , "patches@lists.linux.dev" Subject: RE: [PATCH v1 08/10] PCI/TSM: Add sysfs lock and unlock for guest-assigned devices In-Reply-To: References: <20261123083337.2731019-1-aneesh.kumar@kernel.org> <20261123083337.2731019-9-aneesh.kumar@kernel.org> <20261123152738.GF179082@ziepe.ca> Date: Tue, 01 Dec 2026 12:03:47 +0530 Message-ID: X-Mailing-List: driver-core@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Reshetova, Elena" writes: [ ... 138 lines skipped ... ]=20 > > I have a question on this: > "Independent host audit must not change guest-visible > data; current CCA has no separate host-audit measurement operation." > > TDX is the same, i.e. there is a single command on the host to collect > measurements from the device with a supplied nonce > (RMI_VDEV_GET_MEASUREMENTS in your case, TDH.SPDM.MNG > (GET_MEASUREMENTS) in our case).=20 > > But in my understanding Jason previously said that there must be > a way for a host to collect device measurements without changing > guest-visible data. Do you plan to support this in ARM or can put a > restriction in kernel that in such cases (FW is limited) host userspace > wont be able to request device measurements?=20 > This userspace interface is fully missing from the above flows in the doc. > Yes. In the patch set I am working on, the measurement and interface-report sections are optional in the evidence bundle format. With current CCA drivers, host evidence-get returns the captured certificate chain and available transcript. It does not reuse the guest=E2=80=99s VDEV measurement operation for host auditing. If firmware provides a host measurement operation, we can expose it through host evidence-get using the same bundle format. -aneesh