Received: by 10.223.185.116 with SMTP id b49csp2773735wrg; Mon, 5 Mar 2018 08:28:35 -0800 (PST) X-Google-Smtp-Source: AG47ELsYE5iNHtnTOFd5liEHuLtS+gUkbN9JQWqsSEcQmE9T8ubdtayqDitrs6anBBLpnATaj4/j X-Received: by 10.99.177.72 with SMTP id g8mr12308823pgp.99.1520267315743; Mon, 05 Mar 2018 08:28:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520267315; cv=none; d=google.com; s=arc-20160816; b=MlbdyfW1OdHLH0V0Oqqb0LCTCmUGELcH+pqov+0IUGwiZRRqG3+R8SPlRwX9j9QxwS xGI+ZgwFXrYPoL2WRWVAgJv090AwV2ph9JW1StGe0kGmn4ukTiUD3c/ZIgEuHtL8JM7z yTW8hJUuzlXWQvDerl55P9M6oUxlu0Gg2MsMPzkEVRT+V6YNM+3wM/0MiS0e6jjeRt5f q0rj6AV8hNTWDNxBSAed/e6vea7xL7s74sZP4/8P3RJQNww1IO841i5SwKlD4Jxe52zu M3L5z9XT604a11n2COilBzUlbYh4kwPH93EUqC5jjuFsvOHc/KmPFvYzQOOpnP6fU9IB xZfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=gGrZNRl0aeJdtnLXPOnNrHx2TaR1b/Kh53GTt6oAT/U=; b=G72BwU4+WQOJtCNI4ZTKx3dJ0o/IFSCWpX65vT51l0YNNftFVj3ZYRQEmLuMM1C+GL GUKtMWSXbwHwMcuEp8rwr4U8eyP8jq47sICeS/ymuz+TKm99xIJUA4tg7g84FPh8vUK4 8m43jFOJf6AtSGChUSX0AbTuq3BHay9OFJhRoQflY+LpYgHZebw4hocaj9GntNixEHyf Ei4ZQMZCxmq8kTpj/RXIXzrDDh34ULcyXUDRmiQ/3YwJysGARGodGI0VB5j1SY82Daf+ 0l8c49acIrafZeKeIOkxjDr/2NQM4xzMF/ZzgOyByfP+34+rA45rS49U3uL/5TIHAO6M /wHA== 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 m6si8504616pgu.633.2018.03.05.08.28.21; Mon, 05 Mar 2018 08:28:35 -0800 (PST) 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 S1752722AbeCEQ0i (ORCPT + 99 others); Mon, 5 Mar 2018 11:26:38 -0500 Received: from mga04.intel.com ([192.55.52.120]:44459 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751881AbeCEQ0Z (ORCPT ); Mon, 5 Mar 2018 11:26:25 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2018 08:26:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,427,1515484800"; d="scan'208";a="23065171" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga006.jf.intel.com with ESMTP; 05 Mar 2018 08:26:20 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id F2C562CD; Mon, 5 Mar 2018 18:26:19 +0200 (EET) From: "Kirill A. Shutemov" To: Ingo Molnar , x86@kernel.org, Thomas Gleixner , "H. Peter Anvin" , Tom Lendacky Cc: Dave Hansen , Kai Huang , linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Kirill A. Shutemov" Subject: [RFC, PATCH 03/22] x86/cpufeatures: Add Intel PCONFIG cpufeature Date: Mon, 5 Mar 2018 19:25:51 +0300 Message-Id: <20180305162610.37510-4-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180305162610.37510-1-kirill.shutemov@linux.intel.com> References: <20180305162610.37510-1-kirill.shutemov@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CPUID.0x7.0x0:EDX[18] indicates whether Intel CPU support PCONFIG instruction. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h index d5f42a303e74..755353d79ae9 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -330,6 +330,7 @@ /* Intel-defined CPU features, CPUID level 0x00000007:0 (EDX), word 18 */ #define X86_FEATURE_AVX512_4VNNIW (18*32+ 2) /* AVX-512 Neural Network Instructions */ #define X86_FEATURE_AVX512_4FMAPS (18*32+ 3) /* AVX-512 Multiply Accumulation Single precision */ +#define X86_FEATURE_PCONFIG (18*32+18) /* Intel PCONFIG */ #define X86_FEATURE_SPEC_CTRL (18*32+26) /* "" Speculation Control (IBRS + IBPB) */ #define X86_FEATURE_INTEL_STIBP (18*32+27) /* "" Single Thread Indirect Branch Predictors */ #define X86_FEATURE_ARCH_CAPABILITIES (18*32+29) /* IA32_ARCH_CAPABILITIES MSR (Intel) */ -- 2.16.1