Re: Possible issue with dangling PCI BARs
- From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Dec 2007 13:27:35 +0000
We may be taking a small risk here, but what else do you propose ? The
problem of dangling BARs is real... One option is for me to address it
on powerpc and leave x86 alone as it might be more of an issue with
random crazy embedded firmware for us than it is for x86. As I said, the
workaround is completely self contained within arch code for now.
I think the cases like the SIL680 are still covered by the comment below
Supporting pci_enable_device_io / pci_enable_device_mmio / pci_iomap_io /
pci_iomap_mmio seems to cover pretty much all the use cases we have.
The users we have right now that are:
- pata_cs5520 (can be dealt with easily)
- old IDE (with the new resource handling for legacy IDE
can use pci_enable_device_io I think, ditto pci/cs5520)
- scx200_acb (looks like a simple substitution works)
- lpfc pci_enable_device_mmio
- qla2xxx pci_enable_device ? (enables IO and MMIO)
Ok.
If we get those in I can fix up libata in no time and sort out the CS5520
devices. Rest is easy providing Bartlomiej can sort out old IDE core.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: Possible issue with dangling PCI BARs
- From: Robert Han***
- Re: Possible issue with dangling PCI BARs
- From: Ivan Kokshaysky
- Re: Possible issue with dangling PCI BARs
- From: Alan Cox
- Re: Possible issue with dangling PCI BARs
- From: Benjamin Herrenschmidt
- Re: Possible issue with dangling PCI BARs
- Prev by Date: Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops
- Next by Date: Re: [PATCH 1/7] [NETDEV]: e1000 Fix possible causing oops of net_rx_action
- Previous by thread: Re: Possible issue with dangling PCI BARs
- Next by thread: [PATCH]Avoid the overflow when calculate the proportion of bdi quota
- Index(es):