Re: What is the correct way to indicate an unassigned PCI resource ?
From: Sergei Shtylyov <hidden>
Date: 2006-12-04 15:53:44
Also in:
linux-ide
From: Sergei Shtylyov <hidden>
Date: 2006-12-04 15:53:44
Also in:
linux-ide
Hello. Sergei Shtylyov wrote:
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.
quoted
Yawn.. x86 does not expose IRQ 0 outside of arch specific code.
Can you believe, some non-x86 platofrms also don't -- for example, IRQ0 may be internal to SOC, not shareable or routable outside of it, BUT the SOC device is driven by the standard driver (I'm minding 8250.c here). Yet we're told that we should remap it, period...
quoted
quoted
quoted
The checks need pushing upwards and removing from their current place - the pci layer should check the resource length, the isa pnp should I believe check for zero address etc.
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...
WBR, Sergei