Dear Bjorn Helgaas, On Thu, 14 Feb 2013 17:36:39 -0700, Bjorn Helgaas wrote: > > +config PCI_MVEBU > > + bool "Marvell EBU PCIe controller" > > + depends on ARCH_MVEBU > > + select PCI_SW_HOST_BRIDGE > > + select PCI_SW_PCI_PCI_BRIDGE > > I think PCI_SW_HOST_BRIDGE and PCI_SW_PCI_PCI_BRIDGE are obsolete and > can be removed, right? Indeed, will fix. > > + case PCI_PREF_LIMIT_UPPER32: > > + bridge->preflimitupper = value; > > + break; > > You're relying on a subsequent PCI_COMMAND write to set PCI_COMMAND_IO > and/or PCI_COMMAND_MEMORY, and you program the bridge windows at that > time. Correct. > It might be a good idea if the PCI core did clear those bits > while updating the windows, but I'm not sure we do. In any case, > delaying the update is a difference from a standard P2P bridge that > could cause issues later. When would you want the window assignment to occur? Directly when the registers containing the base/limit are being written to? There are multiple registers for base/limit, so I'll have to figure out a way to validate when the base/limit informations are valid. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- 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