]> Git Repo - linux.git/commit
perf/x86: disable PEBS on a guest entry.
authorGleb Natapov <[email protected]>
Thu, 9 Aug 2012 08:52:34 +0000 (11:52 +0300)
committerThomas Gleixner <[email protected]>
Mon, 13 Aug 2012 17:01:04 +0000 (19:01 +0200)
commit26a4f3c08de49c1437a7b7f97693cf22d8c31656
tree3f1bafcd6e9cac2dfb0d26236d79fcc9ba970938
parentcb37af77124e8532e6ae3f9ca332593ba423b5f8
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 <[email protected]>
Signed-off-by: Gleb Natapov <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
arch/x86/kernel/cpu/perf_event_intel.c
This page took 0.058823 seconds and 4 git commands to generate.