]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf/x86/intel: Disable check_msr for real HW
authorJiri Olsa <jolsa@redhat.com>
Sun, 16 Jun 2019 14:13:13 +0000 (16:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 17 Jun 2019 10:36:24 +0000 (12:36 +0200)
commitd0e1a507bdc761a14906f03399d933ea639a1756
treeb2dd4f5a42d064fc0767dcb0aa7954408d681165
parentb7c9b3927337b43b3c854064b9c17b84cb7ef0dc
perf/x86/intel: Disable check_msr for real HW

Tom Vaden reported false failure of the check_msr() function, because
some servers can do POST tracing and enable LBR tracing during
bootup.

Kan confirmed that check_msr patch was to fix a bug report in
guest, so it's ok to disable it for real HW.

Reported-by: Tom Vaden <tom.vaden@hpe.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Tom Vaden <tom.vaden@hpe.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Liang Kan <kan.liang@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190616141313.GD2500@krava
[ Readability edits. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/core.c