From: Ingo Molnar Date: Fri, 15 May 2009 06:26:20 +0000 (+0200) Subject: perf_counter: x86: Protect against infinite loops in intel_pmu_handle_irq() X-Git-Tag: v2.6.31-rc1~383^2~273 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9029a5e3801f1cc7cdaab80169d82427acf928d8;p=pandora-kernel.git perf_counter: x86: Protect against infinite loops in intel_pmu_handle_irq() intel_pmu_handle_irq() can lock up in an infinite loop if the hardware does not allow the acking of irqs. Alas, this happened in testing so make this robust and emit a warning if it happens in the future. Also, clean up the IRQ handlers a bit. [ Impact: improve perfcounter irq/nmi handling robustness ] Acked-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed