From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792488391; b=PoMKYlSvlwsAmwm9YWmq4TQVKSaYD73jPXEo2Aev8lxI9XaPSqTynYGzqCosBuO31ah2 nq9yr/gRRJdNdAoPkf+mPGKzlC5ZjexbcWqgcAnfCKDx0Qmj6/+0rdfvTVLvyPCNHWqqv r8zX8ily05lBKOC6pkA5GUfJj3EWM5G276N1LDafzLMKFmPvDapIBHk2nCf0GxF3vkzUs iB6DV8Mil+9EbozYKjsJMmdmsy3No0+GVu4HusLlnbV1Lh9JBlK6yTfwf+T2deS3lIZB/ nEjxIwdjBN/QWjtQs076AEIlxiL0833QLMhNc/RZiCnfAalcjynE8xvS46rp9O0zvQA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792488391; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:Content-Transfer-Encoding: In-Reply-To; bh=V62r2oyMwKweJj3yBSLKefUPJg8WZq8H2U6uQoCWZWk=; b=sWr56mS3nCMi9QHquigPCBK0JYyuA5L1aGNPCbUpD0fUdb9hmgJ+xy1X9JMkTRNhZAlD kRc18TVPYkNSR5WELQNuIFMSsrfognnJkT+4nswq+Cbyw5TlQQVG7oeE6obtOlO5dM9ZV MUGS/+/w0FlMuV3W18JEHNBzg5k8bP/gbQ1ZLcMmAdl36c0wSbrTg45PKqu808XVdLH6d wzujW2McBU4QuR2P7ltscxZ3xq6DWLA+YhsN+Rzp5aKvVOr2h3Is07611tmLhjF+8/H0h gUTY2cBFjehF5vsnIJFnAGOCkIRQTDk12N/jTKPBvf3a9ECx4RQZMxPayhbvDS4au9w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass header.d=resnulli-us.20251104.gappssmtp.com header.i=@resnulli-us.20251104.gappssmtp.com header.a=rsa-sha256 header.s=20251104 header.b="fhvCsC+/"; arc=none smtp.remote-ip=209.85.221.42 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C144606A31D for ; Tue, 20 Oct 2026 09:26:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3C144606A31D Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=resnulli-us.20251104.gappssmtp.com header.i=@resnulli-us.20251104.gappssmtp.com header.a=rsa-sha256 header.s=20251104 header.b=fhvCsC+/ Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-48afcfc4bf5so2522670f8f.1 for ; Tue, 20 Oct 2026 02:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20251104.gappssmtp.com; s=20251104; t=1792488382; x=1793093182; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=V62r2oyMwKweJj3yBSLKefUPJg8WZq8H2U6uQoCWZWk=; b=fhvCsC+/L+1bMr0FsexCnKyo47rJycuSZvhM1BKIBfyQEvBc4uR/sxPFeFk4JgA7t6 ZUkpMEKwzeepefXulk1T2CMQpi0g/pzzFgGmJrpUjsF3g+7REVFmvCtPKN9uVKJlpyhg SIXhOvTi1U/sZBl523YJrKCAFpZVjG1d+k0DGvO1WNKY4v0xlGsLDYiPW+FaRySiti+e KKRSVX3h0x1tMIjBGVVVSsR9Jr+yzC3/MIAs2y7Lhpmgy1IcNGiOig7oKzPugb3huFZA nuY+FFTctXbaTtHfBpdiocNGG6/21HoY8Mh07eXk3PPFlShlnFFBPcK3hwSIrKnqIgG5 SsQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792488382; x=1793093182; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=V62r2oyMwKweJj3yBSLKefUPJg8WZq8H2U6uQoCWZWk=; b=bq9cPelNmzcA2chS1FDIoXN7lVswnBymN+AuN0j03wt8nhh47kbiueVSAiPRoMY1BL ptbI4EGX7HzkNcIbvOFS7lD/yHAPW0SH5L5e7ohmLzWgacnov1a7PGq/uu9rfLLvdMII QN+MSqNzLQXzIDQa7GHpz3Q4NiWK1/Fh07IVWSQa+R/HDHO9QhJ5RfIlg7uFIxv4ALnk YpGq+UaBQamqYj4Zjh3eK5llxjGeUg8Bfyn2O+UADMd7QSkGi0aum0C8ZV2feu992mbA WGmEAI1/7LOW0P+L8q9PFpdlc8aVfKk/OyiX/mKscY7DDXXF9HsQdPfc2VEE+QDQCsve Y2cA== X-Forwarded-Encrypted: i=1; AKwUvBxKj4R4JRnkDYAmhRM71iszsBki9N5isFnEZnqT1bgUcm8MheHmC7m7shm/dAj6yyUlqdls/u41b5+xgfY=@vger.kernel.org X-Gm-Message-State: AFq9FYKkl6wTIcHf1i5wSDAu5MQ/dIkrbueaVkoMfrqdROL66XAiDDzo qTN+y5f8zKsGif3RNW5pCGISUKVDO8bRlrISxQPYfQZXEOo7sW9nsybfIu3lGirL1vM= X-Gm-Gg: AYBFou0LQx1Y2nXiJ6QbojEnMHeMNTBVeSy9xz60XQ2Xw2TZWKpOiQjMespFm4gTEug ql/EF+gNgSTnGD1vkghizIabQ5/ihIq7X3n1MDH/vAa78LQ7PoRNcLN9VWxUXLUYbSsEXnrEhfQ brc48oo8D+RVlCGbVh7UhAgTOHNxbA6nlWJynE631ruohpKkeK8qBSQPK7rCc32UWZJVorBdQfD 1LQ1NxLxsWach4PrSDTo0n4x40/wtnTaCjJ5CQASnY1/e6k/FWv0dBBaT2IuxaymNgZq5eWMcO3 8m5p+5LgZZPzqT4mclZLGd84dAExovZ4DyCWXBDz1uj21/9Ynwg76e0cSDyDhKpedqu5SMP9aHx A3gI2Y51JeKYtzH6R0sBI8nKp2KW+nO0njZPOTm0MyujwcglF6XQx44GReYVeu37NL4usQyqd15 0f+/5JxPlz8ZscmKqLSvT28Krg9exzt1ikObvC2aeadQKNyWWlzABQZjTNU3886vY9te0ZS4Ftn o158A== X-Received: by 2002:a5d:5e87:0:b0:48e:1fb5:eac2 with SMTP id ffacd0b85a97d-48e1fb5eae1mr2877151f8f.12.1792488382209; Tue, 20 Oct 2026 02:26:22 -0700 (PDT) Received: from localhost ([85.163.81.98]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48e1d818d61sm4750276f8f.31.2026.10.20.02.26.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2026 02:26:21 -0700 (PDT) Date: Tue, 20 Oct 2026 11:26:17 +0200 From: Jiri Pirko To: Dionna Glaze Cc: Jason Gunthorpe , Jarkko Sakkinen , linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, david.quigley@intel.com, lukas@wunner.de, ksinyuk@kernel.org, rodrigo.vivi@intel.com, cedric.xing@intel.com, sameo@meta.com, James.Bottomley@hansenpartnership.com, aik@amd.com, jpiotrowski@nvidia.com, qinkun@google.com, pgonda@google.com, jic23@kernel.org, alistair.francis@wdc.com, ankita@nvidia.com, suzuki.poulose@arm.com, kas@kernel.org, rick.p.edgecombe@intel.com, elena.reshetova@intel.com, dave.hansen@linux.intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, peter.fang@intel.com, roberto.sassu@huawei.com, zohar@linux.ibm.com Subject: Re: [PATCH RFC 00/20] attestation: Add a common subsystem and TDX support Message-ID: References: <20261015145053.3664509-1-jiri@resnulli.us> <20261016234354.GA664420@nvidia.com> <20261017203407.GM13920@nvidia.com> <20261017231007.GP13920@nvidia.com> X-Mailing-List: linux-kernel@vger.kernel.org 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Mon, Oct 19, 2026 at 06:10:31PM +0200, drdeeglaze@gmail.com wrote: >On Mon, Oct 19, 2026 at 5:08 AM Jiri Pirko wrote: >> >> Yeah, I was thinking about this and went back and forth. In the end, the >> only reason for leaving it unbounded is to allow multiple independent >> users of the same register. For example, IMA and systemd could share a >> TDX RTMR. The systemd side would read the journal through the >> attestation device and the IMA side through securityfs, but both are >> views of the same journal. If one side truncated it, the other could no >> longer replay the RTMR. Isn't this the valid usecase? Do you see how to >> resolve this? >> > >Bright minds have spent a significant amount of time working on this. > >+Roberto Sassu, +Mimi Zohar >IMA logs and systemd logs are both system level concerns that are >relevant to the OS construction, not individual users, >so I would just say to reroute IMA to use ctlv using a kernel config >setting, then make systemd the new system manager of the holistic log. Yeah, isn't there a valid usecase for 2 separete userspace consumers though? It could be a limitation, perhaps configurable :S >The securityfs log contents can simply say, "log managed by ctlv" in >this setting, in the form of the template identifier. Yeah, I just wanted the existing userspace IMA ecosystem *just work* without any distruption. >For policy violations, only the 0... extend needs to go to ctlv. >IMA can still keep its violation log as a ring buffer when it's not a >1-to-1 violation to extension >https://www.youtube.com/watch?v=gyYUYbdiN_4