Re: [patch] x86 supports NO_IRQ convention

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Cox <alan@...>
Cc: lkml <linux-kernel@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, <hpa@...>
Date: Monday, June 23, 2008 - 7:29 am

On Monday 23 June 2008, Alan Cox wrote:

That's counter-factual:

           CPU0       CPU1       
  0:   42851354    6500253   IO-APIC-edge      timer
  1:     475459      45904   IO-APIC-edge      i8042
  8:          0          1   IO-APIC-edge      rtc0
  9:        135         18   IO-APIC-fasteoi   acpi
 12:    5232181     495206   IO-APIC-edge      i8042
 ...

That's on x86.  A quick survey of other boards around here
shows many that use IRQ 0 too.

I certainly agree it'd be convenient to be able to just test
for IRQ being nonzero.  Presumably only one driver would ever
end up using IRQ 0 on x86, so other drivers could ignore the
fact that testing for nonzero would mean "not the timer irq"
rather than "no irq assigned".

- Dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] x86 supports NO_IRQ convention, David Brownell, (Sun Jun 22, 10:53 pm)
Re: [patch] x86 supports NO_IRQ convention, Benjamin Herrenschmidt, (Mon Jun 23, 6:42 am)
Re: [patch] x86 supports NO_IRQ convention, David Brownell, (Mon Jun 23, 7:28 am)
Re: [patch] x86 supports NO_IRQ convention, Benjamin Herrenschmidt, (Mon Jun 23, 4:06 pm)
Re: [patch] x86 supports NO_IRQ convention, Alan Cox, (Mon Jun 23, 5:08 am)
Re: [patch] x86 supports NO_IRQ convention, Johannes Stezenbach, (Mon Jun 23, 7:34 am)
Re: [patch] x86 supports NO_IRQ convention, David Brownell, (Mon Jun 23, 7:29 am)
Re: [patch] x86 supports NO_IRQ convention, Alan Cox, (Mon Jun 23, 10:20 am)