Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp787835imm; Mon, 21 May 2018 14:27:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZojaTmEXT5z063pAqpwlGTAdhKKSWt8biq3HsZGnoLR85hqrHkjq0m2iC9KeFCIq4/kGbkl X-Received: by 2002:a65:6604:: with SMTP id w4-v6mr17047698pgv.102.1526938072832; Mon, 21 May 2018 14:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526938072; cv=none; d=google.com; s=arc-20160816; b=i27tWdKS4TZ+5BpxF8JtZpyVowEPMfwRSurXosvOJZrRxMaAAbPEmqT4dIviNAPvV9 DlYGabFizrKjxn0lHBfLGFwotbEyVyOSYI+za8HA/3gakVbaTSS1Zf7mtxEDSUeKlBfM 8sa0NRhfcBZi5EDys02u0cUCeEccSPDWhhrqMI2btNy1KAvjHRfqdSroSbD0gJRmRTpD M3hHipnpnNserc8X1X3OAyguDLdAug4uTB0XZrvUEUAt1gmsUeE8A1Eryt8j8JXc0AIG muAENrX8r080UJRMDZrKxeqThzd7kEJtpi505U4uqjPoQfbTppmwBVqK/8qmVVma9a32 lLpQ== 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:dkim-signature :arc-authentication-results; bh=xBSRX4Yolhv4uuaMQnW10KbzHTta+TGMri0yGGBQ4wA=; b=kc8KCG8RfHroo9+42ASJIzFm2UqnxsFlj1TFKXBtgltOYJBw28TM+yWiFSJ7lUDLbS o1u3bedJLlFWSskAoWK//VTFduPWGRbB3Q0nSeIfgxIGI/e69mlZyzozdBKuWEyvFM9h gpKIeu8LcSyd4qs+gLxWCWDW6c+DyyK+Ojo3hrkSCgEz1j6F1qWIvZsNJvcwj5zanHZm 7lXJm/xGZtVQ6vq45/qt4SkxrUShUx9EsecZ4g67p4rIRjIwwnotvqhH3ChiT2k3Sxd7 UpurrDAlEikrFHcivCR3Y4dekHxIyIl0BmDK4F1zRpFSH/zSeKQwKI4ezstIImNmKt8c NNWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2nvfq2tj; 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 8-v6si15257890plc.444.2018.05.21.14.27.38; Mon, 21 May 2018 14:27:52 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2nvfq2tj; 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 S932582AbeEUV0e (ORCPT + 99 others); Mon, 21 May 2018 17:26:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:41304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932536AbeEUV03 (ORCPT ); Mon, 21 May 2018 17:26:29 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3BDDD20872; Mon, 21 May 2018 21:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526937988; bh=pOuQ+5Fje0CoPeo8qol7Un2jW8qt7nT5X0uJdDjdmeo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2nvfq2tjeEGOHbRwHOI2/VEQfr6C3iAt4I8ejP4ihGWoiaXdtWk+8V8it9/K1py+G fDRI8U/9y/zUPFhcuDIViMiLQpZOSRXsmf0Ge+ZxwXbe4sj+2Xnjx/JPCa4A28TDOV 1gX8jBQVQGQCJN+v1oRzLerQTDLfnNtakZyk3mZU= 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 Subject: [PATCH 4.16 068/110] x86/cpufeatures: Add X86_FEATURE_RDS Date: Mon, 21 May 2018 23:12:05 +0200 Message-Id: <20180521210512.229504900@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180521210503.823249477@linuxfoundation.org> References: <20180521210503.823249477@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.16-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: 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 @@ -333,6 +333,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)