[PATCH 2/2] ARM: perf: check that we have an event in the PMU IRQ handlers

Ming Lei tom.leiming at gmail.com
Tue Feb 21 09:39:46 EST 2012


Hi Will,

On Tue, Feb 21, 2012 at 9:59 PM, Will Deacon <will.deacon at arm.com> wrote:
> The PMU IRQ handlers in perf assume that if a counter has overflowed
> then perf must be responsible. In the paranoid world of crazy hardware,
> this could be false, so check that we do have a valid event before
> attempting to dereference NULL in the interrupt path.
>
> Cc: Ming Lei <tom.leiming at gmail.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> ---
>
> Ming Lei - can I have your S-o-B for this please?

Sure,  Signed-off-by: Ming Lei <tom.leiming at gmail.com>


thanks,
-- 
Ming Lei



More information about the linux-arm-kernel mailing list