Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1474178imm; Tue, 3 Jul 2018 11:50:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeyIn785t30ar+JkQxILtr7wqge7fcivkm/CvsT2pwluLjAs/PVyGj75Qt0bRtAiAtPtxil X-Received: by 2002:a63:5204:: with SMTP id g4-v6mr6754557pgb.274.1530643813363; Tue, 03 Jul 2018 11:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530643813; cv=none; d=google.com; s=arc-20160816; b=Ysp7jL5wnk8s0zcl3n2+RAWLuLAqyCvchCEPlhaTfjngEEK2JuU7/EiOXSDWnqh/jd jg0/rJdHIKtfw2qayqGxIkayEmbGu8dRLJ3E5BklWF1+7acvH/ll77lLC/xswOVDh72p JQqKFhdA2f2oFJkHnK21/HuBkWWJKLGjoJRGrXWHtaaBLQ/pik8FUr3uJFNxVh7rX40+ tla0sBQsE2KrHzrYscwsZAZ9ERSkSDfO8az7LILeHWkN32f4lmAnShDbCrO6fXDc89BF FEA7IxXbGGWp3eGJg0eiND2SmolLZTmLu6tAp+VHw8zQR6T7LIQT2vasUM75U4JGDhui 8oAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=74MpyGNl4BVtuuTV8dGK8OBMFC3Wd5I7DGbOjU+a3vo=; b=O3cyvAIxp9ew3EenZ9YJX50J82D0cIZ/GwSIxQHr/9Sv1ccjGI3ZiGOmNxV0yIrZQJ 8BkOiffMdZNbYuZ50V2xhGyfsFU6C827pHcG9bmmqgn40EhL2YQqqVPS3wsGplyABlaY mQCCIuJC4Fqx3JHIzxbh1xd4ZUJIXZyhUH1FfJyYo49OcJ9Cqa7m1ybBQeA4OTuRMrKP Qg5YTGmgLcKhdv+eciYzya5v8qRZVZiE6OkpoPpZZuGvkL1ecKWYsiF4nwxu14bFqdEn LCUZM42s0oTyHqePyM2C9VMEthAILahHLjdNRno3e+pmWt0LA8sBv+wvF/7pCaTEPvKA tNKA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10-v6si1456053pgv.315.2018.07.03.11.49.58; Tue, 03 Jul 2018 11:50:13 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934569AbeGCStS (ORCPT + 99 others); Tue, 3 Jul 2018 14:49:18 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:45171 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934465AbeGCStQ (ORCPT ); Tue, 3 Jul 2018 14:49:16 -0400 Received: from p4fea482e.dip0.t-ipconnect.de ([79.234.72.46] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1faQMA-0000zp-KQ; Tue, 03 Jul 2018 20:48:54 +0200 Date: Tue, 3 Jul 2018 20:48:54 +0200 (CEST) From: Thomas Gleixner To: Jarkko Sakkinen cc: x86@kernel.org, platform-driver-x86@vger.kernel.org, dave.hansen@intel.com, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, linux-sgx@vger.kernel.org, Kai Huang , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , David Woodhouse , Konrad Rzeszutek Wilk , Janakarajan Natarajan , Tom Lendacky , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH v12 02/13] x86/sgx: add SGX definitions to cpufeature In-Reply-To: <20180703182118.15024-3-jarkko.sakkinen@linux.intel.com> Message-ID: References: <20180703182118.15024-1-jarkko.sakkinen@linux.intel.com> <20180703182118.15024-3-jarkko.sakkinen@linux.intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Jul 2018, Jarkko Sakkinen wrote: Subject: x86/sgx: add SGX definitions to cpufeature The prefix is bogus. Not everything you touch is SGX just because. The proper prefix is 'x86/cpufeatures:' The following sentence starts with an uppercase letter. And with the proper prefix the subject wants to be something like: x86/cpufeatures: Add SGX and SGX_LC CPU features > From: Kai Huang > > Added X86_FEATURE_SGX and X86_FEATURE_SGX_LC definitions that define the Add the ... -> definitions that define That's redundant. > bits CPUID level 7 bits for determining whether the CPU supports SGX and bits ... bits ?? > launch configuration other than the Intel proprietary key. If this the > case, IA32_SGXLEPUBKEYHASHn MSRs (0 < n < 4) are available for defining the > root key for enclaves. > > Signed-off-by: Kai Huang Lacks your SOB Thanks, tglx