All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jun Sun <jsun@mvista.com>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
Subject: Re: CVS Update@oss.sgi.com: linux
Date: Mon, 04 Feb 2002 11:03:36 -0800	[thread overview]
Message-ID: <3C5EDB08.B4F2FF7B@mvista.com> (raw)
In-Reply-To: Pine.GSO.3.96.1020204101743.5750B-100000@delta.ds2.pg.gda.pl

"Maciej W. Rozycki" wrote:
> 
> On Sun, 3 Feb 2002, Ralf Baechle wrote:
> 
> > >  Hmm, the assumption might be justifiable for the i386 only?  Shouldn't
> > > i8259.c be fixed instead?
> >
> > These are the ISA interrupts; many drivers make assumptions about the
> > interrupts numbers, so we can't really change the numbers anyway.  For
> > any non-ISA interrupt it's number can be choosen freely.
> 
>  I don't think such assumptions are sane even for the i386 -- an I/O APIC
> system is free to route ISA interrupts to whichever I/O APIC inputs are
> available, not necessarily the low 16.  The Intel MP Spec explicitly
> allows such a setup -- ISA interrupts are only tied in default
> configurations, which are rarely used (probably not at all these days).
> 
>  Anyway, only the drivers that read an IRQ number from jumpers or Flash
> memory need to be checked, and these are a minority (3Com Ethernet cards
> and possibly very few others).  These that do probing (with probe_irq) or
> simply take the number from an option will work automatically.
> 
>  While I agree for 2.4 it might be not the best idea to do such changes,
> for 2.5 it's worth considering, isn't it?
> 

This patch is from me.  It merely reflects a change of the irq base mapping
from 0x20 to 0x0.  I think someone did this change for Malta board.

A better solution is to have init_i8259_irqs() take an argument that is the
base IRQ number, like many other irq controller code do.  This way it is a
board level decision as what block of IRQs i8259 should use.

Jun

  reply	other threads:[~2002-02-04 20:05 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200202022138.g12LcZU24388@oss.sgi.com>
     [not found] ` <Pine.GSO.3.96.1020203191613.20409B-100000@delta.ds2.pg.gda.pl>
2002-02-03 18:37   ` CVS Update@oss.sgi.com: linux Ralf Baechle
2002-02-04 11:32     ` Maciej W. Rozycki
2002-02-04 19:03       ` Jun Sun [this message]
     [not found] <200208230950.g7N9o0fq016617@oss.sgi.com>
2002-08-23 10:13 ` Jan-Benedict Glaw
2002-08-23 10:41   ` Maciej W. Rozycki
     [not found] <200208130138.g7D1cYk3010974@oss.sgi.com>
2002-08-19 12:35 ` Maciej W. Rozycki
2002-08-19 12:57   ` Alan Cox
2002-08-19 13:22     ` Maciej W. Rozycki
2002-08-19 13:56       ` Alan Cox
2002-08-19 13:42   ` Ralf Baechle
2002-08-20 14:10     ` Maciej W. Rozycki
     [not found] <200208151925.g7FJPbfD009802@oss.sgi.com>
     [not found] ` <20020815193340.GB10730@lug-owl.de>
2002-08-15 19:46   ` Ralf Baechle
2002-08-19 12:32     ` Maciej W. Rozycki
     [not found] <200206301157.g5UBvrwF019470@oss.sgi.com>
2002-07-01 19:15 ` Guido Guenther
     [not found] <200112171934.fBHJYx328839@oss.sgi.com>
     [not found] ` <Pine.GSO.4.21.0112181044300.15364-100000@vervain.sonytel.be>
2001-12-19  2:30   ` Ralf Baechle
     [not found] <200111180324.fAI3Ob928062@oss.sgi.com>
     [not found] ` <20011118092625.B23198@lug-owl.de>
     [not found]   ` <001801c17019$56f562a0$0deca8c0@Ulysses>
2001-11-21 23:25     ` Ralf Baechle
2001-11-21 23:36       ` Matthew Dharm
2001-11-21 23:36         ` Matthew Dharm
2001-11-22  8:56       ` Jan-Benedict Glaw
2001-11-22 10:18         ` Geert Uytterhoeven
     [not found] <200111060055.fA60tX331454@oss.sgi.com>
2001-11-06  1:46 ` Florian Lohoff
     [not found] <200109300029.f8U0TZv12410@oss.sgi.com>
     [not found] ` <Pine.GSO.3.96.1011003125730.15867A-100000@delta.ds2.pg.gda.pl>
2001-10-03 17:50   ` Ralf Baechle
2001-10-03 21:13     ` Jun Sun
2001-10-03 21:27       ` Ralf Baechle
     [not found] <200104102242.f3AMgmc19116@oss.sgi.com>
2001-04-11  7:35 ` Ralf Baechle
2001-04-11 18:00   ` Kanoj Sarcar
2001-04-11 18:00     ` Kanoj Sarcar
2001-04-16 17:43     ` Quinn Jensen
2001-04-16 17:43       ` Quinn Jensen
2001-04-17 17:12       ` Ralf Baechle
     [not found] <20001118132233Z553804-494+838@oss.sgi.com>
     [not found] ` <XFMail.001118180639.Harald.Koerfgen@home.ivm.de>
2000-11-18 17:21   ` Ralf Baechle
2000-11-18 18:13     ` Justin Carlson
2000-11-18 18:36     ` Kevin D. Kissell
2000-11-18 18:36       ` Kevin D. Kissell
2000-11-19 15:16     ` Dominic Sweetman
2000-11-21  3:39       ` Ralf Baechle
     [not found] <20000906233636Z42230-31375+649@oss.sgi.com>
2000-09-06 23:45 ` Ralf Baechle
2000-09-06 23:51   ` Kanoj Sarcar
2000-09-06 23:51     ` Kanoj Sarcar
2000-09-07  0:02     ` Ralf Baechle
2000-09-07  0:05       ` Kanoj Sarcar
2000-09-07  0:05         ` Kanoj Sarcar
2000-09-07  0:26         ` Ralf Baechle
     [not found] <20000823172400Z42326-31375+197@oss.sgi.com>
2000-08-23 19:56 ` Ralf Baechle
2000-08-23 23:12   ` Kanoj Sarcar
2000-08-23 23:12     ` Kanoj Sarcar
     [not found] <20000702193011Z42202-29274+369@oss.sgi.com>
     [not found] ` <XFMail.000704192753.Harald.Koerfgen@home.ivm.de>
2000-07-04 21:22   ` Ralf Baechle
2000-07-05 18:24     ` Harald Koerfgen
     [not found] <20000524012413.A5507@spock>
2000-05-24 16:50 ` Harald Koerfgen
2000-05-24 23:58   ` Ralf Baechle
2000-05-25 17:14     ` Harald Koerfgen
2000-05-25 17:19       ` Ulf Carlsson
2000-05-25 18:00         ` Ralf Baechle
2000-05-25 18:02           ` Ulf Carlsson
2000-05-25 18:17             ` Ralf Baechle
     [not found] <20000519083237Z305155-391+603@oss.sgi.com>
2000-05-19 11:18 ` Ralf Baechle
     [not found] <20000327210518Z305163-3992+178@oss.sgi.com>
2000-03-28  0:29 ` Ralf Baechle
     [not found] <20000219003324Z305163-11638+186@oss.sgi.com>
     [not found] ` <Pine.GSO.4.10.10002211054270.29481-100000@dandelion.sonytel.be>
2000-02-21 11:58   ` Ralf Baechle
     [not found]     ` <Pine.GSO.4.10.10002211634260.4234-100000@dandelion.sonytel.be>
2000-02-21 18:03       ` Ralf Baechle
2000-02-22  2:45     ` Geert Uytterhoeven

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=3C5EDB08.B4F2FF7B@mvista.com \
    --to=jsun@mvista.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=macro@ds2.pg.gda.pl \
    --cc=ralf@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.