From patchwork Mon Nov 16 18:26:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 11910345 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22D6FC64E7C for ; Mon, 16 Nov 2020 18:28:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F20142231B for ; Mon, 16 Nov 2020 18:28:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388401AbgKPS2i (ORCPT ); Mon, 16 Nov 2020 13:28:38 -0500 Received: from mga02.intel.com ([134.134.136.20]:48461 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388289AbgKPS2Y (ORCPT ); Mon, 16 Nov 2020 13:28:24 -0500 IronPort-SDR: kNPCjkUVLm6FUkTSC5JF9qAgKngrkffQLUHWgtZD6rt1PmjzdDTAp355htjSLDHaqelTn14AQ4 F0JxzhyQuDFA== X-IronPort-AV: E=McAfee;i="6000,8403,9807"; a="157819222" X-IronPort-AV: E=Sophos;i="5.77,483,1596524400"; d="scan'208";a="157819222" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2020 10:28:24 -0800 IronPort-SDR: y8zciq0fWoIgTVdn9rgqx49hpoPpxoSlAxJ0Uu8bnhrJQ3639knTg7l9XAPT+r3n2EbzTRh7Wl Dpbyb2BUiYpQ== X-IronPort-AV: E=Sophos;i="5.77,483,1596524400"; d="scan'208";a="400528413" Received: from ls.sc.intel.com (HELO localhost) ([143.183.96.54]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2020 10:28:23 -0800 From: isaku.yamahata@intel.com To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , x86@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: isaku.yamahata@intel.com, isaku.yamahata@gmail.com Subject: [RFC PATCH 66/67] fixup! KVM: TDX: Add "basic" support for building and running Trust Domains Date: Mon, 16 Nov 2020 10:26:51 -0800 Message-Id: <53e3cbd5e790fd41a8c12c3560409da7d19e1523.1605232743.git.isaku.yamahata@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Isaku Yamahata --- arch/x86/kvm/vmx/tdx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/kvm/vmx/tdx.c b/arch/x86/kvm/vmx/tdx.c index adcb866861b7..d2c1766416f2 100644 --- a/arch/x86/kvm/vmx/tdx.c +++ b/arch/x86/kvm/vmx/tdx.c @@ -331,9 +331,6 @@ static int tdx_vm_init(struct kvm *kvm) kvm->arch.mce_injection_disallowed = true; kvm_mmu_set_mmio_spte_mask(kvm, 0, 0); - /* TODO: Enable 2mb and 1gb large page support. */ - kvm->arch.tdp_max_page_level = PG_LEVEL_4K; - kvm_apicv_init(kvm, true); /* vCPUs can't be created until after KVM_TDX_INIT_VM. */