From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.46 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796291618; b=BZXROlUMvkvo3U/Q4eJVWkR0Q/13/W1UP4mvJS80YLR9/9mDZS8NqXm9KOLx39ktJKCR ucZuUVokrp+BIjdJLcXsmBnK+qivu9tzzpuS9EC/LDBJht5o3/KXNXV+iVOgo0RufXvrV Nd8TLwunDL7hBA9SdhyOTHnIJXVDMtut0JFR0jNLHaOTt3IBByeTzSd4wOarCnj07s9kj sPsdBzCoTUQ1X/mlbIKCFThE/ANu0NnEhCnAaNziTnJ+6h5g42PswRH42ymB0okLjSMl1 nCNH5xCzIDJQPotFFMxjQ450PxcVy7jdQb0D+MutY4Y7llHVnrF6ouurxGZNUE8wW1A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796291618; 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=LlB+imsVQh/q3gTLv5fXxRflRqbhTrodQ3P0dMl6D2I=; b=Qy8HaKD1RGK7PEHGTCEuaDWsC595KvkDWqsETQ/m7AjphAVthcMSpZizBXJkc+0IDp76 qvEbL469HCpdpgGJTBeeyjpF/CfyLBzbM39WcZZSgerjqUGYQjprP1X+x2vMsgqyyPINn Yyw3MOPy//TiRQ68AwGQgsvxkRRN1tFQwYOiFcXlC8RWl7FSfDKL8SWkERmLrPHkhMHOX FtoEqOPh0EFVjTzmMHsrLip2FML/vNMC0rDQrTxaICQgG8JN4ybsgek+aTCjEdDWyKOl7 jPBPlB4ov4akvblIV5yqQcE0MeshoqBlnZuEQENZVVYHWvvt3gGgH6O9KrXqtaYLuhw== 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=EUc2kwwJ; arc=none smtp.remote-ip=209.85.221.46 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 953D9606A32C for ; Thu, 3 Dec 2026 09:53:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 953D9606A32C 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, unprotected) header.d=resnulli.us header.i=@resnulli.us header.a=rsa-sha256 header.s=google header.b=EUc2kwwJ Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-491f34b4e0fso6271873f8f.2 for ; Thu, 03 Dec 2026 01:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli.us; s=google; t=1796291611; x=1796896411; 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=LlB+imsVQh/q3gTLv5fXxRflRqbhTrodQ3P0dMl6D2I=; b=EUc2kwwJMPr+JNzEOIzZfiRA4wnMgJ854VNbDz1dOk7omS35+0nWHzBRlckiR/XtKU m4+yoYkN4LhvKLmATlxULXFBElQOfPDI0+comWCQQUaFyL5ZmqO8Cf7wIrnJFa0b+UOy htSPdPAxHjQVNqQHsP2k/68XmgFtQtlo8qvVvSPj5eM77iBQyXe/lSH6YUBAx4xk8lLr 9S5bVEs23pd5aQPgLZBl4Hgu/zVzZOuhcjgFSrVaT3x7SepatASFJjzG9fa3cep92cS4 V/oJCP7FAd8Ig5Bvv0ensTuFy5QmobLxAbsjNJiVx6XLNyVDhu4PSR/CWbOGwRdL4HeA W9mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796291611; x=1796896411; 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=LlB+imsVQh/q3gTLv5fXxRflRqbhTrodQ3P0dMl6D2I=; b=RrYh7Hrk4DQLs4JusbS7/q5YsNVNGj+o3n+A/zdFvHYaik9J1pVXzyDQIFSLtN87Zj dKdZp/mZrxPuQXJbaoUJc4/fIdX8O0xBY2PHZ/Ghhl9vfRAl+Zx5ebRWdXwlIu+5+8VH BIFEYmR1HC13ea5h7EDCmzYw7tb+DM2qe4YAZdhnlDywJFVuKv1IXKGZUP+Lhux3fUWK NQ54m4P8FOjfHsq0s1AI4HgWjg44XDV8RMeGz+2lAWvGCUlbiWTQnhd1YySjdp2BBlEJ tXZ8Gr2szBtMmQ54OBxLaf5PbEvn6iV2L/s+e0IAR9IDEcnZmHbSYtvRi0RnePLATQLv p9nA== X-Forwarded-Encrypted: i=1; AL+hErGydKtAyEGx6ECUTzgKKGNKChawwxeXQaC1ahjXIhZJOzzipj1LXCLLLRVN3fieqNNVNR4=@vger.kernel.org X-Gm-Message-State: APuU4Z94FKw5UM5wK343unNdzG32qB+cq410skWkvC5/IffGTiQ5W4cY rX5IJK+D8pGLn40AlSM6ZNiu1AMEkMiHzpvHoTxcd+toslmz5QrWq2yR34LtxTGhauk= X-Gm-Gg: AZFdTZeYeDAidbJD27l1f93uOyCFjqfA6iyPWcNIW7wRnLBY3B2le8DEAUrZzCDHsiF PeYeS+8/ZoVX3aDsOZGGkp2Ywy5Zz/Puw99GdeaD5cqBQRfEp4ydNR40ADTHvqWBVHfpBbSKVFP sJK9wjxsX6Iymq3+N3RJfyYHrAu7TCTSrHQghJ1VNAfMVGjjmX/pQu8YwP3exkVZa+EHkR+KHX7 z7avEaZJ7/SYnnmjmCGPDYgyH+54wBflFbd/L6fmbxZ7E2miVPFoTyEJh5ugLH+IIJLv/i5/pbw UHwHYTdgQABBjezon0zxgGwZXkF3MzAfp3RphRLm1vWGsLLQg6Jnz6Of4T88zbMFxSgZAgRyUg+ Tc08u7tfY2kolOrz2GMAB3N4aLvJ5tYZaPjTdro2dnKBaeuNXRVxyA3OqBGHG0P05fYB6kKQxJz blj9BiQ5SHgOze/SNkgWzkyUAP8zObW51bDU9NDVF3EZvuZNT4+B+ibNu6/GjyHIHklU7PrNZO4 rAXM1CLrbzAnL/rOmxEotJsK44YQmR2jXS6iorsgPNXz5tFyL6eQy7mc1JLsKzAVNZNmn6nkQmL R1YYreAjrhlXX0EysAEio2Z7kerlMBRxcGl81oM= X-Received: by 2002:a05:6000:4b1e:b0:48c:7143:610c with SMTP id ffacd0b85a97d-4abb2910b8fmr79230515f8f.36.1796291610743; Thu, 03 Dec 2026 01:53:30 -0800 (PST) Received: from localhost ([140.209.217.212]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4cea296f852sm5027600f8f.59.2026.12.03.01.53.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 01:53:30 -0800 (PST) Date: Thu, 3 Dec 2026 10:53:26 +0100 From: Jiri Pirko To: Jarkko Sakkinen 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: 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=us-ascii Content-Disposition: inline In-Reply-To: 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.