]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/x86/intel/uncore: Add event constraint for BDX PCU
authorKan Liang <kan.liang@intel.com>
Tue, 14 Nov 2017 14:06:40 +0000 (06:06 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Nov 2017 16:07:49 +0000 (17:07 +0100)
commitbb9fbe1b57503f790dbbf9f06e72cb0fb9e60740
treecbe021075474b56bcce6d7f5d045c206fc9c6daa
parent58ba4d5a25579e5c7e312bd359c95f3a9a0a242c
perf/x86/intel/uncore: Add event constraint for BDX PCU

Event select bit 7 'Use Occupancy' in PCU Box is not available for
counter 0 on BDX

Add a constraint to fix it.

Reported-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Stephane Eranian <eranian@google.com>
Cc: peterz@infradead.org
Cc: ak@linux.intel.com
Link: https://lkml.kernel.org/r/1510668400-301000-1-git-send-email-kan.liang@intel.com
arch/x86/events/intel/uncore_snbep.c