Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5770875imm; Mon, 23 Jul 2018 05:55:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc+QsexlToSe9tvw9HtjhtXfC+fvsHvTojPFv0PDp9YjrhGiir/ojbcN9ECjf66fCUeKRSn X-Received: by 2002:a62:f50b:: with SMTP id n11-v6mr13109818pfh.120.1532350512844; Mon, 23 Jul 2018 05:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532350512; cv=none; d=google.com; s=arc-20160816; b=HFs9iQIzH7lVqAvC2aA2GVOBlxT5awhBmLh763r8ec8/caLvgJeWP8UCq9nyfb8kZZ 5ipbnqDe4QvBJdnRWopcVUlVzF2tkP4u+0SeGQzKf3CcksV0qFvZHo6LbraqLCj7D9P0 nyZANc0VA52STCoMMjfnI1Qp8wWchLR+NgvfbO4p9JicHTzaRHb5GJAOOE0dU93K713l KJFJPH+KcujBnPTEAuPS01iT//GwgIYHjS61OL/4inL/s0jVY80I0Fg3H3oMkAZ1D4BA O38pZz8wQV2f0K3IbROuUUDBO9Th91XIQj70DDXEwOb9XdFt9PQn7FPbrBUJM2R9Uthh Phpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=BMG92jiJt0320pRkE5Tk5lJIjxqZA+t6uCIS8Soia/o=; b=oJX8JQrs9qFPXeavXTmT8/1/C6af15o3EQe16mlWPGXxiFrIZhbEy7r84oXzi2wRYQ u59kC4aYt1bG8S89+CkbId0cxU8XtxBzTTb+r9TYzyFlV4K8eAKv8bHbQxYYvsQcG2sq pazlVC6DarE9xHMj6D0KyALtgva0cf9knU32o5uEYAY7tKL0+TVuWM0Hq9ajBwxxGBhU +MW41xcJFTgEEO/wwJJKXDJcXPWGFjX3Eiidqnb4+SX6yo7+hIvXM2s6F+NEr9kIA7Ai WNmJLZ4NP3e8RIO3NPYvLwXS8p0W/xtTF8pgtNUwxBxo9LdVnEl/Knd4p9zuvEXazBWM +/Aw== 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 u13-v6si8827739pgg.263.2018.07.23.05.54.58; Mon, 23 Jul 2018 05:55:12 -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 S2388912AbeGWNyV (ORCPT + 99 others); Mon, 23 Jul 2018 09:54:21 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50966 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388229AbeGWNrj (ORCPT ); Mon, 23 Jul 2018 09:47:39 -0400 Received: from localhost (LFbn-1-12238-233.w90-92.abo.wanadoo.fr [90.92.53.233]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id CC22DC37; Mon, 23 Jul 2018 12:45:04 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Konrad Rzeszutek Wilk , Thomas Gleixner , Ingo Molnar , David Woodhouse , "Srivatsa S. Bhat" , "Matt Helsley (VMware)" , Alexey Makhalov , Bo Gan Subject: [PATCH 4.4 056/107] x86/cpufeatures: Add X86_FEATURE_RDS Date: Mon, 23 Jul 2018 14:41:50 +0200 Message-Id: <20180723122415.787774411@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180723122413.003644357@linuxfoundation.org> References: <20180723122413.003644357@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Konrad Rzeszutek Wilk commit 0cc5fa00b0a88dad140b4e5c2cead9951ad36822 upstream Add the CPU feature bit CPUID.7.0.EDX[31] which indicates whether the CPU supports Reduced Data Speculation. [ tglx: Split it out from a later patch ] Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Thomas Gleixner Reviewed-by: Ingo Molnar Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman Signed-off-by: Srivatsa S. Bhat Reviewed-by: Matt Helsley (VMware) Reviewed-by: Alexey Makhalov Reviewed-by: Bo Gan Signed-off-by: Greg Kroah-Hartman --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -297,6 +297,7 @@ #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) */ +#define X86_FEATURE_RDS (18*32+31) /* Reduced Data Speculation */ /* * BUG word(s)