Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1126359lqd; Thu, 25 Apr 2024 06:50:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0FVxDUrxcvd3rIxnU3aY6N6TlVrcC8neNY0UWj3x+qEKw6rDRHzXBNfY4iFQylNRgdRUTd7Z80It39bMdYQu+E/MSSZ6ZL4/P/U1fTA== X-Google-Smtp-Source: AGHT+IFO3QOu/oyScCz3VnaW8RI0XU8yUtJEEsGY/xJpfm8nzrnMBmKLBiyY7UP+KjtnzHQsv7kL X-Received: by 2002:a05:620a:e0b:b0:78a:34a0:6354 with SMTP id y11-20020a05620a0e0b00b0078a34a06354mr6317205qkm.42.1714053027255; Thu, 25 Apr 2024 06:50:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714053027; cv=pass; d=google.com; s=arc-20160816; b=ivUcljwHchyV+9FirjgENSVDZ0RGOcHcK8SSMQLqXsdUOYj+3TCbVIXbMK/D8HBmAA tASbcLg6uRs2kJ8OiJn69fdY0LYuT5Wy/do+qQi6sY2NQ9QYKF9lCxUpeeT9x3+FinvJ HFVIzohgUlFFbERc2q0BfmlkyYijkLgJEd++QFB+wzifmoEmYtD75xamqPshVIB3UUYb fGJ8cvMX9xkd1/odxnI/eyDTFHqdxVVlWTGsVb38tbeHEGwppdpcjgEGLx0F5H28CILO Qg3QjjcRv9eDqOTfAUlDQlh+Ih46wa6ZTbRMgMRa8czzcM/EOSxmN1uwaQSZ+vsRRpnI Ca8g== 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=Ur1epNZf8SCZnUWyUB9wg/o/oFYnayGEc0XHX1GcfLQ=; fh=G+82pgQOAPtrpMXZ/A2xAvf2F/+Ilnxr525qATWhCCM=; b=nj896EuHBnOmV/7DuM154rMCzIpPoNSvkXVXRUosDYVFBhf+KW3HUFHR8+GFTjTxHV mOwVbnApFLYizwRQ+oeO0NURk8WGxqoA45ZG9fZNEbdqr8B2xlgXMT7ic9umVBrbZnJ0 IAUKbhMOcrQiBvkSXwI89Qf1PvtfLmSus0tRJ+g2RmPYRffaiy7bNcO8EfvrgYseUG9w FOhDxgMBR9BMZwydAH5FCUBKwngTnzNW7Ec5YWo3issVH11JYW5+wu2mZPnCgqhIogn5 PzckOPW6/gQAYqfGZMj33JMz9+xCCx9tJ1cC/7W84f490InCqV6JUWzVZuyQQtgMXWS2 a0dQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hsQusExW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d11-20020a05620a136b00b0078f1998e058si14028685qkl.101.2024.04.25.06.50.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 06:50:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hsQusExW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158622-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 F3E721C20CDA for ; Thu, 25 Apr 2024 13:50:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71B92149DE8; Thu, 25 Apr 2024 13:50:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hsQusExW" 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 8D6EB149C58; Thu, 25 Apr 2024 13:50:19 +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=1714053019; cv=none; b=qkmAYjegJDCKF+OwJiA2M+Cdf9T1fgSHb6rKqlsJbDXj6wCrmXE16lkp6bQDc+qKKYSkzqoyRyZ34Si1gcAAqssnTj05RIn5t5SRwhVeNmlJJgGF6aSbgXz3pjtFxQYcW427/W8aEuLPvXPnKbrni0K8uLYgyxHpWM72u4ZUowE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714053019; c=relaxed/simple; bh=Ur1epNZf8SCZnUWyUB9wg/o/oFYnayGEc0XHX1GcfLQ=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=XW9wWcD8FIitBWjfPptFZsd0nFJEa3YhLXr09eLvomrMBEfG9r2iyoCSViy/IxG/K8HN5Kro06hbPFEDJAlmfzpT93zYFoQNV8YzJF4+9rqjiafnIWZvpkbzUabh2OE2K/d5GrgUdeor4OVkbXhh+fn511uDTBAPll3nXkctD1Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hsQusExW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C1C6C113CC; Thu, 25 Apr 2024 13:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714053019; bh=Ur1epNZf8SCZnUWyUB9wg/o/oFYnayGEc0XHX1GcfLQ=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=hsQusExWR2QW6FUkSSQmS3xalGLAuYx1GjdG3KA+/XywcRX3H76mf16mWBb3JVzY8 Slatpr/xGEwnRfFlrPvFDACKSKsgV6b2gGb0eNFBKtt5ETtNW8zfR2qKNwVql1llVk ZxVQLH1JKqT77/3QmXl020gwdwyvNPMZEkCAaRR6+RRwngzHANS9QF5Tyy94liaglN iM+4kVVxou/MgA6JVSTPWT7e6SMzaPXO9hQm+r9jNhg8b8n0BYCGUFrdSAw8yn2g/k q4h7+8UNlj4FqqxITYnHmQm2PpWkMgaB6SkXIaWDDRBG5AMAjH58ze7uXrsztnsL0A q1Dyh/Vc7E8SA== 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: Thu, 25 Apr 2024 16:50:14 +0300 Message-Id: Cc: "Ilias Apalodimas" , "James Bottomley" , , , "Lennart Poettering" , Subject: Re: [PATCH] efi: expose TPM event log to userspace via sysfs From: "Jarkko Sakkinen" To: "Mikko Rapeli" , "Ard Biesheuvel" X-Mailer: aerc 0.17.0 References: <20240422112711.362779-1-mikko.rapeli@linaro.org> <6e751959b9056884c1b9d3ba23e303d1737d8763.camel@HansenPartnership.com> In-Reply-To: On Thu Apr 25, 2024 at 11:56 AM EEST, Mikko Rapeli wrote: > 1) is there a TPM device Translates to "Does /sys/class/tpm/tpm0 exists?" TPM version can be determined with /sys/class/tpm/tpm0/tpm_version_major BR, Jarkko