Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp123578lqf; Fri, 26 Apr 2024 01:20:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUDxk/mF3LZYec07q7UOCjoIlW+ENusiHIkPykuu9d1J8b2goBsUfKIX5Z/TUPAJ9V/gJMJDYe60ALKeG6N/R5chlShGDfq0WXZv8L9Ww== X-Google-Smtp-Source: AGHT+IFIOyQu79VZsoKmxE9ZTl5pAcYAZ5gSnSKWaWx/gIcJF6QWCAHOHcxjbswbmrSz+hPiiIZm X-Received: by 2002:a05:6a20:4389:b0:1a9:b2ee:5f72 with SMTP id i9-20020a056a20438900b001a9b2ee5f72mr2256464pzl.36.1714119602325; Fri, 26 Apr 2024 01:20:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714119602; cv=pass; d=google.com; s=arc-20160816; b=alM8yOnLRpMO9O5ZH48TSogbe+WDQkWm3avsfKwExURRp33E+rSfHxwqO0WLPzPh+K kKS9fFofAqTJ73nlqi3PKCWlg7mhCUaWg5gL4WuxdLkzGR+1vDAbEA8uBnkiiz+CoIaf gxe/ozpqDTLkmSwvCMrLpkx6FP+iSLVdebXf3iz3is8bXMycNzrVd1ByiU4eNkjwsUZU 7MIQvQFzz6bjFFJLpRiXOEi7ZvIqEEEObt6c8g9akiXZmZr/VdQiWi/bJlIKa5gjaypd Fc3Q0Av7Oi+nenNana8cIp5A924undnAj1SmFkWlAbFqyZkW5qftSuf7ThBbvW2FGkcK z1pQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EfSdQv6EjCCLdGOmPdycx3ncAagFAEEu4KvAuGFd2XM=; fh=9oXf3lMIRn5V+Xr1Aho+UGROTGVNhrb9MxcK1VWYmyg=; b=pw/6qoneTyjFMRr7XluKOHZms9p+0+1FwixLB1vbT76EUDdAMiCOegN3NYkMn57bRw Ex10svDeu1pu1TUU58MXAPtGTyKN25WhKIDUg3T7zhGxrTwqlYDq9mr0SipNMMiDlKM2 PKb25jpy8eswhpug+x/qq+2gkY2JjpuDP9t4iTt5KQs28AOkwnuzhnBNmgY1+BmRD2JW ukJWEknk+/P+9D96Ah0Ef+Bjhjw10UMAMBxoG1+K0XzRWjS21PDMLanVfVXYW9HtJjBA vZ0Be8Infj1pPVDgVufbBLfYLIzEqeOt2zoCSwKh+XaA6hGMhGk0DpLvZwZcX5qohbbr w0aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=obgQPE2p; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-159684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a11-20020a170902eccb00b001e921a72b81si11186327plh.319.2024.04.26.01.20.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 01:20:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=obgQPE2p; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-159684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B1705B22E3D for ; Fri, 26 Apr 2024 08:19:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10FB213C9CD; Fri, 26 Apr 2024 08:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="obgQPE2p" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E6C413C9B2 for ; Fri, 26 Apr 2024 08:19:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714119591; cv=none; b=CutvVYEnSvr6fbKkFZexsreEPB6q601qr7mcbuWl5bon/ZKpxQXCU85GQkkbJXwO70ywOxnDdtt6KYSZKNrhnf4e3e+Osf8UlVYx3PKtURjuwtOzwyAc1g5oHvoFM2BcBuhqWfW+wG9yLImlE+irGvVcdq7VEL0wr41cFOxDplA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714119591; c=relaxed/simple; bh=kv3uHgyGw/JZZTNmwog/H4yWnQwcgVscrnTYwyYSk7E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V3FUz25/oLrULo5gKCETZYH/Wu36n2h7yuKaS+a298+eawRNOlNSbe+ErRW/79AGy91cg+DPYmGUw7g2K/wvEusKNusqjXM6L2w9idKoCLWYo2uBba0xK12xSu1Z/9gcd2gHxoP+pEgOnPMhaIlCTf6iML6LLzb55IGj2uY1Na8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=obgQPE2p; arc=none smtp.client-ip=209.85.208.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2dd7e56009cso23397131fa.3 for ; Fri, 26 Apr 2024 01:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714119588; x=1714724388; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=EfSdQv6EjCCLdGOmPdycx3ncAagFAEEu4KvAuGFd2XM=; b=obgQPE2p2X+FvV6YaK7ovQQ1WIvjiDxGG9YbiUO8l1kqZh3jWNa6DGBPQXCWlSGM/C 3gnOUaRZJz462IVeXrixYLGovItruHj3cftEZ94cs0fh/mVaMl4n/y0MIfZm+hCD08+t zegZrAFJsrLCPufTJaehHPbBk5n3Hg5HB7RBys41i/VlxkAHypQ/DPMXQG9PXHhpTJAa GtMDg/6PJ6jX/DOuo1QZI7+N8Xxq64ts/y8OMYPNWW8oM9/O55UWurpKcDF2cdpKQOSL j4w7+J+ybrhNbampjHh+k7mOsbw0rKJpwZhuYT5vJDBpdcBP16b9E2bX4EUO+0tJ8q5P BjVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714119588; x=1714724388; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EfSdQv6EjCCLdGOmPdycx3ncAagFAEEu4KvAuGFd2XM=; b=fRE4lmIKSovVaMMkLwWbpR16UnvLJuVskRp37Av0aJFRKLHcHpAmOMBaqPzc2s+8PL ttiW9Q5IpueDFA4yRej+HhTjNlk13tRFQIYBJP0ycVJe211KOgXw23adLU0ozsLb5yyF qPVH/aHL2T/YjnnrAybBuujiDOxdSaITm0cYPnBfmnjKD/liYI/FCuU8i6agC5+wtaUA SZFHaOQb/yM0HoAyZ6i07zzOiT414lS6KWFMvwNW383u/9WVilnjnD/Pwr9zjkE5lXWj WJZjoDCNAnxg+6GHW6nHyUXB+b16ZbjS9G6H1xgI6I89RKqJcbpBjlTwJQ0J/AdZeSml aS0Q== X-Forwarded-Encrypted: i=1; AJvYcCUatHrab9qq6WmPwoHReScNOt4fGTrKYnsTpPJ0B8118kWgS6wY7JXWFHyUNqJfN0/OpdGO13zBqM/Ji9ALGxHkvHKSPmsQwYyHm3rp X-Gm-Message-State: AOJu0Yy3cyZgDBYFQYHNzlPQREfjpyJnEg1wKPkqE5+VDmiWfK6ZK2kk na0mp4asN4p8bufMDqz6vVTIKno7x61s0w6uTXt6/5swgfIggvXJbEzX8+111BRinvBJHBxFl0c 8k23Lqg== X-Received: by 2002:a2e:9e07:0:b0:2de:4cb4:2601 with SMTP id e7-20020a2e9e07000000b002de4cb42601mr1185461ljk.43.1714119587462; Fri, 26 Apr 2024 01:19:47 -0700 (PDT) Received: from nuoska (87-100-245-199.bb.dnainternet.fi. [87.100.245.199]) by smtp.gmail.com with ESMTPSA id z1-20020a2e9641000000b002d6bc956deesm2599855ljh.99.2024.04.26.01.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 01:19:46 -0700 (PDT) Date: Fri, 26 Apr 2024 11:19:44 +0300 From: Mikko Rapeli To: Jarkko Sakkinen Cc: Lennart Poettering , Ard Biesheuvel , Ilias Apalodimas , James Bottomley , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org Subject: Re: [PATCH] efi: expose TPM event log to userspace via sysfs Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 into the > > > > kernel, but ship some in the initrd instead. Then, udev is responsible > > > > 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 2013 > > > > - had the opinion (typo) > > 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 subscribed > 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.org/T/#u Cheers, -Mikko