Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp411633lqb; Tue, 4 Jun 2024 15:36:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXg1E1ZOwMcEYheQFBYf1bOj6H6DKEBJ2Js/jCEZejS3v0FtmrfyxNOa7Z9lKHH4nfS6mAWTsoJzvZOZMno5yxcrcudTNg5g7vXTftCxw== X-Google-Smtp-Source: AGHT+IGLQuXFgj/GujTSkJh2iMxRlmRfxuw6Pv6vlKTghR0nnTPDtPAjaU5D43jb8I8dYKdga9QY X-Received: by 2002:a05:6512:3a8e:b0:52b:942b:cb2a with SMTP id 2adb3069b0e04-52bab507926mr664831e87.47.1717540606333; Tue, 04 Jun 2024 15:36:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717540606; cv=pass; d=google.com; s=arc-20160816; b=QBnSMyd4kjeaHHwYXxtmM6iIs8ZiORz0GhKq89320xqzbgHW5hzc2SwxPq3ssQ9/sn VBwvZZvL+koLSJZPi9lOBQYAVHkXy1f+ChWefsusM9pswFRKdIpCLyPHfF4qZZ+JDUFG lcliyWQ+XTlAuOyQ9gjhzZ/Xn9kjUfrHpJOYff+5V7RW8Pr0d+FzUL85yYPpuj2BT9z4 fkBc/N77uDvOpRx3/Hs+JMF4x7j0ajWkcAHOzOPczAnjAJJNC29uO56qxiUBIjoWWOGL 2ZMjSwBeN1pkbstphmhHgDfAXKCVnsztgiM3lv708NEzRlxPVHRQ4Adpgy4UM11ghNBS qTeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=PKbFdESqpjhtLJN+nIauuUGLruxczye4DFmGdjhoRKw=; fh=lySBlj1TVTrDStwu5R/siRhi6zK/wsITSVZJhZiszlw=; b=fQ7VGEYUwKDO6YyRHYB5Iu3taTyNwjwQ075swlrXzix1tdQi5vLf/WpBKoWUE2VMBD lEeWW8Xtsqsd2gi+cKAS9eFnGg1NpkWI47DeveDUUd10QkcnTOugu2iZ56UyiIm6O2yG 3dYahiNRyD9paYmHT7IZHJsPjzTUrIJkKZbJkD878Qug5wE30M0ym8W7p89hcLZMbdrM PFrKnYHOo4W7Gmc4dm4xejQZ7ISCT5HpjfmHWrVeorKJbtd4NKkLX4Z6+vtO560T/VUl J3X61AizUpgHHUZTriBnZqZ95n/v7Qj39eSfRb6C/TfP0Tpmop7+s+oszdwJmoZNCZ2y /5+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wa1jwYWe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a68cb5cf530si353968566b.176.2024.06.04.15.36.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 15:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wa1jwYWe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0FFEF1F23F19 for ; Tue, 4 Jun 2024 22:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27E0F14D29D; Tue, 4 Jun 2024 22:36:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Wa1jwYWe" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD43014C5AE; Tue, 4 Jun 2024 22:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717540589; cv=none; b=vBDWcH56j5zVBLP7sYhbec3pbJqcXk9s+oXheTFj6mCJ71uAVa/yveCyXJZK7555FMWsfmKDtxzX/vC9XWA60obAAjJGveLDGlx640H+clJ0ZNPRcIoE/D6Px0c4GoRzIkcdMs8N72MBPrnDquEKzcd8cOu8+3O/7bmqDU5NQq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717540589; c=relaxed/simple; bh=vkh29LcZuA4Sz0xUo0Giq6q/HmkTXs9ahlbNzKVYxng=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=MHkSXC+ksEis5d5AMH+OQ4QDBfr7Y26BfSm4BAyXqv5cT7qM1ZMdrGicPoXYrDIrrTACYXfhH2sOezAHcQaQQj/0WHY6/8+i70JVX//Ag7PrtjrAF0h1r2hDYba2bDiGSt2epudTKXiilVcPnQFQPtS92yd3WYWqnrht9hmPnOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Wa1jwYWe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7037C2BBFC; Tue, 4 Jun 2024 22:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717540589; bh=vkh29LcZuA4Sz0xUo0Giq6q/HmkTXs9ahlbNzKVYxng=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=Wa1jwYWe1gDKB/JcdKkJd5eqvpX/bLh954mEJEiY5sfp1Jsl9BzcS7gIADAcpRFQ8 5b2Z+KR0PO7iC+UefSD+nWYWgv5dim7w3OceDBruFV/tyaWv7LDlGrITfKmLGoAM6a 57yxX26az1npx87W6+VsZxy1l3ruChkkm4Pzk7eYQK0dOcyeNIoegwdV1vps+HxRSO FcPOpucMgOCpo9fUxHYSbyfugusoq5loIrWUAewdkYAUpoUYvEe7Kv6HTcEuWk8TxF QgIqjzR2Sq65KRa0Piil1C789ZsmBR+bfL1YZBun7IlsuINQyGQLIitVySKAf4bAbN puw6F6rCHqlBg== Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 05 Jun 2024 01:36:22 +0300 Message-Id: Cc: , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v9 04/19] x86: Secure Launch Resource Table header file From: "Jarkko Sakkinen" To: , , , , , , , , X-Mailer: aerc 0.17.0 References: <20240531010331.134441-1-ross.philipson@oracle.com> <20240531010331.134441-5-ross.philipson@oracle.com> <1eca8cb1-4b3b-402b-993b-53de7c810016@oracle.com> In-Reply-To: <1eca8cb1-4b3b-402b-993b-53de7c810016@oracle.com> On Tue Jun 4, 2024 at 11:31 PM EEST, wrote: > On 6/4/24 11:21 AM, Jarkko Sakkinen wrote: > > On Fri May 31, 2024 at 4:03 AM EEST, Ross Philipson wrote: > >> Introduce the Secure Launch Resource Table which forms the formal > >> interface between the pre and post launch code. > >> > >> Signed-off-by: Ross Philipson > >=20 > > If a uarch specific, I'd appreciate Intel SDM reference here so that I > > can look it up and compare. Like in section granularity. > > This table is meant to not be architecture specific though it can=20 > contain architecture specific sub-entities. E.g. there is a TXT specific= =20 > table and in the future there will be an AMD and ARM one (and hopefully= =20 > some others). I hope that addresses what you are pointing out or maybe I= =20 > don't fully understand what you mean here... At least Intel SDM has a definition of any possible architecture specific data structure. It is handy to also have this available in inline comment for any possible such structure pointing out the section where it is defined. BR, Jarkko