Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp803571imm; Thu, 5 Jul 2018 09:07:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd6m7qLUAQNWPdFvKf9KhIRKuarTmIJwJ+JhX+fRfXhSL859Gbasa4FjT+pMzqcorFIUG2e X-Received: by 2002:a62:1157:: with SMTP id z84-v6mr7160054pfi.66.1530806866818; Thu, 05 Jul 2018 09:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530806866; cv=none; d=google.com; s=arc-20160816; b=l75nrEu0EhvsaPn3tnYS699jkWXwlV2Jhg8/lNeAKhgAHPBDw6LK6ADCwS3gyrp0/G Y6V0OGccKnoW5Deb73uHnEM9pRETOjQKLcrFPBk4pqNVEsad78BafHYnWC0Hv9Ih7jKB mApEml/laAIGBBbeSjY6mlnd39Pin+2bT96HkejQe5it722PQ4zSkJyh+JApvgWI94/b 3ZPevn2KtBpsMoS5k6v1DIgBaWIeTckbtOA0WSCz5tdDit8dv+sfHQWXvyr+gwj48pT+ +92KBDtSxzAN4odCxFXkpurH8gyHfTTJL3ewf1iMnnI1Ppkp4JkJKRfDeeOd0+dBpirz Tsqg== 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:arc-authentication-results; bh=CmbNUTdAbhTk4LBfPnOhyUBfW7n4M54PNVbI+7HXKEM=; b=nREmdOQdJcU/+OpEgIE3HCfYKrto7XMxJxoLeOn112XwEvXGbf0oo4/xiJXiTEqVrk zOh5qQ/btPoiK95zG94eNa3Vq7DkpxMcQm0ws44MzKCKuPco3zZ5P+uEkEEVuED/BCpd uS0m2Xy5XZWTL9UtxdiAnkOIBaLIp2jy2Qu+6Ub6uy1PB3ia6fQfGTyyrZqMZdAPzW+b SXbVrvbh7NPNPuCmFGJOcPJ8kBYjD4IArJD9RtiBzbVgpS7JsWfKqmClHfCLRf5tIcMw iymh11yIpiOFveNEk2QAAAgA2bd4IcC/bEjrVoiCJZN0kTK2wgfMN8nQ/qDxJ3wNNvSL ztLw== 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 e65-v6si6296209pfc.336.2018.07.05.09.07.17; Thu, 05 Jul 2018 09:07: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 S1754319AbeGEQGB (ORCPT + 99 others); Thu, 5 Jul 2018 12:06:01 -0400 Received: from mga04.intel.com ([192.55.52.120]:65243 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753592AbeGEQGA (ORCPT ); Thu, 5 Jul 2018 12:06:00 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2018 09:05:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,313,1526367600"; d="scan'208";a="72505995" Received: from dmorlich-mobl.amr.corp.intel.com (HELO localhost) ([10.252.36.24]) by orsmga002.jf.intel.com with ESMTP; 05 Jul 2018 09:05:50 -0700 Date: Thu, 5 Jul 2018 19:05:49 +0300 From: Jarkko Sakkinen To: Dave Hansen Cc: x86@kernel.org, platform-driver-x86@vger.kernel.org, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, linux-sgx@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Tom Lendacky , Borislav Petkov , Konrad Rzeszutek Wilk , Greg Kroah-Hartman , Janakarajan Natarajan , David Woodhouse , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH v12 03/13] x86/sgx: add SGX definitions to msr-index.h Message-ID: <20180705160549.GA12818@linux.intel.com> References: <20180703182118.15024-1-jarkko.sakkinen@linux.intel.com> <20180703182118.15024-4-jarkko.sakkinen@linux.intel.com> <296d6c54-306d-ebec-0a7a-68e06d00e704@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <296d6c54-306d-ebec-0a7a-68e06d00e704@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 11:31:59AM -0700, Dave Hansen wrote: > On 07/03/2018 11:19 AM, Jarkko Sakkinen wrote: > > --- a/arch/x86/include/asm/msr-index.h > > +++ b/arch/x86/include/asm/msr-index.h > > @@ -479,6 +479,8 @@ > > #define FEATURE_CONTROL_LOCKED (1<<0) > > #define FEATURE_CONTROL_VMXON_ENABLED_INSIDE_SMX (1<<1) > > #define FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX (1<<2) > > +#define FEATURE_CONTROL_SGX_ENABLE (1<<18) > > +#define FEATURE_CONTROL_SGX_LE_WR (1<<17) > > #define FEATURE_CONTROL_LMCE (1<<20) > > Have you run checkpatch.pl on these? There's a tabs-vs-spaces issue here. High portion of lines in this file are over 80 characters and have this same incosistent spacing. I'm not sure if this should be fixed bacause it would be consistent with the formatting that this file uses... /Jarkko