From: Grant Likely <grant.likely@secretlab.ca>
To: David Daney <ddaney.cavm@gmail.com>,
Rob Herring <robherring2@gmail.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Thomas Gleixner <tglx@linutronix.de>
Cc: David Daney <ddaney.cavm@gmail.com>,
devicetree-discuss@lists.ozlabs.org, linux-mips@linux-mips.org,
linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] irq/irq_domain: Quit ignoring error returns from irq_alloc_desc_from().
Date: Fri, 06 Apr 2012 16:56:07 -0700 [thread overview]
Message-ID: <20120406235607.DCCD53E15E9@localhost> (raw)
In-Reply-To: <4F7F1BDD.4070205@gmail.com>
On Fri, 06 Apr 2012 09:37:49 -0700, David Daney <ddaney.cavm@gmail.com> wrote:
> On 04/05/2012 08:37 PM, Rob Herring wrote:
> > On 04/05/2012 06:52 PM, David Daney wrote:
> >> From: David Daney<david.daney@cavium.com>
> >> @@ -380,14 +381,14 @@ unsigned int irq_create_mapping(struct irq_domain *domain,
> >> hint = hwirq % irq_virq_count;
> >> if (hint == 0)
> >> hint++;
> >> - virq = irq_alloc_desc_from(hint, 0);
> >
> > You are not looking at mainline. hint was removed in later versions, and
> > the referenced commit ids don't exist.
>
> Please look at Linus' tree before making incorrect statements about
> whether or not code exists on the 'mainline'
Rob is indeed mistaken here, but please let's keep things civil. I
did write the patches to remove the hint, but I avoided merging them
because I think they are risky. I wanted to get the core irq_domain
changes in first. The removal of hint will be applied during the next
merge window.
I will take your bug fix and get it pushed up to Linus soon.
g.
WARNING: multiple messages have this Message-ID (diff)
From: Grant Likely <grant.likely@secretlab.ca>
To: David Daney <ddaney.cavm@gmail.com>,
Rob Herring <robherring2@gmail.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Thomas Gleixner <tglx@linutronix.de>
Cc: devicetree-discuss@lists.ozlabs.org, linux-mips@linux-mips.org,
linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] irq/irq_domain: Quit ignoring error returns from irq_alloc_desc_from().
Date: Fri, 06 Apr 2012 16:56:07 -0700 [thread overview]
Message-ID: <20120406235607.DCCD53E15E9@localhost> (raw)
Message-ID: <20120406235607.D5_0bGclDVmx6knhmSMoqklbJ3q61T6DdwU9LMqI4Bg@z> (raw)
In-Reply-To: <4F7F1BDD.4070205@gmail.com>
On Fri, 06 Apr 2012 09:37:49 -0700, David Daney <ddaney.cavm@gmail.com> wrote:
> On 04/05/2012 08:37 PM, Rob Herring wrote:
> > On 04/05/2012 06:52 PM, David Daney wrote:
> >> From: David Daney<david.daney@cavium.com>
> >> @@ -380,14 +381,14 @@ unsigned int irq_create_mapping(struct irq_domain *domain,
> >> hint = hwirq % irq_virq_count;
> >> if (hint == 0)
> >> hint++;
> >> - virq = irq_alloc_desc_from(hint, 0);
> >
> > You are not looking at mainline. hint was removed in later versions, and
> > the referenced commit ids don't exist.
>
> Please look at Linus' tree before making incorrect statements about
> whether or not code exists on the 'mainline'
Rob is indeed mistaken here, but please let's keep things civil. I
did write the patches to remove the hint, but I avoided merging them
because I think they are risky. I wanted to get the core irq_domain
changes in first. The removal of hint will be applied during the next
merge window.
I will take your bug fix and get it pushed up to Linus soon.
g.
WARNING: multiple messages have this Message-ID (diff)
From: Grant Likely <grant.likely@secretlab.ca>
To: Rob Herring <robherring2@gmail.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Thomas Gleixner <tglx@linutronix.de>
Cc: David Daney <ddaney.cavm@gmail.com>,
devicetree-discuss@lists.ozlabs.org, linux-mips@linux-mips.org,
linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] irq/irq_domain: Quit ignoring error returns from irq_alloc_desc_from().
Date: Fri, 06 Apr 2012 16:56:07 -0700 [thread overview]
Message-ID: <20120406235607.DCCD53E15E9@localhost> (raw)
In-Reply-To: <4F7F1BDD.4070205@gmail.com>
On Fri, 06 Apr 2012 09:37:49 -0700, David Daney <ddaney.cavm@gmail.com> wrote:
> On 04/05/2012 08:37 PM, Rob Herring wrote:
> > On 04/05/2012 06:52 PM, David Daney wrote:
> >> From: David Daney<david.daney@cavium.com>
> >> @@ -380,14 +381,14 @@ unsigned int irq_create_mapping(struct irq_domain *domain,
> >> hint = hwirq % irq_virq_count;
> >> if (hint == 0)
> >> hint++;
> >> - virq = irq_alloc_desc_from(hint, 0);
> >
> > You are not looking at mainline. hint was removed in later versions, and
> > the referenced commit ids don't exist.
>
> Please look at Linus' tree before making incorrect statements about
> whether or not code exists on the 'mainline'
Rob is indeed mistaken here, but please let's keep things civil. I
did write the patches to remove the hint, but I avoided merging them
because I think they are risky. I wanted to get the core irq_domain
changes in first. The removal of hint will be applied during the next
merge window.
I will take your bug fix and get it pushed up to Linus soon.
g.
next prev parent reply other threads:[~2012-04-07 1:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 23:52 [PATCH] irq/irq_domain: Quit ignoring error returns from irq_alloc_desc_from() David Daney
2012-04-06 3:37 ` Rob Herring
2012-04-06 3:37 ` Rob Herring
2012-04-06 16:37 ` David Daney
2012-04-06 16:37 ` David Daney
2012-04-06 17:32 ` Rob Herring
2012-04-06 23:56 ` Grant Likely [this message]
2012-04-06 23:56 ` Grant Likely
2012-04-06 23:56 ` Grant Likely
2012-04-09 16:52 ` David Daney
2012-04-07 1:26 ` Grant Likely
2012-04-09 16:56 ` David Daney
2012-04-10 20:41 ` Grant Likely
2012-04-10 20:41 ` Grant Likely
2012-04-10 20:41 ` Grant Likely
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=20120406235607.DCCD53E15E9@localhost \
--to=grant.likely@secretlab.ca \
--cc=benh@kernel.crashing.org \
--cc=ddaney.cavm@gmail.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=robherring2@gmail.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.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 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.