x86/resctrl: Remove duplicate MSR_MISC_FEATURE_CONTROL definition
authorReinette Chatre <reinette.chatre@intel.com>
Mon, 4 Feb 2019 20:41:36 +0000 (12:41 -0800)
committerBorislav Petkov <bp@suse.de>
Tue, 5 Feb 2019 06:21:56 +0000 (07:21 +0100)
commit8ad382dd11ebed9f87edfeda6e738c472a911203
tree6b4761645d752bd57da2d98d021d7315d9c7670f
parent5a064d398fbe2901e55be15c108f7ffa98b7eefb
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 <reinette.chatre@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: gavin.hindman@intel.com
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: jithu.joseph@intel.com
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/ff6b95d9b6ef6f4ac96267f130719ba1af09614b.1549312475.git.reinette.chatre@intel.com
arch/x86/kernel/cpu/resctrl/pseudo_lock.c