Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp790432imm; Mon, 21 May 2018 14:30:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp4KqDka/VM6liX5X6DBzSoji8wgysTCptnw58oBVR0TKxnnqiMd57gFlyP2vFBCSDPCw+K X-Received: by 2002:a62:9fca:: with SMTP id v71-v6mr21515982pfk.233.1526938253059; Mon, 21 May 2018 14:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526938253; cv=none; d=google.com; s=arc-20160816; b=xAnOpMn5qg6K9d3VJDEnh7rXKZDrvYa/xdwAJtQ6Vm1iQkphFeYnOiJbQomMQo4Nma E19OdbQhXJ138aFHAgnunEy6oFY0+X/+D2UbMvEofAK6oZRgjc5L1zBqpa0Clpk0Ol+u cQZ3lfwhzGOnQCeUGJlT9wUXy+/8vHvQ/hfKOvQCBXqnoUS0qLcZKfvm12HdKNv1m3oV FJDpCDJOarDQOMjqnFNnNqORWtGmrBX2C+JchI0FR7F1DD99VJ/lzmhz5iMs9ZjgZUhW cLUvW1/oDY5nad6qWRiGJI9uIqVEHyuDD60tRw/S1F/1otnPvskliokRCOqHLUuRhALs jb4w== 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=MvxBJ+zuF6Ly7j1swy1jQKzdSl7nbMOTz7CravS8BB4=; b=TV7VWxhzgtvwi90WB/xIMS2Q2LAASGhfWGACFDAooXRjvLRbOHtE9XSpnYlPG11Lrc FCjEya8WnCb2YreicJ3g6ZQj4sNhW/bV+Guxnh4A6j42xkbLi5AD8R5B6L8Vvyn7vBcw 93D4Q0hFvz2UHE0iqZ642aXw1m2Qms5zEZfkAHsnjkYrExYNexJRwacpLgnlEXM5ITjd gyJf8oXa/JdGNyQxguJpZibzET1Cym2UiVQZ3r0kVurjSIpBbSlJDZpuzbEr+TL3BLB7 1mPqZdJUBA7mFgz8OwBfDlBGlpHGcJwDzQG4FV5Hb3vo5GBwChajRI4BwoEHoaHB64mn r/UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kXf+qpTC; 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 2-v6si15129788pfk.287.2018.05.21.14.30.38; Mon, 21 May 2018 14:30:53 -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=kXf+qpTC; 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 S1754505AbeEUVaN (ORCPT + 99 others); Mon, 21 May 2018 17:30:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:41740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932249AbeEUV0y (ORCPT ); Mon, 21 May 2018 17:26:54 -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 2A2D020872; Mon, 21 May 2018 21:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526938013; bh=9bzX6MeaWBC70bzKTU9GnRBeI6eYpTr528E0n9Z+Ma0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kXf+qpTCPM3AhImVWQ0pWzkKkXiUv6j78tPPlNQZKJEdmmzJ+BsvJZ5CCRsV/V6lt VBPneGeU9NlTLR4hYj8KR0iLHjACkESOBX2kHCaH/f03mXJVomGSEhUcInDB48zocH F8vOQB4vi51T1jXRBP2EKOQXtfgW1nXkbwOtG7Wk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Konrad Rzeszutek Wilk , Thomas Gleixner Subject: [PATCH 4.16 109/110] x86/bugs: Rename SSBD_NO to SSB_NO Date: Mon, 21 May 2018 23:12:46 +0200 Message-Id: <20180521210515.102929769@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 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: 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 @@ -70,7 +70,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 @@ -965,7 +965,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))