linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: John Whitney <jwhitney-linuxppc@sands-edge.com>
Cc: linuxppc-dev@lists.linuxppc.org, Paul Mackerras <paulus@samba.org>
Subject: Re: OpenPIC and the 2.6 kernel
Date: Fri, 26 Mar 2004 15:18:20 -0700	[thread overview]
Message-ID: <20040326221820.GA22801@smtp.west.cox.net> (raw)
In-Reply-To: <78197CD6-7F72-11D8-9FF0-000A95A07384@sands-edge.com>


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/

      reply	other threads:[~2004-03-26 22:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-26 22:11 OpenPIC and the 2.6 kernel John Whitney
2004-03-26 22:18 ` Tom Rini [this message]

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=20040326221820.GA22801@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=jwhitney-linuxppc@sands-edge.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=paulus@samba.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 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).