svn commit: r334365 - head/sys/dev/pci
Nathan Whitehorn
nwhitehorn at freebsd.org
Wed May 30 14:37:48 UTC 2018
On 05/30/18 02:42, Peter Grehan 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.
>
There are a ton of ARM boards that need this too. You can find one-off
hacks all through the tree and one of the nice things about this change
is that all of those can be consolidated/removed now. If we are going to
have some #ifdef and special cases, it would be better to make them for
bhyve.
-Nathan
More information about the svn-src-head
mailing list