Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4675841ima; Mon, 4 Feb 2019 22:37:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IZy2Ti0XP+rwjs4j2yWryhiRo1NCFad2SM58kWawSrS57/mCfgdBujxpA5TU9rzAXP7GxzJ X-Received: by 2002:a63:b105:: with SMTP id r5mr3147763pgf.442.1549348661114; Mon, 04 Feb 2019 22:37:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549348661; cv=none; d=google.com; s=arc-20160816; b=X9ikV+/iODsJITlFDqVOs8S6LXA4AemIvzFKQXXsUst/gPj8fpCiuBngWYYi6/sAen Lvy9M55wfboeR26G5Lp6JjRR63Nt3N4pnyXpLuHHE0YFXU/8u0MjT/YNnz7Zyi2HMmjF S425kk1V0jaiVP0pGD8v1PQCiRhwwQW1N3fkLltlbloVU1I75H7qMV2cuJVI9Tm/DrRl u4X2LgCypxQGZSkKAEMQvzxhaiVSPKw1xinOS7tos5Pzo8X6fUQDkh5HUksXjpY4+PIJ x6/UF4ygamsbdmV9ofw/RHGYPCrXygji4Lp1eBpLyzBUpiwJ0kxRMSsZJH+/dQluuUHk Wpaw== 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=+0EqJJVbe1xNpAcP6oIhEelBsvgHChebzwzpZtw+t8g=; b=srCutq8V3zIXucsUC/I5I2uWlvp1uBrs4geaYVBDfZNjKhPle5UKaYWTyYJ2UHlVv5 xJu44gvuf0RI7D/ZX963UXSxDTCfYq1DJT+gRqBg46m1CFYM4uA7PCmf9huNoIuWuxwq zhioTk6ysEkwHOxM3bCGJ012GSbcJju5EW0c/fRy+B5SBAhVngXCYm7KLFM/60Gu9qLe 8VYEOLCJrcAc6vXZEEhceTQz1yYTHUB8dD274iNOt3HdlP/QuN9rd54z3U0RnEoSs4hD 4+egDxmWz+BEjSyAW3qSN2HJcA1P/ZUKn1VfufcvXav9gd1NryNLjrHART2zuaawN4Bd HTnw== 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 l7si2312250pfg.245.2019.02.04.22.37.24; Mon, 04 Feb 2019 22:37:41 -0800 (PST) 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 S1727481AbfBEG2S (ORCPT + 99 others); Tue, 5 Feb 2019 01:28:18 -0500 Received: from terminus.zytor.com ([198.137.202.136]:46919 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfBEG2S (ORCPT ); Tue, 5 Feb 2019 01:28:18 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x156S5Es736326 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 4 Feb 2019 22:28:05 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x156S5vT736323; Mon, 4 Feb 2019 22:28:05 -0800 Date: Mon, 4 Feb 2019 22:28:05 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Reinette Chatre Message-ID: Cc: reinette.chatre@intel.com, linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org, mingo@redhat.com, fenghua.yu@intel.com, tony.luck@intel.com, tglx@linutronix.de, x86@kernel.org, bp@suse.de Reply-To: bp@suse.de, fenghua.yu@intel.com, mingo@redhat.com, tony.luck@intel.com, tglx@linutronix.de, x86@kernel.org, hpa@zytor.com, mingo@kernel.org, reinette.chatre@intel.com, linux-kernel@vger.kernel.org In-Reply-To: References: To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cleanups] x86/resctrl: Remove duplicate MSR_MISC_FEATURE_CONTROL definition Git-Commit-ID: 8ad382dd11ebed9f87edfeda6e738c472a911203 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=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q 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: 8ad382dd11ebed9f87edfeda6e738c472a911203 Gitweb: https://git.kernel.org/tip/8ad382dd11ebed9f87edfeda6e738c472a911203 Author: Reinette Chatre AuthorDate: Mon, 4 Feb 2019 12:41:36 -0800 Committer: Borislav Petkov CommitDate: Tue, 5 Feb 2019 07:21:56 +0100 x86/resctrl: Remove duplicate MSR_MISC_FEATURE_CONTROL definition The definition of MSR_MISC_FEATURE_CONTROL was first introduced in 98af74599ea0 ("x86 msr_index.h: Define MSR_MISC_FEATURE_CONTROL") and present in Linux since v4.11. The Cache Pseudo-Locking code added this duplicate definition in more recent f2a177292bd0 ("x86/intel_rdt: Discover supported platforms via prefetch disable bits"), available since v4.19. Remove the duplicate definition from the resctrl subsystem and let that code obtain the needed definition from the core architecture msr-index.h instead. Fixes: f2a177292bd0 ("x86/intel_rdt: Discover supported platforms via prefetch disable bits") Signed-off-by: Reinette Chatre Signed-off-by: Borislav Petkov Cc: Fenghua Yu Cc: gavin.hindman@intel.com Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: jithu.joseph@intel.com Cc: Thomas Gleixner Cc: Tony Luck Cc: x86-ml Link: https://lkml.kernel.org/r/ff6b95d9b6ef6f4ac96267f130719ba1af09614b.1549312475.git.reinette.chatre@intel.com --- arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c index 14bed6af8377..604c0e3bcc83 100644 --- a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c +++ b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c @@ -33,13 +33,6 @@ #define CREATE_TRACE_POINTS #include "pseudo_lock_event.h" -/* - * MSR_MISC_FEATURE_CONTROL register enables the modification of hardware - * prefetcher state. Details about this register can be found in the MSR - * tables for specific platforms found in Intel's SDM. - */ -#define MSR_MISC_FEATURE_CONTROL 0x000001a4 - /* * The bits needed to disable hardware prefetching varies based on the * platform. During initialization we will discover which bits to use.