[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACxGe6sRVk3sef0X9Q_FDcMx5=y0mKJ-pUM-S2-CitUFQ7koGA@mail.gmail.com>
Date: Sun, 10 Jun 2012 23:02:16 -0600
From: Grant Likely <grant.likely@...retlab.ca>
To: Paul Mundt <lethal@...ux-sh.org>
Cc: linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] irqdomain: Support for static IRQ mapping and association.
On Sun, Jun 10, 2012 at 9:25 PM, Paul Mundt <lethal@...ux-sh.org> wrote:
> On Fri, May 25, 2012 at 07:50:49PM -0600, Grant Likely wrote:
>> On Mon, 21 May 2012 14:06:32 +0900, Paul Mundt <lethal@...ux-sh.org> wrote:
>> > +int irq_create_strict_mappings(struct irq_domain *domain, unsigned int irq_base,
>> > + irq_hw_number_t hwirq_base, int count)
>> > +{
>> > + int ret;
>> > +
>> > + ret = irq_alloc_descs(irq_base, irq_base, count,
>> > + of_node_to_nid(domain->of_node));
>> > + if (unlikely(ret < 0))
>> > + return ret;
>> > +
>> > + ret = irq_domain_associate_many(domain, irq_base, hwirq_base, count);
>> > + if (unlikely(ret < 0)) {
>> > + irq_free_descs(irq_base, count);
>> > + return ret;
>> > + }
>>
>> It would be really good to make sure the hwirqs aren't already
>> associated before trying to associate them again. Unfortunately that
>> can't be done (nicely) until I get rid of the slow path lookup. I've
>> got a patch for that which I'll rebase on top of this one and post soon.
>>
> Any updates on this? I have quite a few more changes I intend on making,
> but there's no point in starting in on that until these existing patches
> are sorted out.
Yeah, I made some progress and have a whole bunch of patches to post
which I had hoped to do last week. Unfortunately the move to the UK
has meant that the last 7 days have been non-stop cleaning, packing
and throwing out stuff. I've not been able to do a final cleanup.
The house gets cleaned on Tuesday so it can go on the market on
Wednesday which means all the house stuff must be done by Monday
evening. Hopefully I'll get some time on Tuesday to do some hacking.
If you want to look at them I've pushed them out to the irqdomain/test
branch on git.secretlab.ca.
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists