On Thu, May 23, 2013 at 11:08 AM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > On Thu, May 23, 2013 at 1:13 AM, Gavin Shan <shangw@xxxxxxxxxxxxxxxxxx> wrote: >> On Wed, May 22, 2013 at 01:50:35PM -0700, Yinghai Lu wrote: >>>On Wed, May 22, 2013 at 9:59 AM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: >>>> We try must+optional as first, then if there is any ioport or mmio fail >>>> we will stick to must only then extend must to meet optional. >>>> but mmio range and mmio-pref could be connected each other, >>>> so extend will fail... >>>> >>>> problem here, some root bus will not have ioport range, so it will always have >>>> ioport allocation fail. >>>> >>>> looks like right fix for v3.9 should be as attached patch. >>>> it will keep must+optional for mmio, if only ioport fails.... >>> >>>looks like i missed change to realloc_head list. >>> >>>Ben/Shan, can you check attached v2? >>> >> >> Sorry for late response. I spend lots of time to get the simulator working >> with PCI stuff. I had a try with your patch on top of mainline (3.10.RC2). >> Things look good except that we still see the intended the failure message >> of failure to assign I/O ports as the attached kernel log indicates :-) >> > > Good, will resend this as complete form to Bjorn for v3.10. I haven't seen anything this actually fixes yet, except that maybe it removes some "can't assign" messages. That doesn't sound like v3.10 material. 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