kernel-fxtec-pro1x/arch/powerpc/oprofile
Eric B Munson ad5d5292f1 powerpc/oprofile: Handle events that raise an exception without overflowing
Commit 0837e3242c fixes a situation on POWER7
where events can roll back if a specualtive event doesn't actually complete.
This can raise a performance monitor exception.  We need to catch this to ensure
that we reset the PMC.  In all cases the PMC will be less than 256 cycles from
overflow.

This patch lifts Anton's fix for the problem in perf and applies it to oprofile
as well.

Signed-off-by: Eric B Munson <emunson@mgebm.net>
Cc: <stable@kernel.org> # as far back as it applies cleanly
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-05-26 13:38:57 +10:00
..
cell
backtrace.c
common.c
Makefile powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
op_model_7450.c
op_model_cell.c Fix common misspellings 2011-03-31 11:26:23 -03:00
op_model_fsl_emb.c oprofile/fsl emb: Don't set MSR[PMM] until after clearing the interrupt. 2010-10-14 00:53:05 -05:00
op_model_pa6t.c
op_model_power4.c powerpc/oprofile: Handle events that raise an exception without overflowing 2011-05-26 13:38:57 +10:00
op_model_rs64.c