From patchwork Mon Feb 26 08:26:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 206407 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1945370dyb; Mon, 26 Feb 2024 00:53:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWPceO2qTMlA3e2fd4dDhGlWenW0/um/a9dOlYFJAD25yt3AsH/KcDeyLS2XsnuaXHEtzC47z4pfFicxaINj38tRzpWHA== X-Google-Smtp-Source: AGHT+IH/UVeh1Q74pxaGHbTCSmWhvTLX2cH9no0IKV1PCPHNtnMmR+FbTHQrM6KXTzvX0922iDT/ X-Received: by 2002:a17:906:2706:b0:a43:67c9:9389 with SMTP id z6-20020a170906270600b00a4367c99389mr674089ejc.17.1708937583306; Mon, 26 Feb 2024 00:53:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708937583; cv=pass; d=google.com; s=arc-20160816; b=rL+N4FcDbcw/V1LLPCkQi/U0V/FLgkas6LzN+8/3rWaUxnQxkqtVX/qaDm6cF3IGBx Lzfs43ZrncjavOsmrtoJ8KS4cqw19O3Li3LQICOcbXxQkZSmCu8uOAp2BmasuGhqcskI v+X7kjHLSs2U/pR1SZjhHiSofKkbW9m0pneoeZc09yvFlJHXRBFEAg18hzEhRQmKEX5E N/ItHmVMF5AZztD5Sp4f7cLZyQjkipZQBY+YmkmQFoERq2wx9HEhUvjiRyrjSldXfzTV XjGxqxza5FJW895rxeD80fLIEdQkAvxZlI8o5AIPa/i62X7uqUCsEbhPNFAnzlhn3LN3 srEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Om9aR9yuJ8FQebBHNIbGLsV/YzYGxkhc4FtTvMSZ/K4=; fh=Itbyk7CEvizIrzGEESCqq3I2tZgG1kc/GkVOa3S7Hsg=; b=WaUtEWRsQ0yWZ56m0kZHgOanna7qSxItSeNnV6ERVZdYJpz8oq/m0K17Zkr4pvwdfX YydkRl6jpzKNjGlkkkgl5c8J0Q6MxpqAaLdzJGZVrRdhvybM9wT7ULvFhqa+mIJl/7LJ d8eimnM4MehI9jfULyLOUGv4isCmKFrouTCyWU2GEu6Mg2Gd9KiGASeSzaBCXP8+9ANg aEDsxJ6qBSycfFpAy6VpFp4GepjLHqb+R7kO3VxOan43xmD1O05LhJpXwGK4fOZJVOYU +jpLblVEajXPxFP3Zu3dGHAp9OTL8FKlNotiVkFGdwqAONFLCaHp9Xw+KK1yvO6akBnC P0mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dCuGSrxg; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-80834-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80834-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q25-20020a17090622d900b00a3ed810b4e5si1917990eja.505.2024.02.26.00.53.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 00:53:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80834-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dCuGSrxg; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-80834-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80834-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 147421F24267 for ; Mon, 26 Feb 2024 08:52:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2A161DA21; Mon, 26 Feb 2024 08:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="dCuGSrxg" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 D3A7E657C3; Mon, 26 Feb 2024 08:28:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708936113; cv=none; b=CiiuA4G/7VfzlpJC5ZAZxpYlepRcxHmkxuie5o6ZkwxxgNBKsnLZr603lj84o3W0OYvA05NxPN9YC80FwSZHO1vscyA8tKYUbv2kFZd6huNIqi7C8E2s9Pp+VHvhT+ECT2Nrg0YDGE6iLy014qi6zhvsaRScI8YCHaRby0cNySM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708936113; c=relaxed/simple; bh=TZ+z91imsScQD0p1/VsSa1GqbET/iM4ZKqAoChx+Rzg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tOSPfaeSh0OCfXTNb8YS7PtZHc6Dw2QEd3er6594Dti3WL4cT+dK2Bh6vUqjQoAluLVgcZAaxs0HPXdsPoXNxHa2oEwvfIXtRCqs8J7br4QQuIqrsexwvSknHN12tiHWKhzcBoVXJ6jdlCnEIuZlmTnAnM9M1mVWQPFLD6diPz4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=dCuGSrxg; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708936112; x=1740472112; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TZ+z91imsScQD0p1/VsSa1GqbET/iM4ZKqAoChx+Rzg=; b=dCuGSrxg/9emwAZa6+REA8n1nXl4SE9b5HLrK89qtX09/ca2h9bDfQAR 97cuTUqYzPlwTGO4CVi+LjagPiJQzY+f6KY2cD9To9mXGmwRmRIABtR4H F7Jfmj47ChxY2qh22LqM8cY2YjHpeeRh17A3Uql8BnaNsK97+2vh/Y4DF r0A52LxOz/6u43tfjB1nVwqBD+Jka685pnAG8KgwJYAhFTEJ499tTb/5u VbM/PUGL2JpCX8rJLO/QTfGFQrB7d6olKk+15OnUFy/RVz3Pmse1YKBDE Sl6jZef/YMxBdJ5/CeErLg2HnPj+iuUTnMYyYDLZ2Y0ai5mZr8j9vQmBg w==; X-IronPort-AV: E=McAfee;i="6600,9927,10995"; a="3069475" X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="3069475" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2024 00:28:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="11272446" Received: from ls.sc.intel.com (HELO localhost) ([172.25.112.31]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2024 00:28:30 -0800 From: isaku.yamahata@intel.com To: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: isaku.yamahata@intel.com, isaku.yamahata@gmail.com, Paolo Bonzini , erdemaktas@google.com, Sean Christopherson , Sagi Shahar , Kai Huang , chen.bo@intel.com, hang.yuan@intel.com, tina.zhang@intel.com Subject: [PATCH v19 072/130] [MARKER] The start of TDX KVM patch series: TD finalization Date: Mon, 26 Feb 2024 00:26:14 -0800 Message-Id: <43cd628fcbde2fd2e9e299382dc11c125b9f266c.1708933498.git.isaku.yamahata@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791950935530790214 X-GMAIL-MSGID: 1791950935530790214 From: Isaku Yamahata This empty commit is to mark the start of patch series of TD finalization. Signed-off-by: Isaku Yamahata --- Documentation/virt/kvm/intel-tdx-layer-status.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/virt/kvm/intel-tdx-layer-status.rst b/Documentation/virt/kvm/intel-tdx-layer-status.rst index c4d67dd9ddf8..46ae049b6b85 100644 --- a/Documentation/virt/kvm/intel-tdx-layer-status.rst +++ b/Documentation/virt/kvm/intel-tdx-layer-status.rst @@ -11,6 +11,7 @@ What qemu can do - TDX VM TYPE is exposed to Qemu. - Qemu can create/destroy guest of TDX vm type. - Qemu can create/destroy vcpu of TDX vm type. +- Qemu can populate initial guest memory image. Patch Layer status ------------------ @@ -20,8 +21,8 @@ Patch Layer status * TDX architectural definitions: Applied * TD VM creation/destruction: Applied * TD vcpu creation/destruction: Applied -* TDX EPT violation: Applying -* TD finalization: Not yet +* TDX EPT violation: Applied +* TD finalization: Applying * TD vcpu enter/exit: Not yet * TD vcpu interrupts/exit/hypercall: Not yet