diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2013-05-21 13:05:37 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:59:45 +0200 |
| commit | 24794ab72e0274559fc7d91fe77957a792427a4a (patch) | |
| tree | d108aef619744e3573c8c879babccbc82ce696b9 /arch/sparc | |
| parent | 2724ed9917a9e169be11d69aff8a1a71809e8f40 (diff) | |
perf/x86/amd: Rework AMD PMU init code
commit 1b45adcd9a503428e6de6b39bc6892d86c9c1d41 upstream.
Josh reported that his QEMU is a bad hardware emulator and trips a
WARN in the AMD PMU init code. He requested the WARN be turned into a
pr_err() or similar.
While there, rework the code a little.
Reported-by: Josh Boyer <jwboyer@redhat.com>
Acked-by: Robert Richter <rric@kernel.org>
Acked-by: Jacob Shin <jacob.shin@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130521110537.GG26912@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions
