From: tglx@linutronix.de (Thomas Gleixner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 3/4] irq: Allow multiple clients to register for irq affinity notification
Date: Wed, 8 Oct 2014 17:03:29 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.11.1410081623210.4292@nanos> (raw)
In-Reply-To: <20140925155027.GG1004@ilina-mac.local>
On Thu, 25 Sep 2014, Lina Iyer wrote:
> > 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
next prev parent reply other threads:[~2014-10-08 15:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 20:14 [PATCH v3 0/4] PM QoS: per-cpu PM QoS support Lina Iyer
2014-08-27 20:14 ` [PATCH v3 1/4] QoS: Modify data structures and function arguments for scalability Lina Iyer
2014-08-27 20:14 ` [PATCH v3 2/4] QoS: Enhance framework to support per-cpu PM QoS request Lina Iyer
2014-08-27 20:14 ` [PATCH v3 3/4] irq: Allow multiple clients to register for irq affinity notification Lina Iyer
2014-08-27 20:56 ` Thomas Gleixner
2014-09-02 18:43 ` Lina Iyer
2014-09-02 20:56 ` Thomas Gleixner
[not found] ` <20140924221023.GD1004@ilina-mac.local>
2014-09-25 15:43 ` Lina Iyer
2014-09-25 15:50 ` Lina Iyer
2014-10-08 15:03 ` Thomas Gleixner [this message]
2014-10-10 15:11 ` Lina Iyer
2014-10-17 7:29 ` Thomas Gleixner
2014-11-18 6:22 ` Lina Iyer
2014-09-25 20:35 ` Kevin Hilman
2014-09-26 9:29 ` Thomas Gleixner
2014-09-26 9:40 ` Russell King - ARM Linux
2014-09-26 15:10 ` Kevin Hilman
2014-10-08 14:20 ` Thomas Gleixner
2014-08-27 20:14 ` [PATCH v3 4/4] QoS: Enable PM QoS requests to apply only on smp_affinity of an IRQ Lina Iyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.11.1410081623210.4292@nanos \
--to=tglx@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox