Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1097509ybl; Wed, 21 Aug 2019 10:04:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuroVmSVLTN71vt0xn2LpueiG/hRqfMnN4IDqzdljjBbEKSW3lHmBLAlNmX15KxSiHLgGG X-Received: by 2002:a17:90a:1ae1:: with SMTP id p88mr987212pjp.26.1566407086706; Wed, 21 Aug 2019 10:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566407086; cv=none; d=google.com; s=arc-20160816; b=gY0fCUJ8l7/xG1W1JeGXIdrMLo9ZXP9Ivo84EqIWtIOYm2DcgAlhm385CYyilUgV/R wq60dJOz7Ybr3np/xmr2JeK1m4HB2y7XROCeFTsrtzLol2O+b0T27ZooRvgQfMOqk3uG xX+wNfq9OmWCpO5JAsy42w76Gqo4rv1dehOrBJzEdiW54iajLxixjD5fA5n55Mq2r2ub XGDnzNXrOEvNsBtgbovD+m4ChGSwOsahlVzbA3Ws5CUbTaG8+/uwKvxJCnAWy83/ttH8 +HAPQvLisOtO1ApvNyxMdqrBQBuUShZLOTSJRTCKIg7GeMw3aCrLkJpqskVJs4dEZ1ok 996w== 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=Uzc/u5xvDR4CRWXwJtMEjeKesyk2XDr3RLd7Iyc4yb8=; b=LaeD2MDQ//23EEnrNd9WWnceG3+Bqg00grRuC5tCvtsV1y+Ea66VFkAZxHpQCUXuBr Niu9TRT83bBViwObwfOkyU5IxDLxXm4gv9etf/Q7KOBlZhK5sd9734XQ309YXniwbTmd PO01XRJ0vvdnl90Xfak+U1I9JbqKSF1YrbeoA6sr/pZq6dz8uj2NmNOYyoS8q3t+GN0G IKT/kSzMZC1rj0mR5bxn5VXDh8lOpCY+Hat+s5c5RUIMM40XECpDeWKOP3XwRgDKduBr pOsLCuJROqGwm3fkLGGiNI0gF3bLqxjkEpn5IDg27dzGshpGDXnWSGg9kEimdGFPeM5S X/mw== 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 j7si16184144pfi.10.2019.08.21.10.04.29; Wed, 21 Aug 2019 10:04: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 S1728042AbfHUOzk (ORCPT + 99 others); Wed, 21 Aug 2019 10:55:40 -0400 Received: from mga07.intel.com ([134.134.136.100]:41312 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727286AbfHUOzk (ORCPT ); Wed, 21 Aug 2019 10:55:40 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Aug 2019 07:55:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,412,1559545200"; d="scan'208";a="186252384" Received: from yyu32-desk1.sc.intel.com ([10.144.153.205]) by FMSMGA003.fm.intel.com with ESMTP; 21 Aug 2019 07:55:38 -0700 Message-ID: <8d2e5bc4496075032393ff9ae81a26f7fbc711e6.camel@intel.com> Subject: Re: [PATCH v8 02/27] x86/cpufeatures: Add CET CPU feature flags for Control-flow Enforcement Technology (CET) From: Yu-cheng Yu To: Borislav Petkov 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 , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin Date: Wed, 21 Aug 2019 07:46:32 -0700 In-Reply-To: <20190821102052.GD6752@zn.tnic> References: <20190813205225.12032-1-yu-cheng.yu@intel.com> <20190813205225.12032-3-yu-cheng.yu@intel.com> <20190821102052.GD6752@zn.tnic> 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 Wed, 2019-08-21 at 12:20 +0200, Borislav Petkov wrote: > On Tue, Aug 13, 2019 at 01:52:00PM -0700, Yu-cheng Yu wrote: > > Add CPU feature flags for Control-flow Enforcement Technology (CET). > > > > [...] > > diff --git a/arch/x86/kernel/cpu/cpuid-deps.c b/arch/x86/kernel/cpu/cpuid- > > deps.c > > index b5353244749b..9bf35f081080 100644 > > --- a/arch/x86/kernel/cpu/cpuid-deps.c > > +++ b/arch/x86/kernel/cpu/cpuid-deps.c > > @@ -68,6 +68,8 @@ static const struct cpuid_dep cpuid_deps[] = { > > { X86_FEATURE_CQM_MBM_TOTAL, X86_FEATURE_CQM_LLC }, > > { X86_FEATURE_CQM_MBM_LOCAL, X86_FEATURE_CQM_LLC }, > > { X86_FEATURE_AVX512_BF16, X86_FEATURE_AVX512VL }, > > + { X86_FEATURE_SHSTK, X86_FEATURE_XSAVES }, > > + { X86_FEATURE_IBT, X86_FEATURE_XSAVES }, > > This hunk needs re-tabbing after: > > 1e0c08e3034d ("cpu/cpuid-deps: Add a tab to cpuid dependent features") Thanks, I will fix it. Yu-cheng