Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6964014yba; Thu, 2 May 2019 01:28:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAleyTwCJM+tXLNa3a0uEkN7n39hLjYzE6OReoqfOG1mEKs+rUepqql+pyWHkHDh1dae7h X-Received: by 2002:a63:5d44:: with SMTP id o4mr2665226pgm.15.1556785724800; Thu, 02 May 2019 01:28:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556785724; cv=none; d=google.com; s=arc-20160816; b=seQoxLapDQJQ31ASE4k4o83Dx6ro9wzg0/xEwXxbHbtGtZ0mJRTfzx8A1wDMcxHfl4 O5Crb2sn6ndQTMMoV2Ljy8Rea3C2EB3cvAmJXoC9FRCicg3BUhvkODQtXHgJ+T2dmtX0 qYMshoeaGRlF/uBhbNMcQeLSxCgo191lo3ccnedzB+y8R2e/2LHPV4Tk/2G1UbZ402ku nfswSWq95lVe381rk86GxF5Kt6+3GHtFca1t6wWjTYoQ79drgXbD/LSvzRnqWaIJFoRy A0ctuqHhuSKdzQ0uBlwb/Ps7Gi4UMNvJDh3AELNtv+7S3r42iFdM+03d54kVPHk+3Jaa 0uZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=n/O0hYKATNdcscUIimUxzcRJOSL+ahCrTSUW/QU3n+4=; b=RKtC9E4eqXlOfoB2uVL4zWOo791fZNFYc6/PTlZAnYMCCIn6yzcabx3ZWqtJfNA0ax k8rQsZTMPsremLM0oDauTn7AOiZZd8xU9Y3Vyq9btaN3NaeK5LxJE+Lq9/D6lEE0AxUX tl8ImiXYQe8ev2anrEXHOdQG2ihom8rH2VgiXDAdjqWuRWXb64OG6Y9nbYSE1/Ml9/zc IU/VJ7md2coxksI6AYo1sOF8jegEl7fNQvdZgeggV8YNf0GSOsgojoxSJycnqD7+U/c1 yFT6tkv6+84wzDBBeOlMfEOaV9sdUYnI4y+6bhb8HNmf7tppJzCWDjMTyZs6M4G6qeCe wqXQ== 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 g33si42338921pgb.192.2019.05.02.01.28.29; Thu, 02 May 2019 01:28:44 -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 S1726400AbfEBI1H (ORCPT + 99 others); Thu, 2 May 2019 04:27:07 -0400 Received: from mga03.intel.com ([134.134.136.65]:48270 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbfEBI1G (ORCPT ); Thu, 2 May 2019 04:27:06 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2019 01:27:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,421,1549958400"; d="scan'208";a="147606578" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.50.189]) by fmsmga007.fm.intel.com with ESMTP; 02 May 2019 01:27:00 -0700 Date: Thu, 2 May 2019 11:27:00 +0300 From: Jarkko Sakkinen To: Jethro Beekman Cc: "linux-kernel@vger.kernel.org" , "x86@kernel.org" , "linux-sgx@vger.kernel.org" , "akpm@linux-foundation.org" , "dave.hansen@intel.com" , "sean.j.christopherson@intel.com" , "nhorman@redhat.com" , "npmccallum@redhat.com" , "serge.ayoun@intel.com" , "shay.katz-zamir@intel.com" , "haitao.huang@intel.com" , "andriy.shevchenko@linux.intel.com" , "tglx@linutronix.de" , "kai.svahn@intel.com" , "bp@alien8.de" , "josh@joshtriplett.org" , "luto@kernel.org" , "kai.huang@intel.com" , "rientjes@google.com" , James Morris , "Serge E . Hallyn" , "linux-security-module@vger.kernel.org" Subject: Re: [PATCH v20 16/28] x86/sgx: Add provisioning Message-ID: <20190502082700.GH14532@linux.intel.com> References: <20190417103938.7762-1-jarkko.sakkinen@linux.intel.com> <20190417103938.7762-17-jarkko.sakkinen@linux.intel.com> <4aade310-6400-d448-6d24-12f4ae7b21f2@fortanix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4aade310-6400-d448-6d24-12f4ae7b21f2@fortanix.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 01:34:03AM +0000, Jethro Beekman wrote: > On 2019-04-17 03:39, Jarkko Sakkinen wrote: > > diff --git a/arch/x86/include/uapi/asm/sgx.h b/arch/x86/include/uapi/asm/sgx.h > > index 7bf627ac4958..3b80acde8671 100644 > > --- a/arch/x86/include/uapi/asm/sgx.h > > +++ b/arch/x86/include/uapi/asm/sgx.h > > @@ -16,6 +16,8 @@ > > _IOW(SGX_MAGIC, 0x01, struct sgx_enclave_add_page) > > #define SGX_IOC_ENCLAVE_INIT \ > > _IOW(SGX_MAGIC, 0x02, struct sgx_enclave_init) > > +#define SGX_IOC_ENCLAVE_SET_ATTRIBUTE \ > > + _IOW(SGX_MAGIC, 0x03, struct sgx_enclave_set_attribute) > > Need to update Documentation/ioctl/ioctl-number.txt as well Tha patch contains ioctl update. Can you be more specific? /Jarkko