* Re: [MIPS] Import updates from i386's i8259.c
[not found] <S20037871AbWLFUPw/20061206201552Z+14601@ftp.linux-mips.org>
@ 2006-12-07 9:46 ` Christoph Hellwig
2006-12-07 12:21 ` Alexander Voropay
2006-12-07 12:33 ` Ralf Baechle
0 siblings, 2 replies; 5+ messages in thread
From: Christoph Hellwig @ 2006-12-07 9:46 UTC (permalink / raw)
To: linux-mips, linux-kernel, mingo
On Wed, Dec 06, 2006 at 08:15:47PM +0000, linux-mips@linux-mips.org wrote:
> Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Thu Dec 7 02:04:17 2006 +0900
> Comitter: Ralf Baechle <ralf@linux-mips.org> Wed Dec 6 20:10:54 2006 +0000
> Commit: bf8cfe1360932f191a3ea8d47c773c008ec32cd7
> Gitweb: http://www.linux-mips.org/g/linux/bf8cfe13
> Branch: master
>
> Import many updates from i386's i8259.c, especially genirq transitions.
Shouldn't we try to share i8259.c over the various architectures that
use this controller? With the generic hardirq framework that should be
possible.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [MIPS] Import updates from i386's i8259.c
2006-12-07 9:46 ` [MIPS] Import updates from i386's i8259.c Christoph Hellwig
@ 2006-12-07 12:21 ` Alexander Voropay
2006-12-07 12:21 ` Alexander Voropay
2006-12-07 13:54 ` Sergei Shtylyov
2006-12-07 12:33 ` Ralf Baechle
1 sibling, 2 replies; 5+ messages in thread
From: Alexander Voropay @ 2006-12-07 12:21 UTC (permalink / raw)
To: linux-mips
"Christoph Hellwig" <hch@lst.de> wrote:
>> Import many updates from i386's i8259.c, especially genirq transitions.
>
> Shouldn't we try to share i8259.c over the various architectures that
> use this controller? With the generic hardirq framework that should be
> possible.
The "i8259" should be under "ISA" or "EISA" Kconfig option.
AFAIK, all known ISA chipsets contains dual i8259 controllers:
LPC on the PCI-ISA bridge (Cobalt, Malta, ...),
Intel 82430 EISA Mongoose chipset (Indigo2 IP22, Magnum/Jazz, SNI RM-200, ...)
--
-=AV=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [MIPS] Import updates from i386's i8259.c
2006-12-07 12:21 ` Alexander Voropay
@ 2006-12-07 12:21 ` Alexander Voropay
2006-12-07 13:54 ` Sergei Shtylyov
1 sibling, 0 replies; 5+ messages in thread
From: Alexander Voropay @ 2006-12-07 12:21 UTC (permalink / raw)
To: linux-mips
"Christoph Hellwig" <hch@lst.de> wrote:
>> Import many updates from i386's i8259.c, especially genirq transitions.
>
> Shouldn't we try to share i8259.c over the various architectures that
> use this controller? With the generic hardirq framework that should be
> possible.
The "i8259" should be under "ISA" or "EISA" Kconfig option.
AFAIK, all known ISA chipsets contains dual i8259 controllers:
LPC on the PCI-ISA bridge (Cobalt, Malta, ...),
Intel 82430 EISA Mongoose chipset (Indigo2 IP22, Magnum/Jazz, SNI RM-200, ...)
--
-=AV=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [MIPS] Import updates from i386's i8259.c
2006-12-07 9:46 ` [MIPS] Import updates from i386's i8259.c Christoph Hellwig
2006-12-07 12:21 ` Alexander Voropay
@ 2006-12-07 12:33 ` Ralf Baechle
1 sibling, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2006-12-07 12:33 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-mips, linux-kernel, mingo
On Thu, Dec 07, 2006 at 10:46:39AM +0100, Christoph Hellwig wrote:
> On Wed, Dec 06, 2006 at 08:15:47PM +0000, linux-mips@linux-mips.org wrote:
> > Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Thu Dec 7 02:04:17 2006 +0900
> > Comitter: Ralf Baechle <ralf@linux-mips.org> Wed Dec 6 20:10:54 2006 +0000
> > Commit: bf8cfe1360932f191a3ea8d47c773c008ec32cd7
> > Gitweb: http://www.linux-mips.org/g/linux/bf8cfe13
> > Branch: master
> >
> > Import many updates from i386's i8259.c, especially genirq transitions.
>
> Shouldn't we try to share i8259.c over the various architectures that
> use this controller? With the generic hardirq framework that should be
> possible.
See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20061206203259.GA10170%40linux-mips.org ;-)
The MIPS version of i8259 is already sharable that is all the code that
doesn't immediately deal with the i8259 PIC has been removed. A few
small things will need still need attention. i386 uses this silly
optimization in cached_master_mask / cached_slave_mask that depends on
little endian byte order. i386 programs ICW2 with 0x20 while MIPS uses
I8259A_IRQ_BASE. And the i386 version has various stuff such as the FPU
interrupt handler which are not immediately i8259A-related in i8259.c.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [MIPS] Import updates from i386's i8259.c
2006-12-07 12:21 ` Alexander Voropay
2006-12-07 12:21 ` Alexander Voropay
@ 2006-12-07 13:54 ` Sergei Shtylyov
1 sibling, 0 replies; 5+ messages in thread
From: Sergei Shtylyov @ 2006-12-07 13:54 UTC (permalink / raw)
To: Alexander Voropay; +Cc: linux-mips
Hello.
Alexander Voropay wrote:
>>> Import many updates from i386's i8259.c, especially genirq transitions.
>> Shouldn't we try to share i8259.c over the various architectures that
>> use this controller? With the generic hardirq framework that should be
>> possible.
> The "i8259" should be under "ISA" or "EISA" Kconfig option.
It's not really bus specific actually. I'm sure MCA systems had it as well.
> --
> -=AV=-
WBR, Sergei
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-12-07 13:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <S20037871AbWLFUPw/20061206201552Z+14601@ftp.linux-mips.org>
2006-12-07 9:46 ` [MIPS] Import updates from i386's i8259.c Christoph Hellwig
2006-12-07 12:21 ` Alexander Voropay
2006-12-07 12:21 ` Alexander Voropay
2006-12-07 13:54 ` Sergei Shtylyov
2006-12-07 12:33 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox