linux/arch/x86/kernel/cpu
Peter Zijlstra 3d8231988d perf/x86/amd: Rework AMD PMU init code
commit 1b45adcd9a 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>
2015-08-16 20:51:38 -07:00
..
mcheck Clean up cmci_rediscover code to fix problems found by Dave Jones 2013-04-08 17:41:50 +02:00
mtrr x86: Fix /proc/mtrr with base/size more than 44bits 2013-08-04 16:51:18 +08:00
.gitignore Update .gitignore files for generated targets 2008-10-20 11:24:31 -07:00
amd.c x86, cpu, amd: Add workaround for family 16h, erratum 793 2014-02-06 11:08:18 -08:00
bugs_64.c x86/cpu: Clean up various files a bit 2009-07-11 11:24:09 +02:00
bugs.c x86: Fold-in trivial check_config function 2013-04-16 11:50:50 +02:00
centaur.c x86, centaur: Enable cx8 for VIA Eden too 2011-12-15 08:04:42 -08:00
common.c x86: Require exact match for 'noxsave' command line option 2014-12-06 15:05:46 -08:00
cpu.h x86/tlb_info: get last level TLB entry number of CPU 2012-06-27 19:28:24 -07:00
cyrix.c x86, cpu: Convert Cyrix coma bug detection 2013-04-02 10:12:54 -07:00
hypervisor.c x86/apic: Allow x2apic without IR on VMware platform 2013-01-24 13:11:18 +01:00
intel_cacheinfo.c Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-02-19 20:09:48 -08:00
intel.c x86/intel/quark: Switch off CR4.PGE so TLB flush uses CR3 instead 2014-10-30 09:35:10 -07:00
Makefile Merge branch 'x86-paravirt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-04-30 08:41:21 -07:00
match.c x86: Fix typo in MODULE_DEVICE_TABLE example: s/x86_cpu/x86cpu/ 2012-04-16 14:20:19 +02:00
mkcapflags.sh mkcapflags.pl: convert to mkcapflags.sh 2013-04-29 15:54:27 -07:00
mshyperv.c x86, hyperv: Mark the Hyper-V clocksource as being continuous 2015-01-29 17:40:56 -08:00
perf_event_amd_ibs.c perf/x86/amd/ibs: Fix waking up from S3 for AMD family 10h 2014-01-25 08:27:11 -08:00
perf_event_amd_uncore.c perf/x86/amd: Fix AMD NB and L2I "uncore" support 2013-04-22 10:10:55 +02:00
perf_event_amd.c perf/x86/amd: Rework AMD PMU init code 2015-08-16 20:51:38 -07:00
perf_event_intel_ds.c Merge branch 'perf/urgent' into perf/core 2013-04-21 10:57:33 +02:00
perf_event_intel_lbr.c perf/x86/intel/lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL 2013-05-05 10:58:11 +02:00
perf_event_intel_uncore.c perf/x86/intel/uncore: Make sure only uncore events are collected 2015-01-16 06:59:03 -08:00
perf_event_intel_uncore.h perf/x86/intel: Add Ivy Bridge-EP uncore support 2013-04-21 11:01:24 +02:00
perf_event_intel.c perf/x86/intel: Use proper dTLB-load-misses event on IvyBridge 2014-11-21 09:22:55 -08:00
perf_event_knc.c x86: Constify a few items 2013-03-11 15:11:03 +01:00
perf_event_p4.c perf/x86/intel/P4: Robistify P4 PMU types 2013-04-26 09:31:41 +02:00
perf_event_p6.c x86: Constify a few items 2013-03-11 15:11:03 +01:00
perf_event.c perf: Drop sample rate when sampling is too slow 2014-06-11 12:03:26 -07:00
perf_event.h perf/x86: Add support for PEBS Precise Store 2013-04-01 12:17:06 -03:00
perfctr-watchdog.c perf/x86: Add support for Intel Xeon-Phi Knights Corner PMU 2012-10-04 13:32:37 +02:00
powerflags.c x86: Report cpb and eff_freq_ro flags correctly 2011-12-15 08:14:49 +01:00
proc.c x86, cpu: Convert Cyrix coma bug detection 2013-04-02 10:12:54 -07:00
rdrand.c x86, random: Verify RDRAND functionality and allow it to be disabled 2011-07-31 14:02:19 -07:00
scattered.c cpufreq: AMD "frequency sensitivity feedback" powersave bias for ondemand governor 2013-04-10 13:19:26 +02:00
topology.c x86, cpu: Split addon_cpuid_features.c 2010-07-19 19:02:41 -07:00
transmeta.c x86, cpu: mv display_cacheinfo -> cpu_detect_cache_sizes 2009-11-23 11:59:53 -08:00
umc.c x86: move various CPU initialization objects into .cpuinit.rodata 2009-03-12 13:13:07 +01:00
vmware.c x86/apic: Allow x2apic without IR on VMware platform 2013-01-24 13:11:18 +01:00