[RFC PATCH v2 4/5] arm: perf: Make v7 support FIQ-safe

2015-01-21 Thread Daniel Thompson
armv7pmu_disable_event() is called during irq handling. If irq handling switches over to fiq then the spin locks in this function risk deadlock. Both armv7_pmnc_disable_counter() and armv7_pmnc_disable_intens() are unconditional co-processor writes. I haven't yet come up with an schedule where

[RFC PATCH v2 4/5] arm: perf: Make v7 support FIQ-safe

2015-01-21 Thread Daniel Thompson
armv7pmu_disable_event() is called during irq handling. If irq handling switches over to fiq then the spin locks in this function risk deadlock. Both armv7_pmnc_disable_counter() and armv7_pmnc_disable_intens() are unconditional co-processor writes. I haven't yet come up with an schedule where