linux-pinenote/arch/x86/kernel/cpu
Stephane Eranian 9f7ff8931e perf/x86: Fix RAPL rdmsrl_safe() usage
This patch fixes a bug introduced by:

  2422365780 ("perf/x86/intel: Use rdmsrl_safe() when initializing RAPL PMU")

The rdmsrl_safe() function returns 0 on success.
The current code was failing to detect the RAPL PMU
on real hardware  (missing /sys/devices/power) because
the return value of rdmsrl_safe() was misinterpreted.

Signed-off-by: Stephane Eranian <eranian@google.com>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Venkatesh Srinivas <venkateshs@google.com>
Cc: peterz@infradead.org
Cc: zheng.z.yan@intel.com
Link: http://lkml.kernel.org/r/20140423170418.GA12767@quad
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-04-24 08:12:41 +02:00
..
mcheck x86/mce: Fix CMCI preemption bugs 2014-04-17 10:28:42 +02:00
microcode * Avoid WARN_ON() when mapping BGRT on Baytrail (EFI 32-bit). 2014-02-07 11:27:30 -08:00
mtrr mm, x86: Account for TLB flushes only when debugging 2014-01-25 09:10:41 +01:00
.gitignore
amd.c Rename TAINT_UNSAFE_SMP to TAINT_CPU_OUT_OF_SPEC 2014-03-20 16:28:09 -07:00
bugs.c
bugs_64.c
centaur.c x86: Remove CONFIG_X86_OOSTORE 2014-03-11 10:16:18 -07:00
common.c Merge branch 'x86-threadinfo-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-04-01 10:17:18 -07:00
cpu.h
cyrix.c
hypervisor.c
intel.c Merge branch 'x86-nuke-platforms-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-04-02 13:15:58 -07:00
intel_cacheinfo.c x86, intel, cacheinfo: Fix CPU hotplug callback registration 2014-03-20 13:43:43 +01:00
Makefile
match.c x86: align x86 arch with generic CPU modalias handling 2014-02-18 12:45:38 -08:00
mkcapflags.sh
mshyperv.c Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-04-01 11:22:57 -07:00
perf_event.c perf/x86: Add a few more comments 2014-02-27 12:43:25 +01:00
perf_event.h perf/x86: Add a few more comments 2014-02-27 12:43:25 +01:00
perf_event_amd.c
perf_event_amd_ibs.c x86, amd, ibs: Fix CPU hotplug callback registration 2014-03-20 13:43:43 +01:00
perf_event_amd_iommu.c
perf_event_amd_iommu.h
perf_event_amd_uncore.c x86, amd, uncore: Fix CPU hotplug callback registration 2014-03-20 13:43:43 +01:00
perf_event_intel.c perf/x86: Correctly use FEATURE_PDCM 2014-02-21 22:09:01 +01:00
perf_event_intel_ds.c
perf_event_intel_lbr.c
perf_event_intel_rapl.c perf/x86: Fix RAPL rdmsrl_safe() usage 2014-04-24 08:12:41 +02:00
perf_event_intel_uncore.c CPU hotplug notifiers registration fixes for 3.15-rc1 2014-04-07 14:55:46 -07:00
perf_event_intel_uncore.h perf/x86/uncore: add hrtimer to SNB uncore IMC PMU 2014-02-21 21:49:08 +01:00
perf_event_knc.c
perf_event_p4.c perf/x86/p4: Block PMIs on init to prevent a stream of unkown NMIs 2014-02-09 13:20:35 +01:00
perf_event_p6.c perf/x86/intel/p6: Add userspace RDPMC quirk for PPro 2014-02-09 13:08:24 +01:00
perfctr-watchdog.c
powerflags.c
proc.c
rdrand.c
scattered.c
topology.c
transmeta.c
umc.c
vmware.c