From: Kevin Hilman <khilman@kernel.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Lina Iyer <lina.iyer@linaro.org>,
ulf.hansson@linaro.org, linux-arm-kernel@lists.infradead.org,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
rjw@rjwysocki.net, daniel.lezcano@linaro.org
Subject: Re: [PATCH v3 3/4] irq: Allow multiple clients to register for irq affinity notification
Date: Thu, 25 Sep 2014 13:35:24 -0700 [thread overview]
Message-ID: <7htx3vbfqr.fsf@deeprootsystems.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1409022109050.3333@nanos> (Thomas Gleixner's message of "Tue, 2 Sep 2014 22:56:17 +0200 (CEST)")
Hi Thomas,
Thomas Gleixner <tglx@linutronix.de> writes:
[...]
> All I can see from your postings so far is:
>
> 1) You want to use the notification for PM QoS
>
> 2) You run into conflicts with the existing notifiers
>
> 3) You want to solve that conflict
>
> What you are not telling is:
>
> 1) In which way is PM QoS going to use that notifier
>
> 2) How does that conflict with the existing users. And we only
> have two of them:
>
> - InfiniPath 7322 chip driver
>
> - cpu_rmap driver, which is used by
> - solarflare NIC driver
> - mellanox mlx4 driver
> - cisco enic driver
>
> So how is that conflicting with your ARM centric PM QoS work?
>
> Please provide proper debug info about such a conflict, if it
> exists at all.
Ignoring any new users of the affinity notifiers for now, aren't the
existing users you list above conflicting with each other already?
Maybe I'm missing something, or maybe we're just lucky and nobody uses
them together, but irq_set_affinity_notifier() only allows a single
notifier to be registered at any given time. So if you had a system
with the inifinipath driver and a cpu_rmap user, only the one who's
lucky enough to be the last to call irq_set_affinity_notifier() will
ever be notified.
So I think the main question for Lina is: assuming we need more than one
co-existing driver/subsystem to get IRQ affinity notifiers (and we
already seem to have them, but are lucky they don't currently co-exist),
how should the IRQ core be changed to support that? Is the list
approach proposed in $SUBJECT path reasonable?
Kevin
next prev parent reply other threads:[~2014-09-25 20:35 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
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 [this message]
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=7htx3vbfqr.fsf@deeprootsystems.com \
--to=khilman@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=lina.iyer@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
--cc=ulf.hansson@linaro.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;
as well as URLs for NNTP newsgroup(s).