Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1205141oof; Tue, 25 Sep 2018 09:35:05 -0700 (PDT) X-Google-Smtp-Source: ACcGV60TUZyaYkWk8mSO5IGefrPrfbA1Mmo1iWCQCuuiDaNycqRN231qf938zGCih10YoaNAg9x6 X-Received: by 2002:a63:7d2:: with SMTP id 201-v6mr1838759pgh.129.1537893305162; Tue, 25 Sep 2018 09:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537893305; cv=none; d=google.com; s=arc-20160816; b=o6i9gDudGtiyCw2ubY1sM8gwwJWrtc/Nakt1w3sCHLKXWwFz5QQep43Eu1rfUTpF8m MnLsXZkme02qtPVWI3j4q9PhT3oeM1MzrGFsf5xTqQqCKcVMySHYwqnOdGWTHwphPJAX pmHMRmskpuH4AN50PrlZbVOv+Mrl29LVRGloqLVw5/DL66T0eB19wMcBuYowb17ToQ48 Csmhy1EYwlfFt2w7ZkZ/GvVonOv4P+6WxWW3w6TnlE3JEgL/1mMq4sDced2IW4rk9cfG k7h8k95r0l/6P4PS7UEL0JJkDh8UZDL45gX3/nejRMMQ7vsl7YWw4W+6wab3zjDccfG2 iziw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=8gO2nLXBMnloWMum0jkqg84wSlTY02IeutefS/AyKXI=; b=b4jmym6vSi/OpBkKmnmYRQVLAA9tsFTNioI0NwABqPKUmjvYvjU2iAwXhUZ+2Ll3JY fGvcJUGwFlYPu2b6G5N2ESkFMBbkmsD7e29nuyO5AHqfLW3YdvBk/m3EMq2N8YqGEom3 TpTHIEi0MYJw+jsISkO7gL9smx+PVy3Uty1m5s0baSGFvXTSt8OVo5zWnrp6/+Bu5tU3 cS2Bzur7dWMeFhUC/+i3dMX5pscEjY3s6+Mgs0N+7d1J9mTjJK0ao67CR0H+RWC6j0dt bWorG8v+d8gX9sY3nZgQAyk84gYw9HTubBTnjgHRIPm2va6oVy0tfPvrZ2WL3cB2hRhx gHnA== 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 o23-v6si2526245pgv.518.2018.09.25.09.34.48; Tue, 25 Sep 2018 09:35:05 -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 S1727731AbeIYWmm (ORCPT + 99 others); Tue, 25 Sep 2018 18:42:42 -0400 Received: from mga12.intel.com ([192.55.52.136]:17969 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbeIYWmm (ORCPT ); Tue, 25 Sep 2018 18:42:42 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2018 09:34:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,302,1534834800"; d="scan'208";a="93136136" Received: from 2b52.sc.intel.com ([143.183.136.51]) by fmsmga001.fm.intel.com with ESMTP; 25 Sep 2018 09:34:25 -0700 Message-ID: <309a30584a56babbd4d25199f71b786442300c1e.camel@intel.com> Subject: Re: [RFC PATCH v4 01/27] x86/cpufeatures: Add CPUIDs for Control-flow Enforcement Technology (CET) From: Yu-cheng Yu To: Peter Zijlstra Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue Date: Tue, 25 Sep 2018 09:29:51 -0700 In-Reply-To: <20180925162705.GB30146@hirez.programming.kicks-ass.net> References: <20180921150351.20898-1-yu-cheng.yu@intel.com> <20180921150351.20898-2-yu-cheng.yu@intel.com> <20180925162705.GB30146@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-09-25 at 18:27 +0200, Peter Zijlstra wrote: > On Fri, Sep 21, 2018 at 08:03:25AM -0700, Yu-cheng Yu wrote: > > > diff --git a/arch/x86/kernel/cpu/scattered.c > > b/arch/x86/kernel/cpu/scattered.c > > index 772c219b6889..63cbb4d9938e 100644 > > --- a/arch/x86/kernel/cpu/scattered.c > > +++ b/arch/x86/kernel/cpu/scattered.c > > @@ -21,6 +21,7 @@ struct cpuid_bit { > > static const struct cpuid_bit cpuid_bits[] = { > > { X86_FEATURE_APERFMPERF, CPUID_ECX, 0, 0x00000006, 0 }, > > { X86_FEATURE_EPB, CPUID_ECX, 3, 0x00000006, 0 }, > > + { X86_FEATURE_IBT, CPUID_EDX, 20, 0x00000007, 0}, > > ^^ > missing white space at the end there. I will fix it. Thanks!