Thread (13 messages) read the whole thread 13 messages, 2 authors, 2014-11-18

[PATCH v3 3/4] irq: Allow multiple clients to register for irq affinity notification

From: Thomas Gleixner <hidden>
Date: 2014-10-08 15:03:35
Also in: linux-pm, lkml

On Thu, 25 Sep 2014, Lina Iyer wrote:
quoted
How would a general "keep track of the targets of all interrupts in
the system" mechanism make use of this? 
Sorry, I do not understand your question.
PM QoS is only interested in the IRQs specified in the QoS request. If
there are no requests that need to be associated with an IRQ, then PM
QoS will not register for an affinity change notification.
Right, and I really hate the whole per irq notifier. It's a rats nest
of life time issues and other problems.
 
It also does not tell you whether an irq is disabled, reenabled or
removed, which will change the qos constraints as well unless you
plaster all drivers with updates to qos for those cases.

So what about adding a qos field to irq_data itself, have a function
to update it and let the irq core keep track of the per cpu irq
relevant qos constraints and provide an evaluation function or a
notifier for the PM/idle code?

That's going to need some serious thought as well, but it should avoid
most of the nasty notifier and lifetime issue which the per irq
notifiers provide.

Thoughts?

	tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help