[PATCH] ARM: perf: do not handle deleted counter in irq handler to avoid oops

Will Deacon will.deacon at arm.com
Tue Feb 21 10:19:10 EST 2012


On Tue, Feb 21, 2012 at 02:02:32PM +0000, Ming Lei wrote:
> On Tue, Feb 21, 2012 at 9:32 PM, Will Deacon <will.deacon at arm.com> wrote:
> > I have a couple of patches that solve this by (a) clearing the overflow flag
> > when disabling the counter for ARMv7 and (b) adding the event checks to the
> 
> Maybe ARMv6 and xscale need to be fixed too if the overflow flag will be kept
> even after the counter is disabled.

I don't think so - seems like we clear the overflow flag already for those
PMUs in the disable path (note that we write ~mask).

Will



More information about the linux-arm-kernel mailing list