linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* OpenPIC and the 2.6 kernel
@ 2004-03-26 22:11 John Whitney
  2004-03-26 22:18 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: John Whitney @ 2004-03-26 22:11 UTC (permalink / raw)
  To: linuxppc-dev


I am working on upgrading a board support package from the 2.4.25
kernel to the 2.6.5, and I noticed that it looks like the OpenPIC
support has taken a step BACK in the 2.6 kernel.

In the 2.4 tree, openpic_hookup_cascade() exists, allowing non-8259
cascades to IRQs other than 0.  This seems to be totally missing from
the 2.6 kernel (82c59 is the ONLY supported cascade type there).  As my
board uses a custom PLD interrupt controller cascaded to an MPC107,
this is a problem.

Have I gotten the wrong repository for LinuxPPC 2.6?  I'm using
ppc.bkbits.net/linuxppc-2.5, which shows up as the 2.6.5-rc1 kernel.
If not, is there a reason this feature is now missing for the OpenPIC
driver?

Thanks,
John Whitney


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OpenPIC and the 2.6 kernel
  2004-03-26 22:11 OpenPIC and the 2.6 kernel John Whitney
@ 2004-03-26 22:18 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2004-03-26 22:18 UTC (permalink / raw)
  To: John Whitney; +Cc: linuxppc-dev, Paul Mackerras


On Fri, Mar 26, 2004 at 05:11:02PM -0500, John Whitney wrote:

> I am working on upgrading a board support package from the 2.4.25
> kernel to the 2.6.5, and I noticed that it looks like the OpenPIC
> support has taken a step BACK in the 2.6 kernel.
>
> In the 2.4 tree, openpic_hookup_cascade() exists, allowing non-8259
> cascades to IRQs other than 0.  This seems to be totally missing from
> the 2.6 kernel (82c59 is the ONLY supported cascade type there).  As my
> board uses a custom PLD interrupt controller cascaded to an MPC107,
> this is a problem.
>
> Have I gotten the wrong repository for LinuxPPC 2.6?  I'm using
> ppc.bkbits.net/linuxppc-2.5, which shows up as the 2.6.5-rc1 kernel.
> If not, is there a reason this feature is now missing for the OpenPIC
> driver?

This is intentional behavior.  During 2.5 development, and I think
around when openpic_hookup_cascade() went into 2.4, I asked Paul what he
thought, and he wanted something more robust I believe.  Sadly, nothing
further happened on this front.

Paul, what do you think about re-introducing openpic_hookup_cascade(irq,
name, cascade_fn(pt_regs)) in 2.6?  Or outlining a better way to handle
the problems of aribtrared controllers on OpenPIC irqs (both the custom
board described above, and Sandpoint X2 support) need something along
these lines.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-26 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-26 22:11 OpenPIC and the 2.6 kernel John Whitney
2004-03-26 22:18 ` Tom Rini

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).