From patchwork Sun Oct 30 06:22:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 12833 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1665442wru; Sat, 29 Oct 2022 23:25:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6lWQXl6mMBJDMYWaeh0RdE1kLiRePb2lqM6bh3ATHjrD9+bkPHR7gcQZpL8wk32/xVzLEI X-Received: by 2002:aa7:d744:0:b0:45c:e353:e891 with SMTP id a4-20020aa7d744000000b0045ce353e891mr7632147eds.36.1667111155869; Sat, 29 Oct 2022 23:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667111155; cv=none; d=google.com; s=arc-20160816; b=nmR5PJJt5BPFEo7SHqyGc3bvkgYRu/IlDsf/dvSkvBCGfG641XLc23ssq9qSx6VIgS 6TT55g92qOj5E+TeglXMYfA87xNMfdc+I3UxLyMq6PrUX3y51mliGJ4v+T/qmkDviTIL 3Qup747BZhoGniDMw8eUHwBAU2yk4BHVoGH+UG1W4adyiVa2GrFU6g1Fd5cP5Fiysn6d AngOGLjGYUJ56xCjh8KM+7jsFnQgET1zXYfW+HrVvQG6z4eq7Ba6Y9mMrO5QiAwN5xtC HdvKgENm9D69LS+pBDjI0RGoXusL0oPGzX9AH+CkU9xauAM+BnDknh1CbPfXtGRiO6tS RzPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9nlzYMO2DIrbQcPz/VLZlI9jRwaiOYZLQJGndMcpd/E=; b=Ch7IAgGvSuDCnJy+SQUCHnvPEc/eZCxd8fB1Z9mkYHpbBbdDYHgbQwijgk2l8AcNTg zHLK6im7HNXotb6Sq4u79xbKZplcywxJx07JW8pnnRfUZjfOZE9z/brPUwOokHW4Jr53 zYlmY1Fhv8OHdRtYjVBpm6GSIN7KDC6oWq8bqiqUdzyG8CgPsNyJHCTXHr4sSMhDL/z1 5e9yT/i8miOTYRwlVKpuqOsqlpJW0Ljd7enwAO6w1lAzCHeXJ3XiY5Xje7ZqbRd7JMGY U+rLjqYPTizk2lDMIYZKkoEbrLszQK6VCrCIMzYXdfoFy4pHQB+S+AA9DVT5vLr1tFRR K3Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Uq+Fkcba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170906794900b0078de4629958si4221169ejo.248.2022.10.29.23.25.31; Sat, 29 Oct 2022 23:25:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Uq+Fkcba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229632AbiJ3GYg (ORCPT + 99 others); Sun, 30 Oct 2022 02:24:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229777AbiJ3GYD (ORCPT ); Sun, 30 Oct 2022 02:24:03 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E461A6; Sat, 29 Oct 2022 23:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667111041; x=1698647041; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Wk7ogtc5Ub+4u4KfteyYsotpfo7mJ/YCVxSbhwLcn7s=; b=Uq+FkcbaZnYqBKqht4eNBILoDYAuY+7KWjerYLqu5pBnd0ovt5J4hg4D 1CvsA9Wm9O8v9lZelfSoYdI4m5HphqcV16qKa1d9nj818iT4wq5O3vFXM 5JlOXWprAAOXD7ZuIVIKMjYPN0TTN29vavJPnA1a3LEMtW/qsv9oY47bk c/gucsvV5KtW81iGxAAWZzR3ueZiF0XHwFAAnkuMlTOjy3wWLxg3nljTm NInLApOUfbysdeSIpIRnYecgJSQ6Rn6yYG9aHJaOXXNPHu1xFVeMEXmfC 4gxIpB/q9c1R9WN6j1+3eeKuOs4TQ0LivHfe/OF/+LlSwLgPTr4OcswsZ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10515"; a="395037118" X-IronPort-AV: E=Sophos;i="5.95,225,1661842800"; d="scan'208";a="395037118" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2022 23:23:57 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10515"; a="878392853" X-IronPort-AV: E=Sophos;i="5.95,225,1661842800"; d="scan'208";a="878392853" Received: from ls.sc.intel.com (HELO localhost) ([143.183.96.54]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2022 23:23:57 -0700 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 , David Matlack Subject: [PATCH v10 008/108] [MARKER] The start of TDX KVM patch series: TDX architectural definitions Date: Sat, 29 Oct 2022 23:22:09 -0700 Message-Id: <534314bb6041345ade0db6c4ddc18ade8d540648.1667110240.git.isaku.yamahata@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748092747438057012?= X-GMAIL-MSGID: =?utf-8?q?1748092747438057012?= From: Isaku Yamahata This empty commit is to mark the start of patch series of TDX architectural definitions. Signed-off-by: Isaku Yamahata --- .../virt/kvm/intel-tdx-layer-status.rst | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/virt/kvm/intel-tdx-layer-status.rst 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..b7a14bc73853 --- /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 +* KVM TDP MMU MapGPA: Not yet