summaryrefslogtreecommitdiffstats
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-08-09 11:52:34 +0300
committerThomas Gleixner <tglx@linutronix.de>2012-08-13 19:01:04 +0200
commit26a4f3c08de49c1437a7b7f97693cf22d8c31656 (patch)
tree3f1bafcd6e9cac2dfb0d26236d79fcc9ba970938 /kernel/compat.c
parentcb37af77124e8532e6ae3f9ca332593ba423b5f8 (diff)
downloadblackbird-op-linux-26a4f3c08de49c1437a7b7f97693cf22d8c31656.tar.gz
blackbird-op-linux-26a4f3c08de49c1437a7b7f97693cf22d8c31656.zip
perf/x86: disable PEBS on a guest entry.
If PMU counter has PEBS enabled it is not enough to disable counter on a guest entry since PEBS memory write can overshoot guest entry and corrupt guest memory. Disabling PEBS during guest entry solves the problem. Tested-by: David Ahern <dsahern@gmail.com> Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20120809085234.GI3341@redhat.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud