From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 D803C330321 for ; Mon, 26 Jan 2026 10:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769423019; cv=none; b=DKtolAwZi+jEGeQJYeCcp0+Q0UvBhda98oEFk36oaClPfekwpCcrSYC7Qs75lgx3UNouy3onC79ZNGFhFjd4Kb9b/nf/EQu3noTQnouGjP9eCuLjA+zQiEPcUqnoGq3gH9H1ZyOhSVL1K4wtP9B0OMxEzDt2/eFpzmNjA/ZBHGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769423019; c=relaxed/simple; bh=ncnEaKhx5TLp80nfEy8lZHAwERjJau4WaxgsBdTZyOY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bUOxrFXQu1rZ9EYD9KKktwB/lMu+vy4j0MfJEKnseWqD/+3pDtamcEW02rrSOxCTf3El9iBHAWp4/AILaSN2Q2zTPe8fZxLcbjblvKj1mfLmGv++9m0fLPFA3nFY30GjshDBx/r99SqQRvqBVvgblLfA0F5tPCjo19TCXTbpkE0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ju4XvNK/; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ju4XvNK/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1769423018; x=1800959018; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ncnEaKhx5TLp80nfEy8lZHAwERjJau4WaxgsBdTZyOY=; b=ju4XvNK/7jewrL3kdnmdNZYif1KtxiVq/lGf8lZg344yRMYLBbPKL0ug wKdL0KFIqQ4LBIDTwijz9ew+Q1VeEIMkGnLa1xrCxe1+qSVYr6e9dB/Hh PvI/nlIxQaFeNexDFIxAJ7KKUlpP0F64YdWwuM0o2TgUisr/Dseco7FTx 2sXAahvGJkiLAso+6bOJPqA6kdzLRLKsGwG/5Rb4i4Exc/a6hu5X2mKPy d/xnsK7tH0dQkcsxt+XlKN9paW7Rc5cBZapU6K7Tsg0xXE+smOmS9sp65 Jq/9eNK86Bfz64E0N8rAqVy+JWkghbyJeRT6IL832+0XGAuPaZIx4klkN w==; X-CSE-ConnectionGUID: L1LP+oU/See1GOSgu+2xBg== X-CSE-MsgGUID: SBjt6COVSDeTv6GzYcNgkw== X-IronPort-AV: E=McAfee;i="6800,10657,11682"; a="69793947" X-IronPort-AV: E=Sophos;i="6.21,254,1763452800"; d="scan'208";a="69793947" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2026 02:23:37 -0800 X-CSE-ConnectionGUID: ZbPIuE7bRPGKhKRNepNULw== X-CSE-MsgGUID: fBmSQocTSEms2fXJDJhfnQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,254,1763452800"; d="scan'208";a="207894704" Received: from krybak-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.55]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2026 02:23:30 -0800 Date: Mon, 26 Jan 2026 12:23:27 +0200 From: Tony Lindgren To: Chao Gao Cc: linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, x86@kernel.org, reinette.chatre@intel.com, ira.weiny@intel.com, kai.huang@intel.com, dan.j.williams@intel.com, yilun.xu@linux.intel.com, sagis@google.com, vannapurve@google.com, paulmck@kernel.org, nik.borisov@suse.com, zhenzhong.duan@intel.com, seanjc@google.com, rick.p.edgecombe@intel.com, kas@kernel.org, dave.hansen@linux.intel.com, vishal.l.verma@intel.com, Farrah Chen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" Subject: Re: [PATCH v3 13/26] x86/virt/seamldr: Allocate and populate a module update request Message-ID: References: <20260123145645.90444-1-chao.gao@intel.com> <20260123145645.90444-14-chao.gao@intel.com> Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260123145645.90444-14-chao.gao@intel.com> On Fri, Jan 23, 2026 at 06:55:21AM -0800, Chao Gao wrote: > A module update request is a struct used to describe information about > the TDX module to install. It is part of the P-SEAMLDR <-> kernel ABI > and is accepted by the SEAMLDR_INSTALL SEAMCALL. > > The request includes pointers to pages that contain the module binary, a > pointer to a sigstruct file, and an update scenario. > > Define the request struct according to the P-SEAMLDR spec [1], and parse > the bitstream from userspace to populate that struct for later module > updates. Reviewed-by: Tony Lindgren