Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2840261pxy; Tue, 3 Aug 2021 17:14:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0o9+6vnynxwbxcFZSObi6EiwXiKVJ92877EyCkSOf9uemHTgxpP0dgorfNIPhWz4jQFfD X-Received: by 2002:a17:906:15c2:: with SMTP id l2mr23286044ejd.348.1628036052672; Tue, 03 Aug 2021 17:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628036052; cv=none; d=google.com; s=arc-20160816; b=0nZ2jG9kiGZ+1fA4BEEMgj90deY9/vlCZ1j57c8WAmovCtYfm1ER0Uj+MvFlPTEzTc NGhTQITZCjE0WOanu4e7jwE9Z/1SVHoQQjRDKtkRgL0gKd3WO1wx6F/ohPqF4Dmd5Kc2 BJ3yPLX3Hzsqg+X5eL9p5P5VVJHT6OG/1GJgOdWlrsHAWdxTmixNk+wbt9mEa1u2tqDB 5odwMlM+W3crYvBTnhO1PRDX3O9pmi5JFC+f2Klyl+2hvms1Vt075zrMHA7Uununr9hu amNW+DVUxn0l3Oz1V6N0sPHPSXOET8nwYlX1bH2ZOH69RrlL/72MZ3SKKuRZmxJNj4Ce q1rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=PB77i17jl3EGHo0laf1VQljQgctNs0dOkoebiSyQ7tk=; b=R0oTQxvu99bU+QO/wR8Vam5UK29O9kGV67+WUii5Yp2ffzbKjukVTxXPDMFKopgc4X XuOWw9Sb0BVBXPCqNXB8IbH2KwtKgaicKrxCd52V48JHfHb5yJxiP0Al5k2mireYqtdV YbMvd5lNuO8W6ZUwEgAD2rvQoZwrMVPRPVOC6SLN3rKHqa0OKzBfzLXvO1zNA8xU8wBF gpm72IVE8MzLbW1cFA826Rh9y3sdok82ayrQweEDNJdAs7gk0Y9ZRNsJpqqtsGG6XbT5 57reIFBctsZSYGViW6dnplSqT+ioTtP/JsJq8Ka3mHnigKnrizjvyEtFSWaflueC7om8 veOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dg3si452632edb.205.2021.08.03.17.13.25; Tue, 03 Aug 2021 17:14:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234557AbhHCXtu (ORCPT + 99 others); Tue, 3 Aug 2021 19:49:50 -0400 Received: from mga03.intel.com ([134.134.136.65]:32391 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234543AbhHCXtt (ORCPT ); Tue, 3 Aug 2021 19:49:49 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10065"; a="213844551" X-IronPort-AV: E=Sophos;i="5.84,292,1620716400"; d="scan'208";a="213844551" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2021 16:49:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,292,1620716400"; d="scan'208";a="670710688" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 03 Aug 2021 16:49:37 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 3 Aug 2021 16:49:36 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 3 Aug 2021 16:49:36 -0700 Received: from fmsmsx610.amr.corp.intel.com ([10.18.126.90]) by fmsmsx610.amr.corp.intel.com ([10.18.126.90]) with mapi id 15.01.2242.010; Tue, 3 Aug 2021 16:49:36 -0700 From: "Luck, Tony" To: Matthew Wilcox CC: "Hansen, Dave" , Sean Christopherson , Jarkko Sakkinen , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "Liam R. Howlett" Subject: Re: [PATCH v3 2/7] x86/sgx: Add infrastructure to identify SGX EPC pages Thread-Topic: [PATCH v3 2/7] x86/sgx: Add infrastructure to identify SGX EPC pages Thread-Index: AQHXg/G30fZF4uOm90WtR2lkv24P8qtZas0AgAG4/oCAAQ5zgIAAAVyA//+qPoCAAJSLAP//ufVQgAafygD//7BoUA== Date: Tue, 3 Aug 2021 23:49:35 +0000 Message-ID: <5B1DB882-124D-4218-9522-760AB69F6A3F@intel.com> References: <20210719182009.1409895-1-tony.luck@intel.com> <20210728204653.1509010-1-tony.luck@intel.com> <20210728204653.1509010-3-tony.luck@intel.com> <141602a3-ef61-01f0-4a3c-69f8e7012fcd@intel.com> <20210730003809.hp3nmqmgyysa45nz@kernel.org> <20210730184400.GA1521057@agluck-desk2.amr.corp.intel.com> <259e12df49b9495cb6b326e52c9ffe51@intel.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8"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