From: Gleb Natapov Date: Thu, 9 Aug 2012 08:52:34 +0000 (+0300) Subject: perf/x86: disable PEBS on a guest entry. X-Git-Tag: v3.6-rc3~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26a4f3c08de49c1437a7b7f97693cf22d8c31656;p=pandora-kernel.git 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 Signed-off-by: Gleb Natapov Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20120809085234.GI3341@redhat.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed