Re: [RFC] killing the NR_IRQS arrays.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Wednesday, February 28, 2007 - 12:20 am

Arnd Bergmann <arnd@arndb.de> writes:

Then there is msi and with msi-x you can have up to 4K irqs.


There is some truth there yes.  But for ISA the numbers are really
0 to 15.  


Yes.  I should really look at that more and see if I could bring
s390 into the generic irq code with my planned changes.

Yes.


Largely for pci we already have dev->irq and the device just calls
request_irq to get things going.  The challenge is that the token
in dev->irq get's looked at.


Reasonable if it is easy and straight forward.
Something like pci_request_irq(dev,....) and the helper looks at
dev->irq under the covers and calls request_irq or whatever makes
sense.  Is this what you are thinking.  Examples would help me here.


What I really object to is not the irq numbers.  As an arbitrary number
does not impose limits.  What I object to is drivers that can't handle the
full range of numbers, and the limits imposed upon those numbers when
you require them to be indexes into an array.

For talking to user space I expect we will have numbers for a long time
to come yet.

Eric

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

Messages in current thread:
[RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 5:10 am)
Re: [RFC] killing the NR_IRQS arrays., Andi Kleen, (Fri Feb 16, 5:16 am)
Re: [RFC] killing the NR_IRQS arrays., Ingo Molnar, (Fri Feb 16, 5:41 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 8:23 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 8:35 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 8:49 am)
Re: [RFC] killing the NR_IRQS arrays., Jeremy Fitzhardinge, (Fri Feb 16, 11:07 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Fri Feb 16, 12:01 pm)
Re: [RFC] killing the NR_IRQS arrays., Jeremy Fitzhardinge, (Fri Feb 16, 12:06 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Fri Feb 16, 12:45 pm)
Re: [RFC] killing the NR_IRQS arrays., Russell King, (Fri Feb 16, 12:52 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Fri Feb 16, 1:43 pm)
Re: [RFC] killing the NR_IRQS arrays., Russell King, (Fri Feb 16, 1:59 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 3:29 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 3:33 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 3:37 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Fri Feb 16, 6:37 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Fri Feb 16, 9:00 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 1:51 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 2:06 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 2:34 am)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sat Feb 17, 2:04 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sat Feb 17, 2:15 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sat Feb 17, 2:20 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 8:58 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 9:58 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Sat Feb 17, 11:30 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sun Feb 18, 12:58 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sun Feb 18, 1:01 pm)
Re: [RFC] killing the NR_IRQS arrays., Arjan van de Ven, (Sun Feb 18, 2:24 pm)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Sun Feb 18, 5:25 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Tue Feb 27, 1:29 pm)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Tue Feb 27, 5:41 pm)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Wed Feb 28, 12:20 am)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Wed Feb 28, 1:09 am)
Re: [RFC] killing the NR_IRQS arrays., Arnd Bergmann, (Wed Feb 28, 5:24 am)
Re: [RFC] killing the NR_IRQS arrays., Segher Boessenkool, (Wed Feb 28, 6:02 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Wed Feb 28, 6:28 am)
Re: [RFC] killing the NR_IRQS arrays., Eric W. Biederman, (Wed Feb 28, 6:53 am)
Re: [RFC] killing the NR_IRQS arrays., Benjamin Herrenschmidt, (Thu Mar 1, 3:47 am)