]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
authorKan Liang <kan.liang@linux.intel.com>
Fri, 21 Sep 2018 14:07:06 +0000 (07:07 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 2 Oct 2018 07:38:02 +0000 (09:38 +0200)
commit6228031c0a2e135a94f7a76cfa9ec92736bb3c22
tree10fdacc83dc63ff105104f826ac5a7e0bd15be8f
parent5c0dd10d95901e8b034bfea37518170d6c43c5ee
perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX

The counters on M3UPI Link 0 and Link 3 don't count properly, and writing
0 to these counters may causes system crash on some machines.

The PCI BDF addresses of the M3UPI in the current code are incorrect.

The correct addresses should be:

  D18:F1 0x204D
  D18:F2 0x204E
  D18:F5 0x204D

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Fixes: c8829c7def28 ("perf/x86/intel/uncore: Add Skylake server uncore support")
Link: http://lkml.kernel.org/r/1537538826-55489-1-git-send-email-kan.liang@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/uncore_snbep.c