Thread (60 messages) 60 messages, 8 authors, 2007-08-06

Re: What is the correct way to indicate an unassigned PCI resource ?

From: Guennadi Liakhovetski <hidden>
Date: 2006-12-04 20:53:18
Also in: linux-ide

On Mon, 4 Dec 2006, Sergei Shtylyov wrote:
quoted
quoted
quoted
  When Linus remaps IRQ0 on x86, I'll follow that code as a testament. Until 
this happens, I consider is just an opinion. Forcing every arch but x86 to 
remap IRQ0 is an example of the double standards.
Can I have a link to that specific answer from Linus, please? Somehow I 
missed it.
    Although, I'm getting the point -- PCI is likely to return 0 for 
unassigned the interrupt line register (this isn't always true though).  So, 
some mixup is possible in that regard.  Well, then we're unlucky, and indeed 
remapping IRQ0 has sense...
Strange, if __PCI__ uses 0 for an unassigned IRQ line, I'd say it's 
_internal_ PCI peculiarity, and should be handled by the PCI code, and not 
be taken as an enforced definition by all architectures for the whole 
system.

Why does one HAVE to remap IRQs if on a specific system it is easy and 
natural to use 0 as a valid IRQ number?

Thanks
Guennadi
---
Guennadi Liakhovetski
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help