On 11/11/2015 01:27, Benjamin Herrenschmidt wrote: > if (bridge_dev->flags & (1 << PCI_BRIDGE_DEV_F_SHPC_REQ)) { > + /* SHCP gets upset if we try to use slot 0 */ > + br->sec_bus.devfn_min = PCI_FUNC_MAX; > dev->config[PCI_INTERRUPT_PIN] = 0x1; > memory_region_init(&bridge_dev->bar, OBJECT(dev), "shpc-bar", > shpc_bar_size(dev));
This needs backwards compatibility gunk unfortunately. However we should fix it in 2.5 because it's a bug. I'll send a patch. Paolo