On Mon, Oct 08, 2018 at 11:45:53AM +0200, Sebastian Benoit wrote:
>
> Supermicro SYS-2029TP-HC0R
> https://www.supermicro.nl/products/system/2U/2029/SYS-2029TP-HC0R.cfm
>
> similar to my mail to bugs@
> Subject: Super X11SPi-TF board, xhci0 at ... "Intel C620 xHCI" ...
> msiuvm_fault
> but different system.
If you still have access to either of these, can you try this diff?
It should stop it crashing (it does on a dell r6415 here), but the usb
controller will most likely fail to initialise.
Index: xhci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/xhci_pci.c,v
retrieving revision 1.9
diff -u -p -r1.9 xhci_pci.c
--- xhci_pci.c 8 May 2018 13:41:52 -0000 1.9
+++ xhci_pci.c 16 Nov 2018 01:26:05 -0000
@@ -255,6 +255,9 @@ xhci_pci_takecontroller(struct xhci_pci_
int i;
cparams = XREAD4(&psc->sc, XHCI_HCCPARAMS);
+ if (cparams == 0xffffffff)
+ return;
+
eec = -1;
/* Synchronise with the BIOS if it owns the controller. */
@@ -262,6 +265,8 @@ xhci_pci_takecontroller(struct xhci_pci_
xecp != 0 && XHCI_XECP_NEXT(eec);
xecp += XHCI_XECP_NEXT(eec) << 2) {
eec = XREAD4(&psc->sc, xecp);
+ if (eec == 0xffffffff)
+ return;
if (XHCI_XECP_ID(eec) != XHCI_ID_USB_LEGACY)
continue;
bios_sem = XREAD1(&psc->sc, xecp + XHCI_XECP_BIOS_SEM);