Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3033281yba; Mon, 22 Apr 2019 18:16:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwh3V0mfcXdqYdW7LGzwV8JV0nzWii5GqthEMarowg1KLgCHxqhKpBXoM/yV3XMQyIg6OLh X-Received: by 2002:a17:902:900a:: with SMTP id a10mr15997453plp.336.1555982208515; Mon, 22 Apr 2019 18:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555982208; cv=none; d=google.com; s=arc-20160816; b=cYo473nqJqoNnk4RKA6flb+Cic6UqhCzQeaPP+XAC6ZR9rCokZmRk+OyuXzuhT35IR z0eXXc3wl2j5aX+rmB3D557KDZWN2aTor+CA1exwOLMpE/i4WUzT87P2peqfhLx4V8O4 CkwrpJZ8tlpolx+KwnCehPRUglZ/oXZckF+8Pcqx6l1X3sGyXTkDQrbPFK4Y+c9GwHbe hZ8HG7nzpf0JlgfJTqK47oJ+rLYr1Qby3VivGqPj4X18YXKmu45AeYtCjgqIRzz0kHTr cPjwwrjDhL/KB4TFi+UGis3bsto1yHZtqJh8AzjmYkzdylI+cp0mKmIxPuyO7oNXDnsV NVIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=G5zx7WJN4K/2RcY0weQuUFTCT9o/R7ADsJl1EMrktRY=; b=Dpxs8PYHx31BZolS3FE2E/L+/xTlvZ6e1uDFPkRu0y5mMsT6MLlMyxEgEbnNVN/aaj wlaCpHHXZCc+uy7vefpxsLVdgfWi7eO7jSMWn6ZmBwwHPXeA7UBIWhk/UNLK3ihSLMKW 6agEgZiNsn7hXY/EeaO0+6GpnObnuknzGlwjfB+/r0YzlKPpfe9QB8QszRjN0PlZ2l8d bKOun9fYXWbWca11hqAPP9A4UGI56uffgW5skf6J+qOPMVUMdVt5z9sxnKxTpUL/D6v0 9RxG8K75KFpUldYrqGHEaKJsMYaIsVGkqgVXKJ8ggzWwby7O/L+b7N6hVwoPDCXvHDTM TEbg== 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 n129si15014765pgn.580.2019.04.22.18.16.32; Mon, 22 Apr 2019 18:16:48 -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 S1730085AbfDVVfi (ORCPT + 99 others); Mon, 22 Apr 2019 17:35:38 -0400 Received: from mga05.intel.com ([192.55.52.43]:14856 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727386AbfDVVfi (ORCPT ); Mon, 22 Apr 2019 17:35:38 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Apr 2019 14:35:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,383,1549958400"; d="scan'208";a="339802300" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.181]) by fmsmga005.fm.intel.com with ESMTP; 22 Apr 2019 14:35:37 -0700 Date: Mon, 22 Apr 2019 14:35:37 -0700 From: Sean Christopherson To: Jarkko Sakkinen Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-sgx@vger.kernel.org, akpm@linux-foundation.org, dave.hansen@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 Subject: Re: [PATCH v20 09/28] x86/sgx: Add ENCLS architectural error codes Message-ID: <20190422213537.GK1236@linux.intel.com> References: <20190417103938.7762-1-jarkko.sakkinen@linux.intel.com> <20190417103938.7762-10-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190417103938.7762-10-jarkko.sakkinen@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 17, 2019 at 01:39:19PM +0300, Jarkko Sakkinen wrote: > The SGX architecture defines an extensive set of error codes that are > used by ENCL{S,U,V} instructions to provide software with (somewhat) > precise error information. Though they are architectural, define the > known error codes in a separate file from sgx_arch.h so that they can > be exposed to userspace. For some ENCLS leafs, e.g. EINIT, returning > the exact error code on failure can enable userspace to make informed > decisions when an operation fails. > > Signed-off-by: Jarkko Sakkinen > Co-developed-by: Sean Christopherson > Signed-off-by: Sean Christopherson > --- Your SOB needs to be last. Several other patches have the same issue, e.g. 10-13, 15 and 17. See commit 24a2bb90741b ("docs: Clarify the usage and sign-off requirements for Co-developed-by") in branch docs-next of git://git.lwn.net/linux.git.