svn commit: r334365 - head/sys/dev/pci
Justin Hibbits
jhibbits at freebsd.org
Wed May 30 13:47:55 UTC 2018
On Wed, May 30, 2018 at 4:42 AM, Peter Grehan <grehan at 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
More information about the svn-src-head
mailing list