From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.208.170 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792571629; b=v9mwvTr13oeBi9yFNDTXcEvPzZXFzS7faCzd7Br7976sh1SA6bxwGM9Ne6yVMJ32RZOM prjpWR8VBiy/nNGI22VFSYU2QHvCB3zhFpwbyB3IIs6DPUGO2M2bfxDtQzCc4aRioSgj6 GY3zhegQRManYnxiIYfEy34BIpwX26J9J3b5+GufRcIDW1lHgMA+CppKI/NJF4G4nTqUI Isy32PtR4x4oZJKzeriiYKmFl+YhzoPw6E1bJC0BpfqOuq4QjQcxqvxRDnhaIOMD8CQPR YgL3X58pC8ih1ZMNTEyFsHLFHANMSIltGXT/yY9Q/jDPM88Mctvh0CiK12DOe1neugg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792571629; 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=xztp8CA2EuYwLkJWXTD7L/r6UpbaCRk0H8KiI8WbX/0=; b=rw/jT2TgB6bt8SKSARc+x29kKfgSxBBJB7RcMNODIJJ0wGOHc0+mrTAETbGQx+kBYNL6 p2Z4Bf8EEccDesmjn/2gRV6bRLBj9JzqYbvEjEprmfb9yD4i8T4Z9gUuEHjHlG/42wPOc gkOAyvLPXwvivXmHEwAAK8tgXsctHpXxxM4c7kJQedvRRYFaYgXQntN96lXvp/j+2BLeF WSmjuDYb7BBo3WQLgvrReSTnNRO314mecA6hIK3RmLyic8wMnfonoqZK3Pv0In8ltz9MQ 0tBZrVqmToFhc820DqUvI6f8rPuBSyC3hfxRokeuptvvpsmHp+Impp8tbHFPk729dCw== 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=r1hMRlHN; arc=none smtp.remote-ip=209.85.208.170 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 A5FDB606A321 for ; Wed, 21 Oct 2026 08:33:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A5FDB606A321 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=r1hMRlHN Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-3ab01c46697so3935041fa.1 for ; Wed, 21 Oct 2026 01:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20251104.gappssmtp.com; s=20251104; t=1792571626; x=1793176426; 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=xztp8CA2EuYwLkJWXTD7L/r6UpbaCRk0H8KiI8WbX/0=; b=r1hMRlHNKxIdoWis5K35C0U6pBm/7vNAgzUYPNgxOyTuaDmbox0SdKa3Ggu77kAXo9 rx0sLojY9MY9eLFQIVMHli3lNQZF2pRQk1oj9UIPHdLe+glHwLaXZMBcNRKoKzrAGHCm RLbhUnQIZKY/yfqBWeMKXDCbkqoQKxbCGe9L2+zfRkPFrs/VO6vJRcJF9R6Lh6G4gaTz TGLocTMhr3rye1aGRVzJwZyy8sUY+ZPXNgASDnkSNH6lSPL7LJ5xacv81opcvCqAzqkh PYvYMLTGXfSCpamswAeCascR7b80RgejQnTkoh6SIcsrWyzSurXxqIr7FEhSXISWAsPj bDMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792571626; x=1793176426; 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=xztp8CA2EuYwLkJWXTD7L/r6UpbaCRk0H8KiI8WbX/0=; b=dpvxq6yFXISkHUNGOhT8t74/KCNvufcCaW8P1namCuOscaEw0eQx05TKIizNqEPbgb 19l76tezT0gbZ1iD+Wnc5PqenIOxNPev2q5QK+DAbxoQWh5qafIE/RfrXbOkxWnMFtwL OF4uY6dD2Z0oENmRkNi3or3+MRRbRJl80bBGvARt/Mcxg8GANXE+M17xeGsvbK9C2R9D PbetE2JkocTHup7ilbxEDuxOSaGSXm42I2W2JWV2DgwPow29ztL6ulcIoEsOfyzmL1zo ELEUuQBAfwWt7je/DdSWkRlUyoB+LTuvzQpMSX8OBYrlO3gxb9GMU6E3Dkbr/+T2nFyu nJbw== X-Forwarded-Encrypted: i=1; AKwUvBwnaJHz0DoS7bzE+6H0hZBEQrGVvvLSPSkx/HTUAwN1/qItlkH+h4qN5zx8ZornVasXtTM=@vger.kernel.org X-Gm-Message-State: AFq9FYLlmdzO5FBiSrhyIIOrZ7HF0TXMvtypGysdDxwpp+qJmNK6teLh fS2nPGH3/e1Ms5dmQ4AMFmMp5IT6Xeo8Rrqlsbo3l6sVUoFmxINYsRXDQsGY9VD9Vgk= X-Gm-Gg: AYBFou00BQwAPj2rg3jOy7KnMrVaKWueSDEvkc0cwjGOFU/pjElKO9iteug4GLn/R4P Dudtv6GNJzR++FfbiKUyB1jIMHCu9wEwmAACtTCORN16ikMUSr6nLmVn05lyaNYMnHiCtAXK3xt OVikq/KxHEdqkppQRdBfxlNB7jP4fVbkuezKXwx6mm3K0MugWHsO9CoIvAPc2H3KOjnjlBu/A10 eHeXrGfBVbB31Tk6ea0Kn9LurVOyUaUc8xur7qBpoJAjfRAb/1sPsVT9awV5FPCWbrdJSzTrfZz vTAuu6uMaJri5/kG1cjN9BjqffAfaoQP7nTp07dv7189eAWXJ3a0myaAHoxLJObVq58tmisR4qn znNZj5lINCSQQjdDx/11pRqudHSRlZlQGdYxkLrIUUqnOl8AKDHtJubNTumYhQ/hfSvzZ6E/IMW ICY6PAr9Vi3tjR7pQFXYcib/3BcB3503ygp9xcUBC4cxGkR6hftjC4zvXj3yaZeQYEDM/+1A25m BSGc9gT+SczCLkYznQoPfHJgrvSDRYP/6ayKWiE28UvO35VqE25+BPYukpX6xTbBGQ= X-Received: by 2002:a2e:be10:0:b0:3a6:692d:b7ed with SMTP id 38308e7fff4ca-3ac441af820mr4315381fa.20.1792571625331; Wed, 21 Oct 2026 01:33:45 -0700 (PDT) Received: from localhost ([140.209.217.212]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3ac43772cb3sm4553341fa.16.2026.10.21.01.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2026 01:33:44 -0700 (PDT) Date: Wed, 21 Oct 2026 10:33:42 +0200 From: Jiri Pirko To: Jason Gunthorpe Cc: Dionna Glaze , 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> <20261019225658.GS13920@nvidia.com> X-Mailing-List: kvm@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: <20261019225658.GS13920@nvidia.com> Tue, Oct 20, 2026 at 12:56:58AM +0200, jgg@nvidia.com wrote: >On Mon, Oct 19, 2026 at 09:10:31AM -0700, Dionna Glaze 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. >> The securityfs log contents can simply say, "log managed by ctlv" in >> this setting, in the form of the template identifier. >> 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 > >I think for now we should not include a new dynamic log here, the uAPI >around this Jiri drafted can remain a future step. I don't want to >open complicated discussions about new functionality at this >stage. The whole CTLV idea in general is a big enough thing to bite >off for this series. Okay, dropping the log from this set. [..]