Skip to contentSkip to conversation

irq_work_run called from armv8pmu_handle_irq

DISCUSSION Sodagudi Prasad 2 participants 2 messages Feb 1, 2017 – Feb 2, 2017

lore
Share & tools
lore
#0 lore raw

Hi All,

we would like to understand why irq_work_run() is getting called from armv8pmu_handle_irq() irq handler for arm SoC.

Is this irq_work frame work designed to run works from ARMPMU irq handlers? If there are no of drivers using the IRQ WORK frame work, we may see that ARMPMU irq handler taking long time, right?

-Thanks, Prasad

Signature · 3 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora 
Forum,
Linux Foundation Collaborative Project
#1 lore raw
Quoted 6 lines · Sodagudi Prasad

we would like to understand why irq_work_run() is getting called from armv8pmu_handle_irq() irq handler for arm SoC.

Is this irq_work frame work designed to run works from ARMPMU irq handlers? If there are no of drivers using the IRQ WORK frame work, we may see that ARMPMU irq handler taking long time, right?

The perf_event_overflow callback can schedule IRQ work to e.g. disable the PMU and want to make sure this runs before we EOI the PMU IRQ.

Will