Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp124737lqf; Fri, 26 Apr 2024 01:23:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUNoNtEUjSu4mUQNgfFPLcVyz/O/fiTjEuv7rcq5MUemqd7DR8iGI/fj6EuozxdQcQ4YXNAQPXpSvQKoNGfRQ97Jv0bk77gAjExsbfugA== X-Google-Smtp-Source: AGHT+IGFFvfkp+K95IY4bqAv1wyPu1mvsK9LoWYs2fFvyiRjTqgDA8jwip17Bn+o0VZQTcikpNbm X-Received: by 2002:a05:6a00:22c2:b0:6ea:bb00:dbb6 with SMTP id f2-20020a056a0022c200b006eabb00dbb6mr1969777pfj.8.1714119798546; Fri, 26 Apr 2024 01:23:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714119798; cv=pass; d=google.com; s=arc-20160816; b=TLhvrsL7FhTrKobG0WMFipBPGUE3Sr5OxMxWAf/+sZ0KjoqmkOuiv5CM5cCFBsdKjC L/gkBMcdIEsorsl/XcPRvtWda9I1LCjaY3btG8PEjrNUcPK8ZkLJ9aMBQKZAeKqWbB6D 35sV0IIb0JVZjumZQzACWE5/gwSJ7fFzMZySmn7EQLOMFaBsviQYW3GaGBFpSc3vuIVX OvvyG/x/y6JqMbtcOlxgSq9cxSlvBDS91/apxDNRXh7TxM9YUYtdDkzVqTJIDvszFLsk c0er/FEHl5MHEO63s+Phfxjrk5quezUpPqCNf6/omNbo8G9LAGQkLvpgBWAPQzZp5cVy o7mQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=XksjV31GmF0RJcKDj+rdXWjazudnL5P2SWjBdN37Xxo=; fh=UJ7oxvEJTAkaAiwgBE9hLsdhkx4FqNq106OqbF8cl8Y=; b=hI5l1F8PgsCpGtDriFe/VvQpVr50x4jpLiAl4KfVYbCL/POEQVsR1LXlmJ4wFg7JAs nZTwikadovyOT2GqQ5khJGX/FS2XdfhJNRZuToSIZh7U1ODqHWJOmFcRUoficVtDN7iw nisBjSPj/DS1E0jppV/SSjYEHF9NDWCeUFkH5E/o7S6c9pSX5SlcSEXoL+ybpjcBus4W 2trhyofoD5j3ZzekP1ekj6Oo4t7QEC7s5jeWwOrqu6vZ08RGUOOTSEi1qctBeA1zlfp+ WcRqcS8LOPkJeyBkk7IcjMAaeZOBvYoj3UkKjEV0I6G4p7ei71RKPP8jRyOwPLi65Mzl jMtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vQdJpHdq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-159690-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159690-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. [139.178.88.99]) by mx.google.com with ESMTPS id i70-20020a639d49000000b005f7fe1893cbsi12676862pgd.527.2024.04.26.01.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 01:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159690-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vQdJpHdq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-159690-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159690-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 F3DD02835A1 for ; Fri, 26 Apr 2024 08:23:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 765A613C9BD; Fri, 26 Apr 2024 08:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vQdJpHdq" 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 941E842A9B; Fri, 26 Apr 2024 08:23:09 +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=1714119789; cv=none; b=XSuacc6BgZ0q4fzpnMDnqKkz20OKf79iVYRwdRe6SstXYLQXQaKp6nHOlzM8ZQmu1RlVOjj0dL1mcHjXcVQn0fkKw/Itk0/P36yMHjsFXI7W9HqcBKlWPiq8kWbmWmxo4EPyz2nnYp7eDkz7WdXUpkA4PAaFPA7KKDR/3YKr7pI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714119789; c=relaxed/simple; bh=XksjV31GmF0RJcKDj+rdXWjazudnL5P2SWjBdN37Xxo=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Cc:Subject: References:In-Reply-To; b=CSzjQOUqGeM2gr0d5HJGZogJjHr1ZHcgItlKH+3qGV+pqXUh/RN/25l9hTV005vIcalHDUQhCO/h9shdJbZhJqddN6jESxCnlY2SAZkLpU2L8kWA17/fQmiafM6YRvh1JuVhxcI+gZsazoZdG8C1dFbnQIkmj+uZGw5FL6XwZC8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vQdJpHdq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48F16C113CD; Fri, 26 Apr 2024 08:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714119789; bh=XksjV31GmF0RJcKDj+rdXWjazudnL5P2SWjBdN37Xxo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vQdJpHdqJHod4X9CHpGG30biB9tBc6HLmIcjritXnSMyNw7ehkNnbmMa8OCchodCV LEnSeQk6b29nlWfaejFPfobfNz6fAnspDnQyBWAsEUzYYjc2t8vklAECbTd70Xb4pE ZIbcb/vgsKP73RruTGiL3GgKq+bol0rcx2KENOnacpY3Nz21wrnPaSNu74Q+pcaVag sdgL8ap0TQGS031h6wGwKSOmcatP7sxVe/ODv2y6FJi5Gsej1CCxpKoysnRDL7ziwH qPs6wrJxJ0vYsX0ybS0j/5Rc6DvfJWbXJFp2e1cBiF0U8GZyZUh1FNVOpM/TdjEDJ/ bFpKRWb34cCww== 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, 26 Apr 2024 11:23:03 +0300 Message-Id: From: "Jarkko Sakkinen" To: "Mikko Rapeli" Cc: "Lennart Poettering" , "Ard Biesheuvel" , "Ilias Apalodimas" , "James Bottomley" , , , Subject: Re: [PATCH] efi: expose TPM event log to userspace via sysfs X-Mailer: aerc 0.17.0 References: In-Reply-To: On Fri Apr 26, 2024 at 11:19 AM EEST, Mikko Rapeli wrote: > Hi, > > On Fri, Apr 26, 2024 at 10:40:20AM +0300, Jarkko Sakkinen wrote: > > On Fri Apr 26, 2024 at 10:35 AM EEST, Jarkko Sakkinen wrote: > > > On Thu Apr 25, 2024 at 5:01 PM EEST, Jarkko Sakkinen wrote: > > > > On Thu Apr 25, 2024 at 12:58 PM EEST, Lennart Poettering wrote: > > > > > General purpose distros typically don't build all TPM drivers int= o the > > > > > kernel, but ship some in the initrd instead. Then, udev is respon= sible > > > > > for iterating all buses/devices and auto-loading the necessary > > > > > drivers. Each loaded bus driver might make more devices available= for > > > > > > > > I've had since day 0 that I've worked with TPM driver (i.e. since 2= 013 > > > > > > - had the opinion (typo) > >=20 > > Tbh, I have zero idea what this discussion is about anyway because the > > original thread *was not* CC'd to linux-integrity and I'm not subscribe= d > > to linux-efi. So next time put all the relevant mailing lists. I.e. > > definitive NAK for this patch. > > Sorry for not including linux-integrity. I added maintainers and lists > proposed by scripts/get_maintainers.pl for the change which did not touch > drivers/char/tpm/ though TPM event log APIs are clearly there. > > The full thread starts from here: > > https://lore.kernel.org/all/20240422112711.362779-1-mikko.rapeli@linaro.o= rg/T/#u NP, just add CC to the next version. I'll download it and check through once bandwidth. > Cheers, > > -Mikko BR, Jarkko