public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Hinds <dhinds@sonic.net>
To: Pavel Roskin <proski@gnu.org>
Cc: David Hinds <dahinds@users.sourceforge.net>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fallback to PCI IRQs for TI bridges
Date: Sat, 1 Mar 2003 09:38:28 -0800	[thread overview]
Message-ID: <20030301093814.A6700@sonic.net> (raw)
In-Reply-To: <Pine.LNX.4.50.0302281944470.6367-100000@marabou.research.att.com>

On Fri, Feb 28, 2003 at 08:30:36PM -0500, Pavel Roskin wrote:
> 
> David, I understand from the Linux MAINTAINERS file that you also maintain
> the PCMCIA code in the kernel.  It's quite strange for me, because the
> kernel code is quite different from what I used to see in pcmcia-cs.

Well, I'd have to say that I feel a little squeemish about being
called the maintainer of the kernel code because I don't feel I can
devote the time to it that it needs.  If someone else is willing to
step up I'd happily cede the job to them.

> yenta_socket in 2.5.63 knows different models of the bridges and sets IRQ
> routing to PCI for certain models.  I don't really like this approach.

I have not looked at the most recent 2.5.* kernels but if that is true
then you're right, it is ill conceived.

> The chip can be integrated into the motherboard, and we don't know if the
> ISA IRQ lines are connected or not.  The architecture may not support ISA
> bus (e.g. PowerPC), then there will be no ISA interrupts, no matter what
> chip is used.

Which raises an issue I've been wondering about, how to tell when a
kernel is being built for a system with ISA bus capabilities.  The
current code checks CONFIG_ISA but that's probably a bad idea.

> I believe using PCI interrupts should not be considered as an inferior
> approach compared to ISA interrupts.  The only driver I know that had
> problems with PCI interrupts was ide-cs, but it's now fixed in the Alan's
> tree, and hopefully in 2.4.21-pre5 (I didn't have a chance to test it).
> 
> Anyway, for the sake of backward compatibility, let's consider using PCI
> interrupts a fallback that we use only if ISA interrupts don't work.

This sounds fine to me.  I'd be concerned about giving up ISA
interrupts completely, that some of the less used drivers have never
been tested for compatibility with shared interrupts.

-- Dave

  parent reply	other threads:[~2003-03-01 17:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-01  1:30 [PATCH] Fallback to PCI IRQs for TI bridges Pavel Roskin
2003-03-01  1:36 ` Jeff Garzik
2003-03-01  3:00 ` Alan Cox
2003-03-01  5:05   ` Pavel Roskin
2003-03-01 17:38 ` David Hinds [this message]
2003-03-01 18:05   ` Jeff Garzik
2003-03-03 17:26   ` Pavel Roskin
2003-03-03 20:31     ` Jeff Garzik
2003-03-03 20:56     ` David Hinds
2003-03-03 21:09       ` Russell King

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=20030301093814.A6700@sonic.net \
    --to=dhinds@sonic.net \
    --cc=dahinds@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=proski@gnu.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