From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.52 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792488391; b=4dP1XzanKBkFnOq0TtLx/lqQMWDdRS05cAp1opzusJ9M5sp0k+AQZjt6TaiFaL1726L/ R2ht5z+9BM1psh2pZ8kCJ/75wtj08pzB/hTbHvCidc/gAJXbitDgc3ETn2gUkeGEdPm8v mYNd+L7WILo9IXasz8r9Fs01NMpBrZrCXOx/bTC0EPypYIibtXP9Ehli66hRmfDfZchZf NiLsUAX1lIYvGw2Xq+WMe6hiMri9E4bY/7r4NLN2SXi2d0DftLWx79vmMFGcNF1A8u6dX tyuIpA0pD9VviSfUGRAI23zE5/cfzFQLaBGwbAktwXUO7EEdL/2VAG84oc9iSZ8RADg== 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=I1XQBjcfSj7vfPaUgf1gwDceAFZtvw0vy861dCc77zy4u1iG+9TWBDSYzVdaJxVSL1Bf faZC8qzhIZGnsnIpegg1RTccLfIkpjscnly5dLpGUyOiIyfeBVPv/c9DiffiANE+fNy3I 1TkVNVhZaeisUGiRxE5dbsK40jaaZulFnS1r9bm7gkNejv7xC6VJK99CrAUow3KRxKNjF xylXi+biYgXdpHV4+Ln/ToVgi96FkcFqJJ4al6hlq8r+qD4iYDcp9YjUzhde0HWjelx1n IHeDS2YDcl2YuWoQT/WVeUT+C4jXE1EFxct3Zxi/lAerB5ILhryk+5NrCVUBNNf5wPw== 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.52 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 2F3AD606A319 for ; Tue, 20 Oct 2026 09:26:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2F3AD606A319 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-f52.google.com with SMTP id ffacd0b85a97d-48e011d370dso2451189f8f.0 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=Cl6hwAz/ImaEtW3THRJEMAsKr3WGvtXb3JGhZCxhIr63QCUFrJWU2NMguafl3np0zo geW3SO4SAbPINUFQwwkq4x+nzBfg75VgVjH4vkU1JYDDBuK+BOuF/EHZHgIKLbH54xQt QurOkwH5UdAFjGX3mit0UPNJIu4/pD/WyeHJG4soLunnb21dhKVLmN2M09apqStWStDW VtBmr6LXbSsQyXJ2TCHwsvsk1tdIP3kMg3QaiYByOBXDd8s9JJoX1g5sdcdB58rpI8nK vB531+bCFwGwmxShgwner1vHWZ20JT52ImArfrFYg16CkSwJAJUGn4UmbobX27BRSk68 8Jvw== X-Forwarded-Encrypted: i=1; AKwUvBxoqnJDD2TEAxqUMQhZZts6DrVWmeEBNgGenlwyJ28b51T6WPoZTxQK9NGgwwWTAPaZwgw=@vger.kernel.org X-Gm-Message-State: AFq9FYInnOdHQJAGuaf/MdnhJdDX8urYo5QTMi4XSyyHbo+5SLU2odYl qQigmW+RPUhuHqi2XAMTMK22MLAY0pBm1+sXB9l2AXfJDrC8Adwqi5MkdZZ1nqOQd/8= X-Gm-Gg: AYBFou3JrHmsjf8/5RmTxWmTlXTEmIUgXYjeh+wO2ukc9KgHe17FEH/cTuFUfoWU3tV Wsu2EYjnmL17Pkw1WEdFyEM4jYgsHxTssxletmDoz7k2SM0a9s/9IbEBNLZ8OFp0XfxTCA7Ug/o U73bbNW95093P3OPqEVAaSFUfY0gytl8RCItO/aWbtFALe4IPhwVOESpNE3vfwG7S1orw3jwRLw /XT/Lo5anFCFP8wtUsJmOYxHUchNWFSBBHYobkuUwnS3OmY+AnhFoNkNQcYeSXCSko9c9fKTkJP BMDhiwZ39iWtNjKGH9EKPFiRDZg6n4+2o9xgYug7u1Nou7V0bU0w2KSPpdeMPaZQCoES73hK/5u Ij4yGI9hPuDoc/oBD66/jLkJhIfj0VGbZv/xEaGndYShPUhHdHvs4ZOQV8Pk9cC4OWLIVYjRN4D Rr3eoYgYui7d+md9oUoMZpt8O7voEHDppWZ+TSHYkS15WTpyTGBsHT8JQvxq4MxP71RwcVU4XOJ BSKmQ== 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: 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: 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