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=1796291618; b=kUivo2m6jJCF87+kUZ4qmF5Sh/i6HdKyI2Mipzx894PdmQhkmM0XiRwWHQ/cPit4r5cq 8n0ff40I0a7LNx/z3vxI02f7JIJp4bM9Tsf1xhfMeSjUDywjtv2Zq1p6eNcvNaJBcQCel uZEJg/KtzyO4lLIDjFsKRwC0A6QKHEBXgCnjvLnVYlBJgJf5g0FKTU5deu2cSKOwkcRLC B6r/y5XP+l4kPP3rIvt1p0kBKNiD0nynZ1W52TGDjcUiEm6Kb4iLvCAvpzw8Xw74Pes9O FMXFSjYGIZJzUKelyiiKkaKoUcQhINwRsQuRxfxBbey1NZllz2wjuDz9bfot3LX2z4Q== 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=D5MsFynp4+xDVZIXwtLa5/Rjg/8a0ydSGosDKR3yPRtQuiASvDEIPW4JQ3sNQAtvXwYV ohO/5HeZ0DwJoDXj0kvhg2934p/Pm6p+WnyZw+XMizMHKFrHLiCFhEsrEf9uN8N+wP3/a rwmiH4zWFP0wEdipZ2pGy75Q9tzCCsWTJWrVaqzdBa7VWg6ycjLsk52FFINFSNgEwVPIt /s7gKuiaTgiblOB05kshZHgmZbIGcaVz4+erZqPrJwmd9wwf2UD0QgyjJqAYSxKM1Gv/6 xPbYDF/IwvrOEt/VfLoIdOquu547V4NLLoye0UZGvKLc4ks1X+4KZ204tnWGVk4w6Wg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=resnulli.us; spf=pass smtp.mailfrom=resnulli.us; 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 9BD1D606A32D for ; Thu, 3 Dec 2026 09:53:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9BD1D606A32D 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 Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-4a9be758734so9024682f8f.1 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=c+yChEFFmx1ZMySKq3rZ0LIPSeOVDnCPGLyea4eiKW3MEJcdKedTemX8oMVLlQjUoK IaWjSf2oj0WXupYUAH91IXdj7ZMZEHSe1XSC5KPsd9180DZk+zKUMPBTkbY+SKeLqiG+ jcs8iUi6PB1BO1rJwL/DQRcc3mbr+4NIrfFdUax9DBOkE9oFsu6U4G1epXLH03PHy/QS X7WmOGIZtYquiIgSclCBZpdaq+/sMudse44JspbYMbqbpzjj3OdaAROUX5FEIZ911xaf wYuEvROVgt+dQ6XDy2UnJn9BtvbcBQTuvQ33XgF7v3dAenoxgAe1dpoZINvlCQ6VyDYe lcJA== X-Forwarded-Encrypted: i=1; AL+hErFE5QTStDj8Tj/O67IFLaBOEQVdrjGupfIbdayy7YXD1GX3vde61NafDCWnKtG4O2Y07CYPS5qyx+haLFk=@vger.kernel.org X-Gm-Message-State: APuU4Z8TTFFC26RJs7yStkAeFtmWJdKsXJPpdXImtSZvsxn01is8O/+s Rk1XRPOB1QgNgPxVPpoXC7zUjQrnLAR0kRy4LVkTBgjl5uLSonaDZTTu8Y7KhilzqX0= X-Gm-Gg: AZFdTZfwQHs8yV8Q3172yTnc7btmlcywa7lgp8iQeAUQ721oM2SISt7OF/LOi7nBZl9 MREhuIji2KRePX3XbNYG8UaBhpIuijKtLSSvldX2U7f1eYOXyEp+sc8NsmrzcM0Lt9ot+LdgGrI WjfSjmqL4iqdtvOGaVejGQ7QL6y4ZpsCPd8HLJJblu6obT+ENwDLx434NT8iSvAUdVF1xzWxS7b 5e4faaCyRDHnmQL6Oxhq+9o2evzIlxeyQVxJn0oHOMhW6oeZ4/4Eodr/Eprk93WD8ICpV+K1Msq AGpkvUGYrshRqxlypjrMh8c0YpGSVEJ7w5t7fFGiX5XxeqLEUmpfrwMuW8V7V39/0EIjBvI+N4D bUOQtP1x11l6YHwJ5vBoyTP6i76W90/tCYttS59ZQeiVufh2BUsE8SZrV6SumgZz/BFdoEFbdhf tk5zd7/hd3IK1AH0yDdHeI8XkVDOJTgd5v3QYj/e9XoZx+XmZYYdhtybuel00Hjz9XzDT/69Lad 6PVmQAccOrkO+2NvHp9TI0zqPPB1kjf0EAxlqwEbNq4p7LY30cy5MzSLavzB61k3rd19LWFGJhJ Kscri5OKx3U46Ro26ez8rn14xyuriS1zCp25ink= 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-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: 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.