Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4193892img; Tue, 26 Mar 2019 05:02:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+9OKNqLQ/Kzt+JzrmpQVKXxIEPQcHj271oGOPL8fNFWXPu6M1W2vaTqR+1QBkC33i/SC0 X-Received: by 2002:a17:902:728b:: with SMTP id d11mr31248598pll.257.1553601766636; Tue, 26 Mar 2019 05:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553601766; cv=none; d=google.com; s=arc-20160816; b=yv++Vc04fHxBwbrTU5Pg7JlHj/BkhsL7TNB9PwY0WouckinSCh2m+RAITZTqjECo3U 1EfZ1xPTxP+1jmvAjaO+9dLnF0Kd7yZnhe/3PaHTxkui9mmK8XvBGa19kbnAZwaeAcRO Z/yho28wkGnRFOT+TaKh0tkvLifn8zPQbxiX9RbVuH4dSpfuEZi5iGKk61FY6xDCNBuL kUbXH5QOEdfa3DUAsS+g9O42galVlhj84lKpVQkFe8d9CBcopRfTkpRv6Kdhf7z24mjW 4PenM92nOxOPTGeREr5oJQZXaEEhA46Rwouw5wRE2OGDtpupXXsO1oDS2dBlCrBEpgAm Luzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=IAGjhUOXVl/zb34Y9FsHzSrGaGGGTIAJCtaad5qJfmY=; b=VQMfTfhLkW+7FKP8kEGnwm8ViGO8N4R5Ttqtvm4O/C6k7oSOJW558/2YXoV6lKY1Zh NlYUnkZW47GOczUhmLYtJTH1O+yo5QW5hyBtPBp5M6DRUcYhBScNk3JmfHDok6AS+xQ2 8khl8j+kGJHNQSJpV+k2nWFespbLaHFR5SmqX9cIjXSpoL+K520jcisTCLwrt1qHvGTc pYmdDDj2RZ6/iSB3CiIaQahqcXRLQyy+EfJhl1GHg4Li85FBHpEeNNVNRrxbGAVeb0QK Jwx9u0uhgfVzzwulPq/dsW7SP13r+OuAIuJqUoHySxBIHieh9cXLOqgy/yTJGpPaAcpn m0bQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id s26si2141697pgm.223.2019.03.26.05.02.21; Tue, 26 Mar 2019 05:02:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726645AbfCZMBi (ORCPT + 99 others); Tue, 26 Mar 2019 08:01:38 -0400 Received: from mga07.intel.com ([134.134.136.100]:18163 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbfCZMBh (ORCPT ); Tue, 26 Mar 2019 08:01:37 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2019 05:01:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,271,1549958400"; d="scan'208";a="310509550" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by orsmga005.jf.intel.com with ESMTP; 26 Mar 2019 05:01:32 -0700 Received: from pgsmsx109.gar.corp.intel.com (10.221.44.109) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 26 Mar 2019 20:01:31 +0800 Received: from pgsmsx112.gar.corp.intel.com ([169.254.3.114]) by PGSMSX109.gar.corp.intel.com ([169.254.14.173]) with mapi id 14.03.0415.000; Tue, 26 Mar 2019 20:01:31 +0800 From: "Huang, Kai" To: "jarkko.sakkinen@linux.intel.com" , "linux-kernel@vger.kernel.org" , "linux-sgx@vger.kernel.org" , "x86@kernel.org" CC: "Svahn, Kai" , "nhorman@redhat.com" , "Christopherson, Sean J" , "josh@joshtriplett.org" , "tglx@linutronix.de" , "suresh.b.siddha@intel.com" , "Ayoun, Serge" , "Huang, Haitao" , "akpm@linux-foundation.org" , "npmccallum@redhat.com" , "rientjes@google.com" , "luto@kernel.org" , "Katz-zamir, Shay" , "Hansen, Dave" , "bp@alien8.de" , "andriy.shevchenko@linux.intel.com" Subject: Re: [PATCH v19,RESEND 16/27] x86/sgx: Add the Linux SGX Enclave Driver Thread-Topic: [PATCH v19,RESEND 16/27] x86/sgx: Add the Linux SGX Enclave Driver Thread-Index: AQHU3zlqJyshVndaUUiNLGXmU0HMwKYdUroA Date: Tue, 26 Mar 2019 12:01:31 +0000 Message-ID: <1553601688.17255.12.camel@intel.com> References: <20190320162119.4469-1-jarkko.sakkinen@linux.intel.com> <20190320162119.4469-17-jarkko.sakkinen@linux.intel.com> In-Reply-To: <20190320162119.4469-17-jarkko.sakkinen@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.24.201] Content-Type: text/plain; charset="utf-8" Content-ID: <31E7A22AF4084D48B90E7B42298F726C@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE5LTAzLTIwIGF0IDE4OjIxICswMjAwLCB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