Received: by 10.223.176.5 with SMTP id f5csp628848wra; Wed, 7 Feb 2018 05:03:16 -0800 (PST) X-Google-Smtp-Source: AH8x227bwpdDBfunxuiC8QGYQ+/eGzcqRhT6fHo4KwlpKe12XaizFDPUyb4X4isXgwvVJK4Kfodp X-Received: by 10.99.125.25 with SMTP id y25mr4890460pgc.172.1518008596438; Wed, 07 Feb 2018 05:03:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518008596; cv=none; d=google.com; s=arc-20160816; b=N0ueAh6k5DjufsBHTmk8F7AWbTFrjtIUR8lMJR6yvTL7hJfBa9CKcV1OXeUj+Ss5Qc vSZzxx/mt6xyGdox46shhw1+vm7H6x6NWDy9GTDnuPLDQTEi+sYP5Tk1txwA8dzZVknV YezzQGRazNXij2qu8DFVHcHbnwbsO+p3eyGjjXmHx1iqcGkzJ4AgGjQM8QjbaY9xfy1U B0WCdrHoftF4nyRhF3YV4Wb9F5UwQHKb4TwYn1SOamN3PEkdeEArXwC8i0MGG5CCk9WA lJNc96NbYeMPlKe4tuH64uWI2Au+ssLutmsjrS9kCTDvWBQAxCeVudkOgunLLnk2TkGj T01g== 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=hs6dVlQNK4VueXqmMobPo7Y12ZpFGkurcBTR97JEHB0=; b=CBOVN95YXln1xUM0pmvlZR1JAAo9KFnwnR5aYbfnfmKAiExVEWd5dQ/yAYIwv6Vwn7 539PoP6zSJtO6tMOlEpxW6ymQsG15ZLGY9MVS2FoaPNo4MFzopwi8gSxmgfPaGsKoBu8 HgYu3wgnrxVodV5ioiprpJQ+spm1hbTrFoYVXYfrcrkDBE6AsJ8GcfEtKTPTnFfCqguw 6THCP+R69WyibVx9VxJ6JFn/eAQuyGeU2cbmwLahrfXQVesSUSLWK3CyxSoWeJkBX1W7 vNbuLNfWr1h4cLXppTFSYGhmum8ZH6wAM4fTdKW/+PT5HPa64m+RhX7XBpCzMt85kWUa SrJQ== 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 b5-v6si1058966pls.587.2018.02.07.05.03.02; Wed, 07 Feb 2018 05:03: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 S1754028AbeBGM7z (ORCPT + 99 others); Wed, 7 Feb 2018 07:59:55 -0500 Received: from mga07.intel.com ([134.134.136.100]:26269 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753630AbeBGM7x (ORCPT ); Wed, 7 Feb 2018 07:59:53 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.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="29584589" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga001.jf.intel.com with ESMTP; 07 Feb 2018 04:59:50 -0800 Received: by black.fi.intel.com (Postfix, from userid 1000) id 9736A1E4; 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 1/5] x86/cpufeatures: Add Intel Total Memory Encryption cpufeature Date: Wed, 7 Feb 2018 15:59:42 +0300 Message-Id: <20180207125946.5906-2-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:ECX[13] indicates whether CPU supports Intel Total Memory Encryption. 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 14c3aa2b5f90..d3702d9ac012 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -315,6 +315,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 */ -- 2.15.1