From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.50 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796291613; b=kquRmPLu9jgCOArNCOP3JgvRiVdxPxGKFbgNyA8N3ZlaY3nJ7LNjvzkCNW7F8glXdS8q WHK+MOgOylbMBwWYXrqzj2FZ9B4qV2UrYiqcOee53S1ENQsSdcHQag7/ODx/frlqNLiLt BvqB0ke5crpSgHY8667u2iizvKACPVT9Pjffpful+NWWbDHn9mEqKLne6Ot3u2GmsWqBO wtPDbjgHbkfw0AHLUw8OKKuOk27xMgLCy/77oHULPYVt6Gv+jVF6/Feme3GdL46fBOX+d CRQ4blgmh6t8sHCcGcW1QhI7kUIWmFyIup9Vb5R5mw5XTXZQzeBQdtUJsuHciaBv9Vw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796291613; 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=aCBquibtejaPRozGcnbqyQsbYYuu7M9G2kUBEZeK3pSOfhmAhxSKNliGS8VESiHBZT/3 05FHUaTY1ODawAWTfGM4PT6lVKwv9Wv7JNPc1ZMUv45+VZNbm7/E6BWDX+Y/B8oq+8v/i ABqt6cafaLOYuQNdIgOJFEsZCoyUKUwCrJBitpUwBMhehdPeDkIEy7oX1fGKa2udmEWL2 2wde6d2sdEwuHfd+rOl3Uu97DYGlvnNo8oG+Z9xk0g2b89dCOCGZ3O/wW4PUjLij6YEHO FZlUr1ppdmOHJT3R8t8N/ntx1t3F8wyKi2YTcwsW+Afm6+XiHFwlocWb4yAXuwKsLQA== 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.50 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 9BDC9606A32F for ; Thu, 3 Dec 2026 09:53:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9BDC9606A32F 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=EUc2kwwJ Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-4a357b1c649so7953716f8f.3 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=E84wXqim1zE0xBrZZQFmHU+6kG2n2Iatkq/dHBVTS5WnXjfk9KDsz18Z9MbW+vZE5R hALdjAfxPlKLpr5wjVdAznuwmtLRi0jvL5+CpRJCsiV339jE0cCtt7O4UNDEsx3/rikF 9Qk1zb/4fkMG8HIq0Z+KG0fTHGz4RwPq6mvB9Y2P46mRDJjgb4D9NBuYC+nV9rfm/WET 0BaiJRSN2K2u9XapelnKhUjJxAV70LugY+ZzO3aGaPAnpOTBwjs5RmF3kxhVXgR7tn/L CzkA2/ypTeVaGtMAHdq96/nUJy/SUREhimiB6PLhiNOCVzOg84Q4DgON7YTxoyRZwD4x kAvQ== X-Forwarded-Encrypted: i=1; AL+hErE1ULQvU6Oi2g6ATQMLBnSmDpS9W6nLiRJ/fzaEQyICqLhnBggmWiXpqCDzLh4JWwFtMwB1ki78J7Y=@vger.kernel.org X-Gm-Message-State: APuU4Z+wxrJw1n1KEb7jjB19OQqKqHZDXvjwtZVHcEV954m2H848brJg auy/U1aZCXVGz+o4BDKoDxlH7NsTAX2vs+36oPaK4xap6eOWFHVVckeoODLSJgBtI68= X-Gm-Gg: AZFdTZcqIfC/EtRmoCF2dzCNhad3bcRYr3SPagKEnBz0HgfHi4JtUHFfFHVAa94zhRz ANn2kTXgHbbwHe4zL/aBRa//CmtpAZ6AaHVMNXGNq6dii6Fk3X5R0nfEbr+sB2rMriTeGExOQNZ oG/Ohk4N/+hWlbc7ine+gcsH6cgnnbxsSrXS7UlzigGTu1+A12j7VBGcFUSuqMfTtsim7b5H+qs X0txs9PWbdpy1drugqgAdZ1Xc/1WwXvGxUl3gBPe+aAXrpkY7d0uBIw77vtmff9ErqGv0G2Axij 2d0NdAe1TR8aFveSCFJ3hGLRJPOSYaNJUG8ywTnUA//b4ceB/5esEKSTtf1I/WULm6ItZO3TFhW 65LrPrRulwMGotM/ppyVW1y59HMu+m+3F9Mj3VT7xPf8ol/UABoA3WyA8/YdIiNhXt759/10TJ9 PiLmm+ALkRVHxEb9P832KGr64w2QHFYkkl9zY89p5ZU9/0Lr96W8axjUryft33k0WESE1ZxCWUo BT7+rY6wvFx6B+GpVGmHuVYw6ukLRuuMJW99U+RHa9X3r/BxuNxhvxUdGwUuBd7Jhlb7LpHXRXT +TWBpEZbzvtDpfAjyyH+3UhAhIma+SiInMtiAfc= 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: linux-api@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.