Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2302887imn; Mon, 1 Aug 2022 19:57:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR6XIcS7zxNqPJXPvBRbxLYAeG3waAF2ePikku91KBHqKYyZnWPWj4m2D/OBpOWBx+XZLhJA X-Received: by 2002:a17:90b:4b10:b0:1f2:d4a9:6b6d with SMTP id lx16-20020a17090b4b1000b001f2d4a96b6dmr21961778pjb.12.1659409022160; Mon, 01 Aug 2022 19:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659409022; cv=none; d=google.com; s=arc-20160816; b=Te5qq1PFvedYE6eGBdLWtARqlDPzYkj2t8i5lgzW9TtGmOS2TLpcdnC9b8NGU2C+Xv XY1RaQ0VBUICjfIm4yTHKdja6WERlnW9t3QTZUDCQRYb2ZzdOtvYLuW5LoWFUcTU8Il2 95/6k69RZibq7Jo1wQBrL8SGLBoI+xRWPmDq0ql7vsjFPRE7lvGMgPNYvxGN1zbm2pMU xWY2LVMBqBWoaf2L8tPRgK9lkHefuT57FMkk2XrgUb2SMwQeJ7QP44yOEmCT7frbnSWK 6h3SCfJAVBv70ZXr3GGYQNGMNazk/AFrw5oxS7bffkU2D0GogVuml2aCWbcH/BIrTXfD ooLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=OZx7CajtvMkiCnlwt7rHIb0ADoHGq/IX7yj7nDLJgyE=; b=aJClxiJ/98Km4Udx2HA95ja5F4sdwnscU7PNbBsQQgd7stmqaFlGdtjViMtLS+yB1z HQNgdy3p9T89Q/HWE8hbcIQY1C16EZWwI6HRS3wYaR9yHinJuGOYqcH+6Sn5jkLBrlo0 mCz0WJ+JOzc2u0nMA+VXmwP82u4h0EGY55Ume3pc6zLqhyy2uYjrcgbFrshyKNZqCsag HAvs8TtqSlbHE28MQu5EpLOuo/qdnHVA2mo8Thmf5wMSYhFviibZKgIevOC1gO7VtqiG ChTSo+1bDCLm8bh7ZLBpq42DVvCTTC5Q47PCFnSEsniYy5pFKXFh79s42eUOq2C9B86v imkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=O6QuPqMF; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 195-20020a6305cc000000b0041bb3b63950si2229373pgf.367.2022.08.01.19.56.45; Mon, 01 Aug 2022 19:57:02 -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=O6QuPqMF; 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 S235353AbiHBCVW (ORCPT + 99 others); Mon, 1 Aug 2022 22:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbiHBCVV (ORCPT ); Mon, 1 Aug 2022 22:21:21 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 928EC175AD; Mon, 1 Aug 2022 19:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659406879; x=1690942879; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=OZx7CajtvMkiCnlwt7rHIb0ADoHGq/IX7yj7nDLJgyE=; b=O6QuPqMFSMFQzoeZRhiHoa1C6K8s+atnXzl3Xs9PF3wt91PHd1A2zEKl ArG4b/vIhuRVVw5/AqyLXRQprK5iJa6gVorpo3LNHZudhVgPmZ+fzWRLz 7K9tBilzt73vX3xHQVWVvr29Di9PzXZeWFcRuD/Tq6TbI7PsFv2yH0lIx 84wPTGUbY42YEutGbJQOTaY3k39gPZFTOXtPn7zewLjDO6udZiJeZLTRL wop4buCOhvhrGHd9iR2ll+VzUj2qzm6++nbZ/n0/+gAcJAZOo1geVmw+5 z0K8gRF9sCGABHaCXmyFJaYuUeE3o76TeEB5Dr9qBXyN+b91VyO8xF65t A==; X-IronPort-AV: E=McAfee;i="6400,9594,10426"; a="289314369" X-IronPort-AV: E=Sophos;i="5.93,209,1654585200"; d="scan'208";a="289314369" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 19:21:19 -0700 X-IronPort-AV: E=Sophos;i="5.93,209,1654585200"; d="scan'208";a="552747137" Received: from vgutierr-mobl1.amr.corp.intel.com (HELO khuang2-desk.gar.corp.intel.com) ([10.212.22.230]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 19:21:16 -0700 Message-ID: <35d7254cafde24b722b167c6a3566592d903acd2.camel@intel.com> Subject: Re: [PATCH] [v2] x86/sgx: Allow enclaves to use Asynchrounous Exit Notification From: Kai Huang To: Haitao Huang , dave@sr71.net, Dave Hansen Cc: Jarkko Sakkinen , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Sean Christopherson , x86@kernel.org, linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 02 Aug 2022 14:21:13 +1200 In-Reply-To: References: <20220720191347.1343986-1-dave.hansen@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.3 (3.44.3-1.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 >=20 > Tested-by: Haitao Huang >=20 > Thanks > Haitao Hi Haitao, Could you also help to test in a VM? You will also need below patch in order to use EDECCSSA in the guest: https://lore.kernel.org/lkml/20220727115442.464380-1-kai.huang@intel.com/ When you create the VM, please use -cpu host. --=20 Thanks, -Kai