summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/perf_event.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-02-26 16:55:40 +0200
committerAvi Kivity <avi@redhat.com>2012-03-08 14:13:18 +0200
commita7b9d2ccc3d86303ee9314612d301966e04011c7 (patch)
tree955dc7c9346e4aa34dddff9b1d3dd54253d783d0 /arch/x86/include/asm/perf_event.h
parent9ee73970c03edb68146ceb1ba2a7033c99a5e017 (diff)
downloadtalos-op-linux-a7b9d2ccc3d86303ee9314612d301966e04011c7.tar.gz
talos-op-linux-a7b9d2ccc3d86303ee9314612d301966e04011c7.zip
KVM: PMU: warn when pin control is set in eventsel msr
Print warning once if pin control bit is set in eventsel msr since emulation does not support it yet. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/perf_event.h')
-rw-r--r--arch/x86/include/asm/perf_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/perf_event.h b/arch/x86/include/asm/perf_event.h
index 096c975e099f..f1f71823f682 100644
--- a/arch/x86/include/asm/perf_event.h
+++ b/arch/x86/include/asm/perf_event.h
@@ -23,6 +23,7 @@
#define ARCH_PERFMON_EVENTSEL_USR (1ULL << 16)
#define ARCH_PERFMON_EVENTSEL_OS (1ULL << 17)
#define ARCH_PERFMON_EVENTSEL_EDGE (1ULL << 18)
+#define ARCH_PERFMON_EVENTSEL_PIN_CONTROL (1ULL << 19)
#define ARCH_PERFMON_EVENTSEL_INT (1ULL << 20)
#define ARCH_PERFMON_EVENTSEL_ANY (1ULL << 21)
#define ARCH_PERFMON_EVENTSEL_ENABLE (1ULL << 22)
OpenPOWER on IntegriCloud