On Wed, May 30, 2018 at 4:42 AM, Peter Grehan <gre...@freebsd.org> wrote: >> PCIe only permits 1 device on an endpoint, so some devices ignore the >> device >> part of B:D:F probing. Although ARI likely fixes this, not all >> platforms >> support ARI completely or correctly, so some devices end up showing up >> 32 >> times on the bus. > > > I think this might have broken bhyve - a fake PCIe capability is put on the > root port so that guests will use MSI/MSI-x, but otherwise it looks like > parallel PCI. Not exactly spec-compliant, but then neither is most of the > world of PCI/PCIe. > > It may be worth #ifdef'ing this with powerpc. > > later, > > Peter.
I can special case i386 and amd64, but this change should (eventually) remove the majority of the current special case overrides for alternative architectures. I think it'd be better to have a bhyve root bridge driver that itself overrides pci_maxslots(), and have the 'compliant' path be the common. Thoughts? - Justin _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"