]> git.baikalelectronics.ru Git - kernel.git/commit
x86/intel_rdt: Disable PMU access
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Aug 2018 11:06:35 +0000 (13:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 3 Aug 2018 11:06:35 +0000 (13:06 +0200)
commite89599a1daa3bc1ea10aa9c1c728537924e6ce4b
tree57bb38bb2970a9d462d0a4f6fcc035de46756fc7
parentd1eb9e033018520fc9b183948eff6f033f3081da
x86/intel_rdt: Disable PMU access

Peter is objecting to the direct PMU access in RDT. Right now the PMU usage
is broken anyway as it is not coordinated with perf.

Until this discussion settled, disable the PMU mechanics by simply
rejecting the type '2' measurement in the resctrl file.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: fenghua.yu@intel.com
Cc: tony.luck@intel.com
Cc: vikas.shivappa@linux.intel.com
CC: gavin.hindman@intel.com
Cc: jithu.joseph@intel.com
Cc: hpa@zytor.com
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c