linux/arch/x86/kernel/cpu
Wei Huang cc6cd47e73 perf/x86: Tone down kernel messages when the PMU check fails in a virtual environment
PMU checking can fail due to various reasons. On native machine, this
is mostly caused by faulty hardware and it is reasonable to use
KERN_ERR in reporting. However, when kernel is running on virtualized
environment, this checking can fail if virtual PMU is not supported
(e.g. KVM on AMD host). It is annoying to see an error message on
splash screen, even though we know such failure is benign on
virtualized environment.

This patch checks if the kernel is running in a virtualized environment.
If so, it will use KERN_INFO in reporting, which reduces the syslog
priority of them. This patch was tested successfully on KVM.

Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Link: http://lkml.kernel.org/r/1411617314-24659-1-git-send-email-wei@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-10-03 06:04:41 +02:00
..
mcheck arch/x86: replace strict_strto calls 2014-08-08 15:57:28 -07:00
microcode
mtrr
.gitignore
amd.c Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 17:15:45 -07:00
bugs_64.c
bugs.c
centaur.c
common.c Merge branch 'x86-xsave-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-13 18:20:04 -06:00
cpu.h
cyrix.c
hypervisor.c
intel_cacheinfo.c arch/x86: replace strict_strto calls 2014-08-08 15:57:28 -07:00
intel.c Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 17:15:45 -07:00
Makefile perf/x86/uncore: move NHM-EX/WSM-EX specific code to seperate file 2014-08-13 07:51:08 +02:00
match.c
mkcapflags.sh x86/cpufeature: Add bug flags to /proc/cpuinfo 2014-07-14 12:21:39 -07:00
mshyperv.c
perf_event_amd_ibs.c
perf_event_amd_iommu.c
perf_event_amd_iommu.h
perf_event_amd_uncore.c perf/x86/amd: Try to fix some mem allocation failure handling 2014-07-16 13:31:06 +02:00
perf_event_amd.c
perf_event_intel_ds.c perf/x86/intel: Mark initialization code as such 2014-09-09 06:53:06 +02:00
perf_event_intel_lbr.c perf/x86/intel: Mark initialization code as such 2014-09-09 06:53:06 +02:00
perf_event_intel_rapl.c
perf_event_intel_uncore_nhmex.c perf/x86/uncore: Fix coccinelle warnings 2014-08-13 07:51:09 +02:00
perf_event_intel_uncore_snb.c perf/x86/intel/uncore: Update support for client uncore IMC PMU 2014-09-24 14:48:25 +02:00
perf_event_intel_uncore_snbep.c perf/x86/intel/uncore: Fix PCU filter setup for Sandy/Ivy/Haswell EP 2014-09-24 14:48:24 +02:00
perf_event_intel_uncore.c perf/x86/intel/uncore: Fix minor race in box set up 2014-10-03 06:02:49 +02:00
perf_event_intel_uncore.h perf/x86/intel/uncore: Add Haswell-EP uncore support 2014-09-24 14:48:21 +02:00
perf_event_intel.c perf/x86/intel: Use Broadwell cache event list for Haswell 2014-09-24 14:48:20 +02:00
perf_event_knc.c
perf_event_p4.c
perf_event_p6.c
perf_event.c perf/x86: Tone down kernel messages when the PMU check fails in a virtual environment 2014-10-03 06:04:41 +02:00
perf_event.h perf/x86: Add INST_RETIRED.ALL workarounds 2014-09-24 14:48:19 +02:00
perfctr-watchdog.c
powerflags.c
proc.c x86/cpufeature: Add bug flags to /proc/cpuinfo 2014-07-14 12:21:39 -07:00
rdrand.c
scattered.c
topology.c
transmeta.c
umc.c
vmware.c