Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1571957 > unrolled thread

irq_work_run called from armv8pmu_handle_irq

Started bySodagudi Prasad <psodagud@codeaurora.org>
First post2017-02-01 21:20 +0100
Last post2017-02-02 13:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  irq_work_run called from armv8pmu_handle_irq Sodagudi Prasad <psodagud@codeaurora.org> - 2017-02-01 21:20 +0100
    Re: irq_work_run called from armv8pmu_handle_irq Will Deacon <will.deacon@arm.com> - 2017-02-02 13:50 +0100

#1571957 — irq_work_run called from armv8pmu_handle_irq

FromSodagudi Prasad <psodagud@codeaurora.org>
Date2017-02-01 21:20 +0100
Subjectirq_work_run called from armv8pmu_handle_irq
Message-ID<t69xR-2ab-19@gated-at.bofh.it>
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

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora 
Forum,
Linux Foundation Collaborative Project

[toc] | [next] | [standalone]


#1572329

FromWill Deacon <will.deacon@arm.com>
Date2017-02-02 13:50 +0100
Message-ID<t6oZP-406-1@gated-at.bofh.it>
In reply to#1571957
On Wed, Feb 01, 2017 at 12:15:01PM -0800, Sodagudi Prasad wrote:
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web