Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1045290imm; Wed, 4 Jul 2018 10:25:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdvf9mBURoPAO6ooMTR5EtjzDJhO4LRO2CHJso0SscyX9TXDSwEr8aR15u1UiUFtxDu3lwV X-Received: by 2002:a65:6086:: with SMTP id t6-v6mr2732186pgu.424.1530725152235; Wed, 04 Jul 2018 10:25:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530725152; cv=none; d=google.com; s=arc-20160816; b=SeFNDotqk+6cllrDssW1sJsecR55GtWJFTQwmEwkDhOLIB1YWFNRDY1JezoYN/AoHs D2UKS0ZRfShoFPF23PmEdh3yqSWE1Z/mHystYrTpQuZ/oukxnYT1C/VVvI8wUGT1Kx5g lrqgQ5xH9S88JMpLwew1hf4tdzerMOwvokmFOhNOgSSY6tDTnh2weKP2TlUm3T8Mqav7 G9E/SBvbXsKy5wFHDdEjgY7hAIl5A1VzpU0SE4ZuLCxrBb/u8sI6wxvM6MV2rcLn1dPM oXeB+18Mejq6KWYm16rAOPU0mCyjkU1NAGSesEqcM5d+FJVfy+EnqE6QcUprN/yVOQuy ypbQ== 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=pfRHyNP2VtfkP1OrOx6Pcf4BwSTz/pQHM4Kq8P7aow0=; b=dKlerMIpwfUeUnNS52CE+aYBb3ZrprY5v/J9IOmoW2DmqVmZBf0xXStzFuAzpN/GCT U5ekCDUB3bc2VRFc09RQvWjaWd0vWd+T9W5mxaMB5iTu59ot1ospsC+IMprvibs+1ZpJ XvlmlWHZqRvTxc6B4krs2X+by6Eyflx3VYpJsaiFHIf+tFKtcBKCGOOA2c5JEvCd1IOh NNOBxKY4cpaNLksP5kXR0QQKpUvLbRkljXh74VJe8N8cIGXLX4zwIytpxncGq4yeKlmZ zmgFAaNECWjIXpUeoguM633bVulaaEe2O7FbKzr5pUWWYKaic7U2f7ubxB4Y5/kO0gis msJw== 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 n3-v6si4020542pld.146.2018.07.04.10.25.37; Wed, 04 Jul 2018 10:25:52 -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 S1752999AbeGDRY4 (ORCPT + 99 others); Wed, 4 Jul 2018 13:24:56 -0400 Received: from mga06.intel.com ([134.134.136.31]:28428 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752645AbeGDRYx (ORCPT ); Wed, 4 Jul 2018 13:24:53 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jul 2018 10:24:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,306,1526367600"; d="scan'208";a="72262160" Received: from saamir-mobl.ger.corp.intel.com (HELO localhost) ([10.252.34.242]) by orsmga002.jf.intel.com with ESMTP; 04 Jul 2018 10:24:45 -0700 Date: Wed, 4 Jul 2018 20:24:43 +0300 From: Jarkko Sakkinen To: Thomas Gleixner 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 Message-ID: <20180704172443.GD6724@linux.intel.com> References: <20180703182118.15024-1-jarkko.sakkinen@linux.intel.com> <20180703182118.15024-3-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 08:48:54PM +0200, Thomas Gleixner wrote: > 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 Thanks, will refine! /Jarkko