]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86: Remove warning for zero PEBS status
authorAndi Kleen <ak@linux.intel.com>
Thu, 3 Dec 2015 21:22:19 +0000 (13:22 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jan 2016 10:15:30 +0000 (11:15 +0100)
commita070c5a0bfba675e70b598e2a7a233de9632d251
treedc17d7f9faa587fa7be909bf6eb648537fe70bcb
parente5ae5e110046dadb99a7ef0a47f0e4b09d4fb236
perf/x86: Remove warning for zero PEBS status

The recent commit:

  48f2f084abba ("perf/x86/intel/pebs: Robustify PEBS buffer drain")

causes lots of warnings on different CPUs before Skylake
when running PEBS intensive workloads.

They can have a zero status field in the PEBS record when
PEBS is racing with clearing of GLOBAl_STATUS.

This also can cause hangs (it seems there are still
problems with printk in NMI).

Disable the warning, but still ignore the record.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
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>
Link: http://lkml.kernel.org/r/1449177740-5422-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_ds.c