https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021
--- Comment #7 from Hans Petter Selasky ---
Created attachment 173916
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173916=edit
Fix XHCI compatibility with QEMU
Hi,
Can you test the attached patch. Looks
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021
--- Comment #6 from Nathan Whitehorn ---
(In reply to Hans Petter Selasky from comment #5)
The QEMU code that is printing the error is this in xhci_configure_slot():
if ((ictl_ctx[0] & 0x3) != 0x0 ||
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021
--- Comment #4 from Nathan Whitehorn ---
(In reply to Hans Petter Selasky from comment #3)
That is probably true, but I think that can't be the problem in this case, for
two reasons:
1. The host CPU for my QEMU is
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021
--- Comment #3 from Hans Petter Selasky ---
Got it. OK, Look at this error:
xhci: output context at 831a000
xhci: invalid input context control 0003
13236@1471749323.871077:usb_xhci_queue_event v 0, idx
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021
--- Comment #2 from Nathan Whitehorn ---
(In reply to Hans Petter Selasky from comment #1)
You misunderstand, I think. This is a bog-standard PCI-E XHCI card with
little-endian registers. The driver just doesn't
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021
Hans Petter Selasky changed:
What|Removed |Added
CC|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021
Bug ID: 212021
Summary: xhci(4) broken on big-endian systems
Product: Base System
Version: CURRENT
Hardware: ppc
OS: Any
Status: New
Severity: