[Top] [All Lists]

Re: Is _do_IRQ() not needed anymore ?

To: Atsushi Nemoto <>
Subject: Re: Is _do_IRQ() not needed anymore ?
From: Sergei Shtylyov <>
Date: Fri, 01 Dec 2006 18:34:53 +0300
In-reply-to: <>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;
References: <> <> <> <> <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803

Sergei Shtylyov wrote:

You can use both irq_cpu and i8259 same time. :)

What's wrong with 8259 I wonder? It's happily converted to genirq by other arches...

Indeed.  I missed other arch's i8259.c had changed.  Maybe we should
update i8259.c entirely.

The question is what flow to use: level/edge ones used in x86 code and actually intended for simplistic controllers, not the likes of 8259 OR the "fasteoi" one used in PowerPC code and (as it turned out in my

Sorry for some confusion: in arch/powerpc/ level flow is always used for 8259 code (just because it fits both leve and edge cases)...

earlier discussion in linuxppc-dev) intended for the controllers that are smart enough to mask off the lower-priority IRQs when getting the top level one acknowledged and unmask them upon EOI command...

However, Benjamin Herrenschmidt said that 8259 should have used fasteoi flow instead since it was intended for that exact type of controllers (he claimed to have proposed this flow initially).

Atsushi Nemoto

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>