Received: by 10.223.176.5 with SMTP id f5csp1132745wra; Wed, 31 Jan 2018 01:40:42 -0800 (PST) X-Google-Smtp-Source: AH8x226c+jpHnQw/lyV47GU9607zUi2XrG70T41Y9x2qV9VGLzGJREaRVhs3Bne3RzDLOafg7AQW X-Received: by 10.98.60.67 with SMTP id j64mr33350509pfa.217.1517391642058; Wed, 31 Jan 2018 01:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517391642; cv=none; d=google.com; s=arc-20160816; b=04nP4y/DMucRUCvwySZLxSmAtKRT549/LJrxqEyCxd8ow5syftqbhAtxxNIm84crn1 f8X50n3olXMf4/Zr0mvvNg2UBEjkVFui0lsYhcKd7isYN8slZHQ1WkIeQcu5qTTJaJkW wSQwNApbDXoVT58AI7D0kjWFbmxVHMKNHPl4MZTo6lD1G0NXcVvZw308D+N8HdiwK31u nbZJoj8YPsa+oU02KQEPL9+VrE4z9JNAq4g89nz0gNtmr3jFmazmAWA9BnKl/tJx0vYC Uz8R3x3cSxTSCZlIN5SA/zL/zgm7YGnghKjI+RFvtuisfyylzisvq0gW5aEdwIGybMma g0Mg== 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=uZokfO+lBGad1Kv3jfo3kj9VTpGDaAffyfVIBtoqW6E=; b=Fhx+ECIZOtPUYNnrYDjxR3JNBiOk/i7J0nS+mrIl4/KnokuwZBW8JxAZ/iXNS/z6VT 9M9Rd6GlczoG4Fpq8rEsFPRLysO7K5dRlDbfbBXz8jEqg5OktcD0YFHrRdqlBO8bTM7o L2s48clHlGizzwnyUQohnwd7BPmAOHg+soJMdcFAl6e8G1g6sS/MMnrWzr1aPNpdLU65 pa/PYna1lon7Y0ungjWSMav4zZlWRxcpwj0AUT+2cIT311N5u4GPN+xuvHuk6dGyYNGk LGsKrUzo99PKZLmtGNEJB4NFNBfgM2JqBN7aRwz26Y2oAERQThR3UX3RIsQlYrXiquq0 PE0A== 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 l26si1442330pfj.401.2018.01.31.01.40.27; Wed, 31 Jan 2018 01:40:42 -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 S1753391AbeAaJP0 (ORCPT + 99 others); Wed, 31 Jan 2018 04:15:26 -0500 Received: from mga03.intel.com ([134.134.136.65]:61278 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752189AbeAaJPW (ORCPT ); Wed, 31 Jan 2018 04:15:22 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2018 01:15:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,439,1511856000"; d="scan'208";a="23805613" Received: from black.fi.intel.com ([10.237.72.28]) by FMSMGA003.fm.intel.com with ESMTP; 31 Jan 2018 01:15:19 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id A179A35E; Wed, 31 Jan 2018 11:15:18 +0200 (EET) From: "Kirill A. Shutemov" To: Ingo Molnar , x86@kernel.org, Thomas Gleixner , "H. Peter Anvin" Cc: Tom Lendacky , Dave Hansen , Kai Huang , linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH 3/3] x86/cpufeatures: Add Intel PCONFIG cpufeature Date: Wed, 31 Jan 2018 12:15:09 +0300 Message-Id: <20180131091509.26531-4-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180131091509.26531-1-kirill.shutemov@linux.intel.com> References: <20180131091509.26531-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 d3702d9ac012..b9b46b593938 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -328,6 +328,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.15.1