From patchwork Sun Oct 30 06:23:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 12889 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1666480wru; Sat, 29 Oct 2022 23:30:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5XWdBsG8HFqGKqzJfe3YWoksIrrgGqdFx2ucVdao4cqyP1uBuLy1gmn/evYSgIYfxoB1eO X-Received: by 2002:a63:fd48:0:b0:46e:d8b1:8243 with SMTP id m8-20020a63fd48000000b0046ed8b18243mr6992875pgj.350.1667111420123; Sat, 29 Oct 2022 23:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667111420; cv=none; d=google.com; s=arc-20160816; b=Yl+u+MaWVV7vfUMhUfWbeC5sHdXjL81IDUij+nKMz5GkPDdz1BgVy8S4NcB/GGYUH9 ZBFA0GvGswgbNCBLnKks2UKxe8ndH6SrKQGWOspBU3UP5Xbi3mN2bvUBkCtJAmoMg1DS xzFx+6yP0BLQNNXK4RSRaVHSclKgFkYYRoOCzkJKGRjluK4Ag1xaSO1SaCX7DM8RbgHL hBDUvx4lJpmTw89A+UcFlxXInacZLUqWNpofiyls0QcobABTbSk7R2/ROQ9O0+h32NMR nNzaqYosLAAb4Kfca+Ii732fnygAYEfLRcgJDzLvZOEz4y3uhhvZcfTvcFw50LtNQrPK VHaQ== 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=clH6UDWBYMsTFmSai1aVhEGtQID2TuVGtttScGy9b5M=; b=b86HgIs8rf28VEjKhAaSaQPx0sEiWlwy/hB0WNFgiut2yxhK6ZuRUW7IGGlI95UhfG 0yDz4QNJAXa90yf3wvEhepEIPYRK8Mf0ZVRG0uqwRqzSyRqwyLxx/st7zYjlhIofIU+t fTcwAVFptxAZtX4JLyM+lyDzXWRWE6SIT/UuALUeAw9TUns1xjoFbsouzXPwipep3oiE xNigo9sG7Jo4tsQbKyBQPZBxHVbNMLkqDtjxXVk+ZyGu15wW9AdBQMWd4RI220mCKOVw 3VGcCTZT5jIRa+CDML2R8f1VZtVUsughbUrOdx5UTX6uHEgMfwI8jlR/LNsZuuPwWiVd DA0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ShleHIpn; 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 7-20020a631047000000b0045abcc62064si4493483pgq.695.2022.10.29.23.30.07; Sat, 29 Oct 2022 23:30:20 -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=ShleHIpn; 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 S231214AbiJ3G3d (ORCPT + 99 others); Sun, 30 Oct 2022 02:29:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbiJ3G0X (ORCPT ); Sun, 30 Oct 2022 02:26:23 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E83A9228; Sat, 29 Oct 2022 23:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667111060; x=1698647060; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aIudZd3USQowTJaovq/Lv5Tlgdhp2EQL5ZZ1g16g3i0=; b=ShleHIpnPKu+sII5anUU995YeDbt9ghLqjyN685FePR65J65drzhjwhH vBfXWNlzPBxr5C39gJF5xbQ3T8zaBSoPuJXpF/g4e9T6v5MKBpM/hp3n2 Fr0MnVYj9D8QK3FnVRirGfsVhEobazqEacYf0uFzcLLzEpNeGtkSfuaiS FpV6s+t5k6hDf+XRNxNaGUGlnYLx9hRgZUNKvbl4/DuzcdZgdlQe+6bDM giBqELVW48xDxSW6RX/6PlOkyh9UnLBY44+0u2zZUVmrbtk3Z1T/nrZeh sP+GgfBxW4jh4pNxEU6Wazy9hazshKcPlSW/tUx+0XCd/llDbU4LY2+BM w==; X-IronPort-AV: E=McAfee;i="6500,9779,10515"; a="395037179" X-IronPort-AV: E=Sophos;i="5.95,225,1661842800"; d="scan'208";a="395037179" 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:24:08 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10515"; a="878393057" X-IronPort-AV: E=Sophos;i="5.95,225,1661842800"; d="scan'208";a="878393057" 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:24:08 -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 066/108] [MARKER] The start of TDX KVM patch series: TD vcpu enter/exit Date: Sat, 29 Oct 2022 23:23:07 -0700 Message-Id: <911804bc3c3773bcdc588d665aa472a76e8856f9.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?1748093024708511778?= X-GMAIL-MSGID: =?utf-8?q?1748093024708511778?= From: Isaku Yamahata This empty commit is to mark the start of patch series of TD vcpu enter/exit. 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 53897312699f..b51e8e6b1541 100644 --- a/Documentation/virt/kvm/intel-tdx-layer-status.rst +++ b/Documentation/virt/kvm/intel-tdx-layer-status.rst @@ -12,6 +12,7 @@ What qemu can do - 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. +- Qemu can finalize guest TD. Patch Layer status ------------------ @@ -21,8 +22,8 @@ Patch Layer status * TD VM creation/destruction: Applied * TD vcpu creation/destruction: Applied * TDX EPT violation: Applied -* TD finalization: Applying -* TD vcpu enter/exit: Not yet +* TD finalization: Applied +* TD vcpu enter/exit: Applying * TD vcpu interrupts/exit/hypercall: Not yet * KVM MMU GPA shared bits: Applied