Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5767572imm; Mon, 23 Jul 2018 05:51:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfXejYauRT+Vq37cj8uwftYgmEqiW3J6y51whOZU5DLcbWaaUC8dlDGyUb+7lGS6NMbmD8q X-Received: by 2002:a63:4106:: with SMTP id o6-v6mr12275774pga.453.1532350290636; Mon, 23 Jul 2018 05:51:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532350290; cv=none; d=google.com; s=arc-20160816; b=JzjJcdMPmPqUBq/cKBdg0dhdhzmHSYft8t3qu6z6DbNXcWK8TjQJ2V6CFyVVi/JGDQ 96ckvB/knhupVgnduPjLk7qejOqi2IAdOx9U7MkEu8LtTho96YGJw/Ywq3S++ESHy+wm uNsegwOG1WZhQpkSv1BCMHPJNauw+ezF4OMA/ULf5b04T7JVDc8KzP7kcDywLSTKaCBR Qv+4igZn6zE049NYvEFkYIG9fRS41pJ9m+BvKtaXsCZ7+UEcbUX7AaXjJp7lXA8FoI1V 5Zodt+p7tW5rwbyi0X/VW6H5N9Mjz6ZW5+9jLJTPuTApaQaiVTeddUIlcR5Y0J/o3RuY 4HtQ== 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=EuSXlIPPvGgDHeZ7FwdwDDOSej9UzTKt81KdRs0CQwI=; b=i4F9ZTFuG12kac+KExoYoW/c8zey/fqju6PuFQvoBzmJ985goNkOHV9arpFxJl6m4D lLyCIAvmNaWUQeVLJzWTDyn0H03g/PHvfvVjDT5cm7dIoxZ6GTskJZMWNypPegS3rAWo 1LFBlNA7Oh1iszuMki3OXd48ZeJ3vLaHrqJnkaTqVC2yoTejwZSCi+aZ1JkboDO3v9EH f6hmkgCTrr+bXgqOS2rDxH21/BZrpbCB+CONYBFIUb9sDtRwtJWMZprSGqQ9ZYhFIk3j MeqChLORCKdb1hPWFTF1o7PDon7nax1+1gN42kgwkkU/3aOd6IRp9Ex1nvEFULUEqsso po3Q== 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 6-v6si8851819pgg.366.2018.07.23.05.51.16; Mon, 23 Jul 2018 05:51:30 -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 S2388570AbeGWNu2 (ORCPT + 99 others); Mon, 23 Jul 2018 09:50:28 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51200 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388390AbeGWNsH (ORCPT ); Mon, 23 Jul 2018 09:48:07 -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 3FA27C8D; Mon, 23 Jul 2018 12:47:01 +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 , David Woodhouse , "Srivatsa S. Bhat" , "Matt Helsley (VMware)" , Alexey Makhalov , Bo Gan Subject: [PATCH 4.4 097/107] x86/bugs: Rename SSBD_NO to SSB_NO Date: Mon, 23 Jul 2018 14:42:31 +0200 Message-Id: <20180723122418.368068011@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 240da953fcc6a9008c92fae5b1f727ee5ed167ab upstream The "336996 Speculative Execution Side Channel Mitigations" from May defines this as SSB_NO, hence lets sync-up. Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Thomas Gleixner 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/msr-index.h | 2 +- arch/x86/kernel/cpu/common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -58,7 +58,7 @@ #define MSR_IA32_ARCH_CAPABILITIES 0x0000010a #define ARCH_CAP_RDCL_NO (1 << 0) /* Not susceptible to Meltdown */ #define ARCH_CAP_IBRS_ALL (1 << 1) /* Enhanced IBRS support */ -#define ARCH_CAP_SSBD_NO (1 << 4) /* +#define ARCH_CAP_SSB_NO (1 << 4) /* * Not susceptible to Speculative Store Bypass * attack, so no Speculative Store Bypass * control required. --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -881,7 +881,7 @@ static void __init cpu_set_bug_bits(stru rdmsrl(MSR_IA32_ARCH_CAPABILITIES, ia32_cap); if (!x86_match_cpu(cpu_no_spec_store_bypass) && - !(ia32_cap & ARCH_CAP_SSBD_NO)) + !(ia32_cap & ARCH_CAP_SSB_NO)) setup_force_cpu_bug(X86_BUG_SPEC_STORE_BYPASS); if (x86_match_cpu(cpu_no_speculation))