Received: by 10.213.65.68 with SMTP id h4csp18492imn; Mon, 12 Mar 2018 05:23:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELtk82YCo+6NJsaz1JWxnT5LAwT6P+qEhtLJIusqQ7HVPE35SeiW3sHxtK+h4Ia3nG1EJXEy X-Received: by 2002:a17:902:7b95:: with SMTP id w21-v6mr8194377pll.260.1520857433413; Mon, 12 Mar 2018 05:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520857433; cv=none; d=google.com; s=arc-20160816; b=GUtL1l5746K7agv7v0SFHh/Zj8j1HEFpO7TDNdh27t6ukVUFlEciryVmg3bSnZM7bo nxTBqJhL6Ocyv5TcGn1GYNibn9JU67FTqoJWet0YSMxzZRPfKrSuDiYSX7N3ErLt9OA/ mcSLcTRO8+6KqJNbNj8GxgURa08ZT2RBNoxpx3D7ODG+qwP64LyP7lZTKP4DYQeShdnN 4JXNy5hEJDVahosEFQ+q4csarpkVWs/bAUxugZ3Gwr4fnkJ6HAypIoHSFVpG3VgkkTVu PEWxMcAsVub2lwOtx10Jjj+PDLnSpioMWEgXuRLd/YjZJH5UHoMNZmCtfrUGiwRAA0xk 6sXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=ACqWUMCYHv+g3g623g8ZETOzF+ziAYMO7sbM6pQQs78=; b=xYpVVn8XfjCDm8p7Q5kbfXRMlgj/YZgBnhgjlrtKtaVcgRK9PNuqp/e3fLlku4i8p9 zs2/yTXl2T7IVMUQ42wn+qv6iCIKpNbSZ1EgBfkyflwqpzLOmAXPKZRj/yeOT/YPhD97 Jmtv3E3EpgK+2Igw9TaVK/hctZtybBkPAYg4/t+Cxc3fv5tq7M8WhS22qj+lboacEj/t JPMM7z3pNzHM9mY3wkF8a78YgLEqCpEFPMN8ql3r31QsOl2keww1yk5ICuICM8X8m76O NNYnrbA6wCz3kA12XlhqDEX874fbDOA5bHR3ooidF8uQKrVYGkhH84C71jEU0H6UxC/a WM+g== 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 a24si5676379pfc.36.2018.03.12.05.23.39; Mon, 12 Mar 2018 05:23:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932308AbeCLMVx (ORCPT + 99 others); Mon, 12 Mar 2018 08:21:53 -0400 Received: from terminus.zytor.com ([198.137.202.136]:40109 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751386AbeCLMVu (ORCPT ); Mon, 12 Mar 2018 08:21:50 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w2CCLORk017445; Mon, 12 Mar 2018 05:21:24 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w2CCLNaN017442; Mon, 12 Mar 2018 05:21:23 -0700 Date: Mon, 12 Mar 2018 05:21:23 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: "tip-bot for Kirill A. Shutemov" Message-ID: Cc: dave.hansen@intel.com, linux-kernel@vger.kernel.org, peterz@infradead.org, torvalds@linux-foundation.org, kai.huang@linux.intel.com, kirill.shutemov@linux.intel.com, hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org, thomas.lendacky@amd.com Reply-To: thomas.lendacky@amd.com, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, kirill.shutemov@linux.intel.com, kai.huang@linux.intel.com, peterz@infradead.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, dave.hansen@intel.com In-Reply-To: <20180305162610.37510-4-kirill.shutemov@linux.intel.com> References: <20180305162610.37510-4-kirill.shutemov@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/mm] x86/cpufeatures: Add Intel PCONFIG cpufeature Git-Commit-ID: 7958b2246fadf54b7ff820a2a5a2c5ca1554716f X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 7958b2246fadf54b7ff820a2a5a2c5ca1554716f Gitweb: https://git.kernel.org/tip/7958b2246fadf54b7ff820a2a5a2c5ca1554716f Author: Kirill A. Shutemov AuthorDate: Mon, 5 Mar 2018 19:25:51 +0300 Committer: Ingo Molnar CommitDate: Mon, 12 Mar 2018 12:09:53 +0100 x86/cpufeatures: Add Intel PCONFIG cpufeature CPUID.0x7.0x0:EDX[18] indicates whether Intel CPU support PCONFIG instruction. Signed-off-by: Kirill A. Shutemov Cc: Dave Hansen Cc: Kai Huang Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Tom Lendacky Cc: linux-mm@kvack.org Link: http://lkml.kernel.org/r/20180305162610.37510-4-kirill.shutemov@linux.intel.com Signed-off-by: Ingo Molnar --- 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 16898eb813f5..d554c11e01ff 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -329,6 +329,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) */