On Fri, Jul 11, 2014 at 12:21 PM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > On Fri, Jul 11, 2014 at 11:09 AM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: >> >> If the BAR have all 0, cpu can not access it as hw will forward access to ram >> controller according to routing table. > > On PC's, yes (also likely with many devices - there are definitely > devices out there were setting the BAR to zero disables it). Ooh, we might trip over this some day on a platform with host bridge address translation that maps to PCI bus address 0. I don't think we have anything in the allocator that avoids bus address 0 in that case. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html