public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: davidm@hpl.hp.com
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>,
	Takayoshi Kochi <t-kochi@bq.jp.nec.com>,
	benjamin.liu@intel.com, iod00d@hp.com,
	kaneshige.kenji@jp.fujitsu.com, linux-ia64@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix PCI interrupt setting for ia64
Date: Mon, 08 Mar 2004 21:54:48 +0000	[thread overview]
Message-ID: <20040308215448.I21938@flint.arm.linux.org.uk> (raw)
In-Reply-To: <16460.59685.452893.22564@napali.hpl.hp.com>; from davidm@napali.hpl.hp.com on Mon, Mar 08, 2004 at 01:44:05PM -0800

On Mon, Mar 08, 2004 at 01:44:05PM -0800, David Mosberger wrote:
> >>>>> On Mon, 8 Mar 2004 12:13:22 -0700, Bjorn Helgaas <bjorn.helgaas@hp.com> said:
> 
>   Bjorn> Strictly speaking, since ACPI tells us about IRQs, we
>   Bjorn> shouldn't need probe_irq_on() on ia64, should we?
> 
>   Bjorn> I don't see any ACPI smarts in the IDE driver, but I think
>   Bjorn> the serial driver needs only the attached patch to make it
>   Bjorn> avoid the use of probe_irq_on().  I tested this on i2k and
>   Bjorn> various HP zx1 boxes, and it works fine.
> 
>   Bjorn> Russell, if you agree, would you mind applying this?
> 
>   Bjorn> ACPI and HCDP tell us what IRQ the serial port uses, so
>   Bjorn> there's no need to have the driver probe for the IRQ.
> 
> The patch looks good to me and I certainly agree that probe_irq_on()
> should be avoided.  However, as long as this interface is part of the
> Linux kernel, we should support it on ia64 since we can't know for
> sure when there are no drivers left using that interface.  (And there
> is no reason this interface is limited to ISA, though that certainly
> is the bus that generally had to use it, for lack of explicit irq
> info.)

OTOH, if you know "this port is absolutely definitely using this IRQ"
then you don't want to use IRQ probing.

As long as ACPI positively knows the correct IRQ, so we really shouldn't
be using IRQ probing here.  The only thing which causes me concern is...
what about ACPI table/BIOS bugs?

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

  reply	other threads:[~2004-03-08 21:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-08  2:49 [PATCH] fix PCI interrupt setting for ia64 Kenji Kaneshige
2004-03-08  6:30 ` Grant Grundler
2004-03-08 21:37   ` David Mosberger
2004-03-08  7:34 ` Liu, Benjamin
2004-03-08  7:44 ` Liu, Benjamin
2004-03-08  9:25   ` Takayoshi Kochi
2004-03-08 19:12     ` Bjorn Helgaas
2004-03-08 19:13     ` Bjorn Helgaas
2004-03-08 21:44       ` David Mosberger
2004-03-08 21:54         ` Russell King [this message]
2004-03-08 22:05           ` Bjorn Helgaas
2004-03-08 22:10             ` David Mosberger
2004-03-08 22:41               ` Bjorn Helgaas
2004-03-08 22:50                 ` David Mosberger
2004-03-08  8:31 ` Kenji Kaneshige
2004-03-08  9:14 ` Liu, Benjamin
2004-03-08 10:42 ` Kenji Kaneshige
2004-03-08 10:46 ` Kenji Kaneshige
2004-03-10 20:09 ` David Mosberger
2004-03-11  0:34 ` Kenji Kaneshige
2004-03-11  1:34   ` Takayoshi Kochi
2004-03-11  7:22   ` David Mosberger
2004-03-11  5:29 ` Kenji Kaneshige
2004-03-11  7:33   ` David Mosberger

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=20040308215448.I21938@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=benjamin.liu@intel.com \
    --cc=bjorn.helgaas@hp.com \
    --cc=davidm@hpl.hp.com \
    --cc=iod00d@hp.com \
    --cc=kaneshige.kenji@jp.fujitsu.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=t-kochi@bq.jp.nec.com \
    /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