Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp180182rdb; Mon, 22 Jan 2024 16:38:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6mBkFMm0r1HJr0WqDvstIrtc0NwW1ERyr0MQ/7KQ36BV5Vtq8Zk7HAqpk4wz/RShXEnwf X-Received: by 2002:a2e:9148:0:b0:2ca:1d5d:e944 with SMTP id q8-20020a2e9148000000b002ca1d5de944mr2002365ljg.106.1705970324912; Mon, 22 Jan 2024 16:38:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705970324; cv=pass; d=google.com; s=arc-20160816; b=xGEFpj1g1MYnP+aNI70XlUc+gubeTJOebm9cpv9CTCPS4szpBW7UZlwWlpzUyxBV40 3Hd/uk1asKO4qjuYJmFFBHf/QsdubEcM5P9TKjadF7lKjt0UtH7aJUXizTnwkUs3JTkd 9YxtjLLv0sbZKj1aXT7A5qQRVPvQnP0pPH8l/SAZnJhNFQk35U5I9XUZJBjfoK+qaK3E EusF1BSFdFQbZLen1+5G5r67G0U5vX88eipXlfM+KiEL7MhV0PtYBy18oSH7+HwGIGhY E5Vv2OLSkjvA+ZY9kflpDnFoWSRNjSgUJwpng8kled7/gsuVTjtFEhRcQ/YWH1ZynFKl nofA== 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=Kf313JMqS5z0MBYrawAKpC01wl/VS/SD18KE5zZpg0o=; fh=Itbyk7CEvizIrzGEESCqq3I2tZgG1kc/GkVOa3S7Hsg=; b=uStiBRj5XCAfQLWXLW7xWeo0p2M+voJGozh+kuwoeJiMo1Gv3R3b9cMf+pNJuLcMru RgcQbDLJXjYWSVoRAoeLXNxyTWkOVXICsdvi509Iv2IJNF7DOKM5X5V8KZiImgCGCmu1 lkr3MyxXPKsUdHO+Y1bVpkykTO+8xly/9hBIh1HH/RjRspHxH+m1eeLJOQ22U8mLV1uk A1EbFPOio4GyPRW4iVzKUsvwPJRIc+4eWTGJSwmdRsKeYQYJYsK7IqsP4XNmfiGfBdoW zj7/1ZgohTB4Grg4TBlYci+wSwENqAHz7azTrOEhjFuCzNiB374uTypj0IhVFsiyOeIk L0cQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QwMsDutY; 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-34319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e18-20020a50a692000000b0055c1926cfeasi2186514edc.233.2024.01.22.16.38.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 16:38:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34319-linux.lists.archive=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=QwMsDutY; 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-34319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34319-linux.lists.archive=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 A0BC01F27081 for ; Tue, 23 Jan 2024 00:38:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E10553E15; Mon, 22 Jan 2024 23:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QwMsDutY" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 BA05350A95; Mon, 22 Jan 2024 23:54:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705967701; cv=none; b=ojquF5wtIgI1iAoWvmztDXipx5Ewf8lST3fPIOUk4lIqvcIUFDqtNrA4qN3T2WIYr9QSnNMHGnZA2V3RudNyITQEggAbx5ic3PA1wIweP8qBqhNF5/P8V4/5XEwf3esbyA5WFYUw3GQedyc28RGZH0E1Z4V+FXc5yNiX8CX7pOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705967701; c=relaxed/simple; bh=gZq/xU5HPMr+7bL2m3UNHQGfAGkvgf+PBtN9vzhZEYs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dqMq44yt0iuKWYlnwpYjT5wWHlU5Nn5Z2lRR2Tuyc23R1LhXEGxuFirS3Rsn8DqRKzf4lDRlm/rwX7M2Dx81Qa3V33SgnOjpWdwJA2aH6WW1ipye9xYKVC26tc8vfMIw88GQ5NFKZm8j05cC25PdjIwP/ylMI4rIDsCQ9WF5VRk= 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=QwMsDutY; arc=none smtp.client-ip=192.198.163.12 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=1705967700; x=1737503700; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gZq/xU5HPMr+7bL2m3UNHQGfAGkvgf+PBtN9vzhZEYs=; b=QwMsDutYtFy1AGpgl8+ry9Foa94ITLYwQp6MP6d+EjjYtsQeNu+j7tjX LdN9yMsQ7gkpt+2+/8vwloDSGu8nohl7ERP+tnGuskL0y8Z7ft4xc/qqZ Q7wwFyhhIJQFs913BsIPcjR/KHmA2G7ImXMoqOhs4wahnjmm2aDQV2vdh 3pBhw02Um4Sbuj0uxFvEhYOTsHlxekZwxX8sLAf14LjWy9J6MlIOB3Ew6 UPEUAtJf2tgOfnWOEFLuHHfNZoONFQL5qs1ta8LfFqKnfrI1iC9ciVadb P7kM3x30M6Sc/70BAm5+YL45njGynTP28SPo14WQijzubv1p7Bzom/z3V g==; X-IronPort-AV: E=McAfee;i="6600,9927,10961"; a="1217845" X-IronPort-AV: E=Sophos;i="6.05,212,1701158400"; d="scan'208";a="1217845" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2024 15:54:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,212,1701158400"; d="scan'208";a="1350150" Received: from ls.sc.intel.com (HELO localhost) ([172.25.112.31]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2024 15:54:59 -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 v18 011/121] [MARKER] The start of TDX KVM patch series: TDX architectural definitions Date: Mon, 22 Jan 2024 15:52:47 -0800 Message-Id: <0ac6ba1543267e08feef524e1e85de5087002070.1705965634.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 Content-Transfer-Encoding: 8bit From: Isaku Yamahata This empty commit is to mark the start of patch series of TDX architectural definitions. Signed-off-by: Isaku Yamahata --- Documentation/virt/kvm/index.rst | 2 ++ .../virt/kvm/intel-tdx-layer-status.rst | 29 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 Documentation/virt/kvm/intel-tdx-layer-status.rst diff --git a/Documentation/virt/kvm/index.rst b/Documentation/virt/kvm/index.rst index ad13ec55ddfe..ccff56dca2b1 100644 --- a/Documentation/virt/kvm/index.rst +++ b/Documentation/virt/kvm/index.rst @@ -19,3 +19,5 @@ KVM vcpu-requests halt-polling review-checklist + + intel-tdx-layer-status diff --git a/Documentation/virt/kvm/intel-tdx-layer-status.rst b/Documentation/virt/kvm/intel-tdx-layer-status.rst new file mode 100644 index 000000000000..f11ea701dc19 --- /dev/null +++ b/Documentation/virt/kvm/intel-tdx-layer-status.rst @@ -0,0 +1,29 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=================================== +Intel Trust Dodmain Extensions(TDX) +=================================== + +Layer status +============ +What qemu can do +---------------- +- TDX VM TYPE is exposed to Qemu. +- Qemu can try to create VM of TDX VM type and then fails. + +Patch Layer status +------------------ + Patch layer Status + +* TDX, VMX coexistence: Applied +* TDX architectural definitions: Applying +* TD VM creation/destruction: Not yet +* TD vcpu creation/destruction: Not yet +* TDX EPT violation: Not yet +* TD finalization: Not yet +* TD vcpu enter/exit: Not yet +* TD vcpu interrupts/exit/hypercall: Not yet + +* KVM MMU GPA shared bits: Not yet +* KVM TDP refactoring for TDX: Not yet +* KVM TDP MMU hooks: Not yet -- 2.25.1