From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.49 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796291753; b=jWOU43cgLHNDlGry90IGtTP7fxwfMMJ0h0Y2VaD1wYRE1AJdkbnv4gQzb4YkjCUWTSoM lqe1Zlro0HnlGDAQHwQO9B1rcLRw9jmCJFzr5+X/YOlCAs3wxV/Q/5WomlcH1r6qWV79y yk9MT/GFCsmgTUuW/HWgbCrjKCeVt+NC2vf9TeEp1AsUX96qbEDd6UGyjxKVim0LI+iHJ x8JnkiL4e+fbo/cKVUt6I6+gKy9hnumhutOYRD4dbbIe5ebmeb/1aZmE2Bubi2usQ/5za j3Y65RJJOwfW/tm314gL3riGD6oe9rDBXhwQmjhHtzuFxoC+DTsAtIR8PbXPN7nlhsg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796291753; 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:In-Reply-To; bh=7S7tjXZPSP7NRlGak6elqregkz8cr1qJkoi4/Ls5pJo=; b=rfiz0LDiYDUWCZwhaeWOtGy2JR7ADSKP/bmwFJBHtfr1GdXSSEOtq2zh2ubBJnElGMyx 1Ngi/157bvS7BCoDLt5Gt1jSOww40ifdyVK8IwIPioiVEu8LZjjQJlBG8Abw2Kx8j8N4Q gWtxWKbnMisP12VTfChZvU27FyR95+eVWY5T1sq8rIJoAGgsCD1tDTdaKWTynr5IfW348 jAgMXfSKMkviDUdhhE+ly6Y9qgnPaf8n+e4M9Wiu+1GuQtJxUhFGNkakIQd23nGzdKq5g FCLwfPehQIXWX04xLOFMedQglcO4kMKvKlFvd8kwCRliQEtOLl/riq1BJrrO0xPCdWQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=resnulli.us; spf=pass smtp.mailfrom=resnulli.us; dkim=pass header.d=resnulli.us header.i=@resnulli.us header.a=rsa-sha256 header.s=google header.b=ouHog2lb; arc=none smtp.remote-ip=209.85.221.49 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 A4F4E606A330 for ; Thu, 3 Dec 2026 09:55:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A4F4E606A330 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli.us header.i=@resnulli.us header.a=rsa-sha256 header.s=google header.b=ouHog2lb Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-4c84abcb7bdso2227580f8f.1 for ; Thu, 03 Dec 2026 01:55:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli.us; s=google; t=1796291751; x=1796896551; darn=vger.kernel.org; h=in-reply-to: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=7S7tjXZPSP7NRlGak6elqregkz8cr1qJkoi4/Ls5pJo=; b=ouHog2lbXJYRXIcUv2prirNWkJMLYN7T/Ydb67cq/6YQndAr1pQMZ0zCrwC9zZm1x+ YW7w6t6TikOvkkUtR8SSVVLvK35tadKSVnx5ck6p+EKRFcto25Q70YmYcIOW/xaQpcI0 hLHI+pcObpn+U9IsCZSp8NoG6k+wLvWIw+0UhRcRfKOs6rujb4uH8CHWGGgMBO4P/b93 x1hzc0K5ZAm7CJlH8VtQTK9FOeN/LPBz2jez7FUt2vvRpQ4xjajg171SlH1QO0dPpe/S 5F0pD+raa1frlTT28qQXseSZ7yc+zmlW+4Ief8gPTGmhKE6+fnSoqS9M4DwWuvouR3PB 5HOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796291751; x=1796896551; h=in-reply-to: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=7S7tjXZPSP7NRlGak6elqregkz8cr1qJkoi4/Ls5pJo=; b=XQ5kUjyvq9MXYXusa+yffJz5m8oM7HCR1EtUIi1K0F149i2aZ/qI7Mn9vzCe8OQV/n PJM3ShjaarihraxUW1Fc/yJXHZP/USqBp/z8tHYcRxFxuGEhWu9olvDhcR2fRTbl+3Re JitDyf7F/eIwzWUL/XuhIL3h7w/ilEOKMKaNPCIz9iCNA2Rqgj7sC99ccOsOybMPQ7SM x3Kqf13LT+7YjRLYAfs7XSLolLUvzKEj4H5sCXWGdQyaGS/PmY38MM5eRpfVgMohzcCa lXkS4S0SQAJSVc0cobxJ/dYTaWC+Id4skzrkG8fhxdkCJvcMtaoxlG2mTQcT5DgJAMvm y4uw== X-Forwarded-Encrypted: i=1; AL+hErFScjCstsBdNtqTFSHORUTfQn5wWGXe9Yin9/IZ8W3SVuo464U6moLdm5LaDjI25mgM1bMkHgZN2Febbik=@vger.kernel.org X-Gm-Message-State: APuU4Z8LmubOK/WiW/rhmwql79YJrPpQt7fW9asHdHk0YPuNsr7poeuD LP35ooYBs4i2bhzKg/I+0rXmw+w4/J4fdacx64D/FnfRpJENq874BIDXI2RosGcyGJ0= X-Gm-Gg: AZFdTZfm0MIeyb1DWv15yO8ku9ZPv2lVFMIxzRBYGQqCJUP2j2/UbLPhrVmEGY+AB78 XUSaxfsfMK69qQ6Ps75U81t9Rmzmxj7hjqr6IaFB7uEJXfltpYAaoHY4ynKALVEoxHF7ujLA6Lo NAqShkabZRVlO0RhZTRMFkiE8MwBUKoxuPtZg4Bo6/XFyTW92Qx0d8RmtLi7S4gQF5WAxGOWlPi VyypRxsHl2tNfAynX/XP51gnCuPk46jWKyz4i+K2zEGB8ae/aCYEDZhY0hU4t2h0fC3bKxGR6pK wN64kMbZEgSxY+TG62pR84If7JQScpB8yzrE9Myxm1+SOOquQCsB/y9hG7TH20Iv8P5AHBiRXbR /VcOaZM67IsUTD/WMJIctr31u/R9M9C6ydXDhsiOVvOTGAbo7oPOBy02O1Td8ZBjCDpUQ80Er+W fbNM6OEXNm6kCRWpX9ozv29BDMQ0k47S93Uxd4kSUG5Wvk8k/CX13OwqpA7BQZUPEn1LXN4S1f0 lmnWwSva4CDNys/Rh70SYWu1XvQnJFz+x/H4wic1tBo3kqlRiA7L+5+TElQPxJu254OzF7pP59u xIfFgaS6ZPOdutxMbcLxfheTUwJjt0H/DzKNpPE= X-Received: by 2002:a05:6000:220a:b0:4a2:edb3:5d45 with SMTP id ffacd0b85a97d-4abb4b84c8amr81099475f8f.41.1796291750816; Thu, 03 Dec 2026 01:55:50 -0800 (PST) Received: from localhost ([140.209.217.212]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6c61f558sm84856908f8f.58.2026.12.03.01.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 01:55:50 -0800 (PST) Date: Thu, 3 Dec 2026 10:55:46 +0100 From: Jiri Pirko To: Jason Gunthorpe Cc: 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, drdeeglaze@gmail.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, jarkko@kernel.org, zohar@linux.ibm.com, yeoreum.yun@arm.com, aneesh.kumar@kernel.org, dave.jiang@intel.com, nik.borisov@suse.com, sergii.dmytruk@3mdeb.com Subject: Re: [PATCH RFC v2 8/9] attestation: Add the TDX family specification and generated files Message-ID: References: <20261113160838.2512652-1-jiri@resnulli.us> <20261113160838.2512652-9-jiri@resnulli.us> <20261202201130.GA1083313@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=us-ascii Content-Disposition: inline In-Reply-To: <20261202201130.GA1083313@nvidia.com> Wed, Dec 02, 2026 at 09:11:30PM +0100, jgg@nvidia.com wrote: >On Fri, Nov 13, 2026 at 05:08:37PM +0100, Jiri Pirko wrote: > >> +records: >> + # Fills ctlv-attestation's device-info. >> + device-info: > >I feel like this should have some more syntax around it, this is not >introducing a new record, but it is hooking an extension point set >somewhere else. Without knowing about that there is no way to >understand what is happening just from this text. > >Maybe it should be in an 'extensions' section for more clarity? > >I'm also wondering about the symbol namespaces, how does that work? > >Like this is in the tdx yaml, so how does it know to look in the >attestation yaml for this? Are the names system wide global or just >global to all inheriting yamls? > >It seems like this could be regreful down the road, maybe names should >be fully qualified for extensions: > >extensions: > attestation.device-info: > mrconfigid: binary(48) > >? Yeah, I was thinking about marking the "extension" somehow as well. I just didn't find any need other than making it obvious to the reader, which may be enough reason at the end :) Will think about that.