From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2012-02-22 23:50:21
When using a multi-ISU MPIC, we can interrupts up to
isu_size * MPIC_MAX_ISU, not just isu_size, so allocate
the right size reverse map.
Without this, the code will constantly fallback to
a linear search.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
From: Grant Likely <hidden> Date: 2012-02-23 01:39:52
On Thu, Feb 23, 2012 at 10:50:13AM +1100, Benjamin Herrenschmidt wrote:
When using a multi-ISU MPIC, we can interrupts up to
isu_size * MPIC_MAX_ISU, not just isu_size, so allocate
the right size reverse map.
Without this, the code will constantly fallback to
a linear search.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Looks fine to me. This will conflict with the irqdomain tree in linux-next,
but it will be a trivial fixup. Still, if you prefer I can pick this
up into my tree.
g.
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2012-02-23 01:55:12
On Wed, 2012-02-22 at 18:39 -0700, Grant Likely wrote:
Looks fine to me. This will conflict with the irqdomain tree in linux-next,
but it will be a trivial fixup. Still, if you prefer I can pick this
up into my tree.
Well, I'm also going to carry a slightly modified variant of Kyle's
mpic series so we'll have to deal with conflicts regardless, I'll
keep that one.
What I might do tho is pull your tree in powerpc-next at some point,
when you tell me it's frozen solid, this will potentially make my life
easier.
Cheers,
Ben.
From: Grant Likely <hidden> Date: 2012-02-23 02:00:07
On Wed, Feb 22, 2012 at 6:55 PM, Benjamin Herrenschmidt
[off-list ref] wrote:
On Wed, 2012-02-22 at 18:39 -0700, Grant Likely wrote:
quoted
Looks fine to me. =A0This will conflict with the irqdomain tree in linux=
-next,
quoted
but it will be a trivial fixup. =A0Still, if you prefer I can pick this
up into my tree.
Well, I'm also going to carry a slightly modified variant of Kyle's
mpic series so we'll have to deal with conflicts regardless, I'll
keep that one.
What I might do tho is pull your tree in powerpc-next at some point,
when you tell me it's frozen solid, this will potentially make my life
easier.
It's frozen solid now. Any changes from this point on will be new
patches on top.
g.