From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796297415; b=ffbPfkwZ3MyIX50QVqA7lh+QeBHAz6chkwonfFce8XsJJPUed+wo7FdWgKepm4atO7IA ADOf0ES4f/cxwVfREroOrT/xcoSC2qItiJpklWP90hSoNhaSMevKmYvtfoenYfD2N2fcx L6Ihg6eT6G1D+LwlPf68+UhK+Y6+UBjwONrQKdgu4qpDngiK93db9ym1xpZKSmxihcooQ uEFyGDv1PVSs/G8MkoNYRAR32kgc3tNt5UYE2MWMlOIMHpxVrbs22+VVynlQFwKTfp5ZR on+F0llzUztwr11v+QOpOamMoDFESBPYdYEY5/dtRwo90K/BVo4ANs2MrZYbd3qa1Sg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796297415; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=lZ8T93Km16MjqDxvRaIhUWi9VJVHPppYL5og8pRTmSc=; b=OebieoV/BgiFdoipnfPkVVqKmyJLDq+aecByCVI0Tl81coc6qxFM6pPyyIt59dAFrIuV aDF9jvQ5At9tkk2NMD0xUh2J2vlZtj8fFiCpcisfrZG3SobcmMdJzxC+F9SCsKfTvkBxE JCJmrJKDtuxNf/QihmxpIiX1td2fzA/As3Biy+Md2yP4lCmXneeV/0o0VASVocYbFz0ZX jh4yLbwGYAC+VX4dGXQ52R01K8iMfpYnA0oGD0e8W19KcPWHhJCGeuFDEH1Mt778tD1Aq 63ugUQNomAWvBO8VExnjVJAtJQT8MpCSm9Chr6Fh3aFqiZY+FlLnVVQqrAKMchLXOwQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iM2WRfWG; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id 00470606A33D; Thu, 3 Dec 2026 11:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iM2WRfWG Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id E84781F00893; Thu, 3 Dec 2026 11:30:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796297414; bh=lZ8T93Km16MjqDxvRaIhUWi9VJVHPppYL5og8pRTmSc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=iM2WRfWGY8XkS8yfsWTV6xYjrqmP324MKpoVayT+V5Eo0BrYGpb0ROl1Au/jFXufR Vw4cfO0Dfd9fZO3Lpjkp53rm97AGCiqOssNUaG63u7Sr0YG4eLSUUdtuHuPM+DEuoS G+/8Jvm+FO76pe8QsC0ffExJ0yAFwjG3DIgW/lrf/tKR6qnbqwRI+UlJx2sioY3r8H E8zwki634Yq0VkyKV69Pi4w0fIlchVy19q5U51Un4nA+5VcXfoVF8kqlH8nBqxtS+w a8rpJebj/H7fsRSxRspIOm5zUp2loLhDTpBXix5qpAFTcPxL5uBR4lKLC1CfAlIAWs 5mtzZNkXLdL6w== Date: Thu, 3 Dec 2026 13:30:10 +0200 From: Jarkko Sakkinen To: Jiri Pirko Cc: Jason Gunthorpe , 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, 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-doc@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: On Thu, Dec 03, 2026 at 10:53:26AM +0100, Jiri Pirko wrote: > Wed, Dec 02, 2026 at 10:31:56PM +0100, jarkko@kernel.org wrote: > > [..] > > > > >One more why that came to mind from this: why yaml? Not for or against; > >I just have not found out so far where the roots are for that pick. > > The spec is input to a generator: the uAPI header, the kernel's > schema tables, the user library, ctlvctl's tables and the ABI check > all come out of it. So it has to be something a tool reads and a > reviewer can still read in a patch, with comments. The kernel > already writes its netlink specs and DT bindings in YAML, and the > tools to check a file against a schema exist. Nothing deeper than > that. Looks like the best fit for the job. Fine by me, thanks for sharing. Br, Jarkko