Received: by 10.223.176.5 with SMTP id f5csp625981wra; Wed, 7 Feb 2018 05:01:16 -0800 (PST) X-Google-Smtp-Source: AH8x2274wtKjid20Um93lTf5LfYox2P8S9/jBTlWbDvTgLnQD+2q7NQ0VQR18Sb6WOgU7KkyRBqI X-Received: by 10.98.185.14 with SMTP id z14mr5953811pfe.185.1518008476155; Wed, 07 Feb 2018 05:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518008476; cv=none; d=google.com; s=arc-20160816; b=Sb/dVaGT6n4poNm6Ok300BuP/LICQ9ycYvF/HUK4LAGK5t2yHcG+tyUoLPYbSKtu3F k+Hs/WMrPAd37EXzEmrhitor1fTQwp83V7YjU7F1nm/m7LvXFUG9DLXVB0xXM8kMjisU rP3yJU6rL48hwSZgPfUSZ2Q9v2XM5DQDMysvNjtsyso96oQJLFiiqA9BYX+5BI36c9bq uncv/TAV4UvdTS46SC9YbFiS/t1T2TKhrbjXw6pgCtzK/Ev7UlY5YRSB3LtwJhl+o3G4 W5qoc4armk8Mf05cFcFZSzi8CBXQ37JtMIefvGnse0EtJpQ3gGlo8+ZiptWf7aJkEF0j wJlQ== 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=Sv3hugr/DfA7jJ+eWBXGipMt3cvjyWgxz1RroBAATqp15BHkj3pC+qMRgnzFKGAXSr c2vkViV4mhmz5CsU8j+CyqpyKj+RbBW0p/sEShg9oGaOKfZkzsMKdN7awVT1hbVNWCuN mJqhV+b9/Uf/m9O/Dadpc6/lrHzkbpR22q/D076gQZAi6EVEAwOdzvFsKhGqQrPzzxgx sS+DJo3ik9LGiVwh1SkrYDPmDsCkf1nHpxl96yahEOHTKMzHbWNVQfQUxruLX9+JnBrD DidkfnVs4dHfkHEAzx59p4CoAcwAxiZiLRFg08HnoEL4qen6fsidKG9xoqU5yBOevuyk dzkA== 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 z25si1114022pfi.39.2018.02.07.05.01.01; Wed, 07 Feb 2018 05:01:16 -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 S1754096AbeBGM74 (ORCPT + 99 others); Wed, 7 Feb 2018 07:59:56 -0500 Received: from mga02.intel.com ([134.134.136.20]:14495 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753693AbeBGM7x (ORCPT ); Wed, 7 Feb 2018 07:59:53 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Feb 2018 04:59:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,473,1511856000"; d="scan'208";a="28863169" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 07 Feb 2018 04:59:50 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id AF8986CB; Wed, 7 Feb 2018 14:59:49 +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: [PATCHv2 3/5] x86/cpufeatures: Add Intel PCONFIG cpufeature Date: Wed, 7 Feb 2018 15:59:44 +0300 Message-Id: <20180207125946.5906-4-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180207125946.5906-1-kirill.shutemov@linux.intel.com> References: <20180207125946.5906-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