Received: by 10.213.65.68 with SMTP id h4csp17917imn; Mon, 12 Mar 2018 05:22:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELvPjoH3QoRT4Y/4Tj1cMCKCbqPMmFliN96uPCYdj9wVo5+JKj/VkgkU+wVIjzUzRKA7Pe43 X-Received: by 2002:a17:902:5482:: with SMTP id e2-v6mr8192464pli.65.1520857353311; Mon, 12 Mar 2018 05:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520857353; cv=none; d=google.com; s=arc-20160816; b=X6um3+m53DaFj+vAKQemmBa93x10w1JO3pt0KKjKcMrM6a85xXCzmg5xXFgkqkdeSs HLSGNdM4xjNFJLKTd8qK3IYOsd+x3BEu9sg05o1ugpLVhcu17IBSJVqqRpaWQK8MFoPt naldGDaZn9YWyJLzPc0MKzTgC1Mj9wUuLSjXIdDcVLX0njFAOvkF/yJcEtPs4pF1ItMK CL8wFJGkl4CmLUIBi2hg1/U+i78Bkz1LDTXRyJbu4AHBHRx4tossjqrEuO49kn+gvfHQ tdku0l4Pgkkwy4DLwTz6g9UX16/xmOLCFTl6bgp5KEjXNCzYZ1nwujgaE4LzVCSlol/h umJQ== 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=o05lP/9m0R8wKwWdGhIV0euNbgB5V7bSF9w2ICZlUy8=; b=NCVH6ZwvdQVsBB9z6lhB1mhtvLoIQtcp9FqWkudurbge1axQzhfKFzD7FX6c5vz5ZO 8bFRvyGLaxHx6dbpcUVrMesq+wnflIlIK6UMMsO+d94S66SL0xGS3WBBFPyOe8oW/SBd dj5cPFqlQT1xzIJXbecO9WfphFgSSq5PW0jraqyzQxjaEBLqKyuWsOXBGsMw+tzWzDp3 zqkgDM2vByvc26TzD2bIo7M2RyZ2pAPxFbTgjIBK8inLQn4ib1UpCFOT4bY7VsIMSNub bPnuUA+7ysuSJRMY/bUHOLYcCCROtzXg+R7veiTC9god9u7S/REYVa/ydphsGeCV001i 0HBQ== 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 80si5751244pfn.73.2018.03.12.05.22.18; Mon, 12 Mar 2018 05:22:33 -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 S932203AbeCLMVP (ORCPT + 99 others); Mon, 12 Mar 2018 08:21:15 -0400 Received: from terminus.zytor.com ([198.137.202.136]:41495 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbeCLMVN (ORCPT ); Mon, 12 Mar 2018 08:21:13 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w2CCKpTp017241; Mon, 12 Mar 2018 05:20:51 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w2CCKoS8017238; Mon, 12 Mar 2018 05:20:50 -0700 Date: Mon, 12 Mar 2018 05:20:50 -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: peterz@infradead.org, kai.huang@linux.intel.com, thomas.lendacky@amd.com, mingo@kernel.org, dave.hansen@intel.com, torvalds@linux-foundation.org, kirill.shutemov@linux.intel.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, hpa@zytor.com Reply-To: peterz@infradead.org, kai.huang@linux.intel.com, thomas.lendacky@amd.com, torvalds@linux-foundation.org, tglx@linutronix.de, kirill.shutemov@linux.intel.com, mingo@kernel.org, dave.hansen@intel.com, hpa@zytor.com, linux-kernel@vger.kernel.org In-Reply-To: <20180305162610.37510-2-kirill.shutemov@linux.intel.com> References: <20180305162610.37510-2-kirill.shutemov@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/mm] x86/cpufeatures: Add Intel Total Memory Encryption cpufeature Git-Commit-ID: 1da961d72ab0cfbe8b7c26cba731dc2bb6b9494b 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: 1da961d72ab0cfbe8b7c26cba731dc2bb6b9494b Gitweb: https://git.kernel.org/tip/1da961d72ab0cfbe8b7c26cba731dc2bb6b9494b Author: Kirill A. Shutemov AuthorDate: Mon, 5 Mar 2018 19:25:49 +0300 Committer: Ingo Molnar CommitDate: Mon, 12 Mar 2018 12:09:53 +0100 x86/cpufeatures: Add Intel Total Memory Encryption cpufeature CPUID.0x7.0x0:ECX[13] indicates whether CPU supports Intel Total Memory Encryption. 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-2-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 f41079da38c5..16898eb813f5 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -316,6 +316,7 @@ #define X86_FEATURE_VPCLMULQDQ (16*32+10) /* Carry-Less Multiplication Double Quadword */ #define X86_FEATURE_AVX512_VNNI (16*32+11) /* Vector Neural Network Instructions */ #define X86_FEATURE_AVX512_BITALG (16*32+12) /* Support for VPOPCNT[B,W] and VPSHUF-BITQMB instructions */ +#define X86_FEATURE_TME (16*32+13) /* Intel Total Memory Encryption */ #define X86_FEATURE_AVX512_VPOPCNTDQ (16*32+14) /* POPCNT for vectors of DW/QW */ #define X86_FEATURE_LA57 (16*32+16) /* 5-level page tables */ #define X86_FEATURE_RDPID (16*32+22) /* RDPID instruction */