From: Rob Herring <robherring2@gmail.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Grant Likely <grant.likely@secretlab.ca>,
Linus Walleij <linus.walleij@stericsson.com>,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Anmar Oueja <anmar.oueja@linaro.org>,
Paul Mundt <lethal@linux-sh.org>,
Russell King <linux@arm.linux.org.uk>,
Lee Jones <lee.jones@linaro.org>
Subject: Re: [PATCH 2/4 v2] irqdomain: augment add_simple() to allocate descs
Date: Wed, 10 Oct 2012 07:41:13 -0500 [thread overview]
Message-ID: <50756CE9.4050604@gmail.com> (raw)
In-Reply-To: <CACRpkdYpS5Q-t_627A3qxgh-0Y6YYj9Nzr7k3Eq-YaL4v3=GMQ@mail.gmail.com>
On 10/10/2012 01:54 AM, Linus Walleij wrote:
> On Mon, Oct 1, 2012 at 2:11 PM, Rob Herring <robherring2@gmail.com> wrote:
>> On 10/01/2012 02:35 AM, Linus Walleij wrote:
>>> From: Linus Walleij <linus.walleij@linaro.org>
>>>
>>> Currently we rely on all IRQ chip instances to dynamically
>>> allocate their IRQ descriptors unless they use the linear
>>> IRQ domain. So for irqdomain_add_legacy() and
>>> irqdomain_add_simple() the caller need to make sure that
>>> descriptors are allocated.
>>>
>>> Let's slightly augment the yet unused irqdomain_add_simple()
>>> to also allocate descriptors as a means to simplify usage
>>> and avoid code duplication throughout the kernel.
>>>
>>> We warn if descriptors cannot be allocated, e.g. if a
>>> platform has the bad habit of hogging descriptors at boot
>>> time.
>>>
>>> Cc: Rob Herring <rob.herring@calxeda.com>
>>> Cc: Thomas Gleixner <tglx@linutronix.de>
>>> Cc: Grant Likely <grant.likely@secretlab.ca>
>>> Cc: Paul Mundt <lethal@linux-sh.org>
>>> Cc: Russell King <linux@arm.linux.org.uk>
>>> Cc: Lee Jones <lee.jones@linaro.org>
>>> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
>>
>> Looks good.
>>
>> Reviewed-by: Rob Herring <rob.herring@calxeda.com>
>
> So what do we do with this patch? Grant?
>
> I think the change is good to get in ASAP and since I
> now have one patch in pinctrl depending on it I have
> tentatively applied it there.
>
> Nobody sent any irqdomain fixes for this merge
> window, maybe this is the only relevant patch...
I say merge it with what depends on it. There's been plenty of time for
review.
Rob
next prev parent reply other threads:[~2012-10-10 12:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-01 7:35 [PATCH 2/4 v2] irqdomain: augment add_simple() to allocate descs Linus Walleij
2012-10-01 12:11 ` Rob Herring
2012-10-10 6:54 ` Linus Walleij
2012-10-10 12:41 ` Rob Herring [this message]
2012-11-26 20:26 ` Grant Likely
2012-11-27 0:13 ` Linus Walleij
2012-11-27 0:24 ` Rob Herring
2012-11-27 7:52 ` Linus Walleij
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=50756CE9.4050604@gmail.com \
--to=robherring2@gmail.com \
--cc=anmar.oueja@linaro.org \
--cc=grant.likely@secretlab.ca \
--cc=lee.jones@linaro.org \
--cc=lethal@linux-sh.org \
--cc=linus.walleij@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.