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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Alan wrote:

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.

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...

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.

So, it's OK to remove the base *address* check in ide_hwif_confiure() altogether?

IFF you move all the other checks, verify their correctness and then get
them tested for a while yes

All other checks aren't hindering (at least me ATM). What's probably worth doing is to check the result of ide_pci_check_iomem() some lines above the discussed check (it's ignored now).

WBR, Sergei
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux