> From: "Boris Meyer" <borisbo...@gmx.net>
> Date: Fri, 12 Aug 2016 21:21:04 +0200
> 
> > Can you please give us the output of pcidump -xxv when it fails?
> > The pcidump below seems to be from a boot where you weren't using
> > pci passthrough on the host and thus does not include the relevant
> > PCI config space data for the > >passed-through em/re.
> >
> > -ml
> 
> Of couse. Thanks @Mike for the fast response. Attached three pcidump
> -xxv outputs. The third is from a iwm interface which is having the
> same issues (and which I don't use, so it's always there if further
> testing/outputs is/are needed).

The problem here is that we don't recognize the 0x1275/0x1275 host
bridge:

> Domain /dev/pci0:
>  0:0:0: unknown unknown
>       0x0000: Vendor ID: 1275 Product ID: 1275
>       0x0004: Command: 0007 Status: 0010
>       0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00
>       0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
>       0x0010: BAR empty (00000000)
>       0x0014: BAR empty (00000000)
>       0x0018: BAR empty (00000000)
>       0x001c: BAR empty (00000000)
>       0x0020: BAR empty (00000000)
>       0x0024: BAR empty (00000000)
>       0x0028: Cardbus CIS: 00000000
>       0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
>       0x0030: Expansion ROM Base Address: 00000000
>       0x0038: 00000000
>       0x003c: Interrupt Pin: 00 Line: ff Min Gnt: 00 Max Lat: 00
>       0x0040: Capability 0x10: PCI Express
>               Link Speed: 2.5 / 2.5 GT/s Link Width: x1 / x1
>       0x0000: 12751275 00100007 06000000 00000000
>       0x0010: 00000000 00000000 00000000 00000000
>       0x0020: 00000000 00000000 00000000 00000000
>       0x0030: 00000000 00000040 00000000 000000ff
>       0x0040: 00420010 00000000 00000000 00000411
>       0x0050: 00110000 00000000 00000000 00000000
>       0x0060: 00000000 00000000 00000000 00000000
>       0x0070: 00000000 00000000 00000000 00000000
>       0x0080: 00000000 00000000 00000000 00000000
>       0x0090: 00000000 00000000 00000000 00000000
>       0x00a0: 00000000 00000000 00000000 00000000
>       0x00b0: 00000000 00000000 00000000 00000000
>       0x00c0: 00000000 00000000 00000000 00000000
>       0x00d0: 00000000 00000000 00000000 00000000
>       0x00e0: 00000000 00000000 00000000 00000000
>       0x00f0: 00000000 00000000 00000000 00000000

and therefore disable MSI support on the PCI bus.  Could you check if
the diff below probably fixes the issue?

Seems thet the vendor ID 0x1275 is NetApp.  How suprising.  I suppose
that if the diff below works, we could add the device as "NetApp BHyVe
Host" or something like it.


Index: sys/arch/amd64/pci/pci_machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/pci/pci_machdep.c,v
retrieving revision 1.65
diff -u -p -r1.65 pci_machdep.c
--- sys/arch/amd64/pci/pci_machdep.c    2 Jun 2016 21:01:51 -0000       1.65
+++ sys/arch/amd64/pci/pci_machdep.c    12 Aug 2016 20:14:11 -0000
@@ -196,6 +196,9 @@ pci_attach_hook(struct device *parent, s
        case PCI_VENDOR_AMD:
                pba->pba_flags |= PCI_FLAGS_MSI_ENABLED;
                break;
+       case 0x1275:
+               pba->pba_flags |= PCI_FLAGS_MSI_ENABLED;
+               break;
        }
 
        /*

Reply via email to