Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp467773yba; Mon, 1 Apr 2019 09:54:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7xq0A1sRgn4N9J64vXfMjctL9UnxPgBuR+IrYMBm1TcbotUgLUe9ZRKpx7us9PNW/EYxt X-Received: by 2002:a17:902:988e:: with SMTP id s14mr52590004plp.167.1554137658795; Mon, 01 Apr 2019 09:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554137658; cv=none; d=google.com; s=arc-20160816; b=GtT5KJ7aRmsn4xnCiQpktL7nZl4eR6JioRQTgilnie9wkmVm9idA3sKmhVd4J3nM+Q hC7eKfk5VxGEaekskT1gisrjzBRY3fVg1d/5lftY5zUvIOvcMHB55QcBWkTzCOr8gV3r IAbQDr1LaxKOvk8JkGpxLpGpO3+1mhRlg1KGUWvOWi4xBd0UsQbPQ5lGTigrcUFP62b6 /4j1dVTIi4RyMAbWytlT2Ru62hLM4tAE8akf3Lo9qZUwSbUFBzId1rT16YNGjO5OrKgQ 3HBk+Z4XTpslPpF09FTrr257q+ra3q9S3DY17MczSHMPZU4BX/30d1OIG9HMz/wGq4A2 lPfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=jWeeH7r/sLyowJK1aH4R1u9pC/+0gZm1HkdhmKAtTaA=; b=0G3A6jYiEiSKmk3iolgas/4S6vnyrnxNVJ7qDeMaAsbTfh4UFr8A3xF2AsEQ7CntDr i6gKvHt0FhPTHjf7eB1pQ/c8Zl8I2kncGGRA4mGElykQMmG405puXvD6vw2pixpCnFLD 7pkNrhl1YsvmsXvkZITSpeIkkaSQe8/TTJroRy/JRNfxifSO77Afum946T420IBzDta5 0W34azum5GSe7o2mAHluDWK4vI6AUyc1kSXxDJfnfs3qPOQjhHZFFSFKL20oD464fQ9k nT0sV7/wPlRdrVXTZfCg2HKk/NjJS9aY6kRQuLyEuMM47Yc3k4Xxf5y6aZKUrTRU/yDR IHjA== 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 r6si8821482pfn.165.2019.04.01.09.54.02; Mon, 01 Apr 2019 09:54:18 -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 S1728696AbfDAQx2 (ORCPT + 99 others); Mon, 1 Apr 2019 12:53:28 -0400 Received: from terminus.zytor.com ([198.137.202.136]:39613 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728007AbfDAQx1 (ORCPT ); Mon, 1 Apr 2019 12:53:27 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x31Gr9cq1007151 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 1 Apr 2019 09:53:09 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x31Gr9px1007148; Mon, 1 Apr 2019 09:53:09 -0700 Date: Mon, 1 Apr 2019 09:53:09 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Xiaochen Shen Message-ID: Cc: tglx@linutronix.de, mingo@kernel.org, mingo@redhat.com, reinette.chatre@intel.com, x86@kernel.org, bp@suse.de, xiaochen.shen@intel.com, fenghua.yu@intel.com, linux-kernel@vger.kernel.org, tony.luck@intel.com, hpa@zytor.com Reply-To: tglx@linutronix.de, xiaochen.shen@intel.com, bp@suse.de, x86@kernel.org, fenghua.yu@intel.com, linux-kernel@vger.kernel.org, mingo@kernel.org, tony.luck@intel.com, hpa@zytor.com, reinette.chatre@intel.com, mingo@redhat.com In-Reply-To: <1553896238-22130-1-git-send-email-xiaochen.shen@intel.com> References: <1553896238-22130-1-git-send-email-xiaochen.shen@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/resctrl: Fix typos in the mba_sc mount option Git-Commit-ID: faa3604eda325588451c9c1eb4c8a8d04c1cd633 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_06_12 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: faa3604eda325588451c9c1eb4c8a8d04c1cd633 Gitweb: https://git.kernel.org/tip/faa3604eda325588451c9c1eb4c8a8d04c1cd633 Author: Xiaochen Shen AuthorDate: Sat, 30 Mar 2019 05:50:38 +0800 Committer: Borislav Petkov CommitDate: Mon, 1 Apr 2019 18:45:27 +0200 x86/resctrl: Fix typos in the mba_sc mount option The user can control the MBA memory bandwidth in MBps (Mega Bytes per second) units of the MBA Software Controller (mba_sc) by using the "mba_MBps" mount option. For details, see Documentation/x86/resctrl_ui.txt. However, commit 23bf1b6be9c2 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context") changed the mount option name from "mba_MBps" to "mba_mpbs" by mistake. Change it back from to "mba_MBps" because it is user-visible, and correct "Opt_mba_mpbs" spelling to "Opt_mba_mbps". [ bp: massage commit message. ] Fixes: 23bf1b6be9c2 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context") Signed-off-by: Xiaochen Shen Signed-off-by: Borislav Petkov Cc: dhowells@redhat.com Cc: Fenghua Yu Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: pei.p.jia@intel.com Cc: Reinette Chatre Cc: Thomas Gleixner Cc: Tony Luck Cc: x86-ml Link: https://lkml.kernel.org/r/1553896238-22130-1-git-send-email-xiaochen.shen@intel.com --- arch/x86/kernel/cpu/resctrl/rdtgroup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/resctrl/rdtgroup.c b/arch/x86/kernel/cpu/resctrl/rdtgroup.c index 399601eda8e4..54b9eef3eea9 100644 --- a/arch/x86/kernel/cpu/resctrl/rdtgroup.c +++ b/arch/x86/kernel/cpu/resctrl/rdtgroup.c @@ -2039,14 +2039,14 @@ out: enum rdt_param { Opt_cdp, Opt_cdpl2, - Opt_mba_mpbs, + Opt_mba_mbps, nr__rdt_params }; static const struct fs_parameter_spec rdt_param_specs[] = { fsparam_flag("cdp", Opt_cdp), fsparam_flag("cdpl2", Opt_cdpl2), - fsparam_flag("mba_mpbs", Opt_mba_mpbs), + fsparam_flag("mba_MBps", Opt_mba_mbps), {} }; @@ -2072,7 +2072,7 @@ static int rdt_parse_param(struct fs_context *fc, struct fs_parameter *param) case Opt_cdpl2: ctx->enable_cdpl2 = true; return 0; - case Opt_mba_mpbs: + case Opt_mba_mbps: if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) return -EINVAL; ctx->enable_mba_mbps = true;