[Bug 212021] xhci(4) broken with qemu-devel

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021

--- Comment #11 from commit-h...@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Mon Aug 22 19:32:50 UTC 2016
New revision: 304629
URL: https://svnweb.freebsd.org/changeset/base/304629

Log:
  Don't separate the status stage of the XHCI USB control transfers into
  its own job because this breaks the simplified QEMU XHCI TRB parser,
  which expects the complete USB control transfer as a series of back to
  back TRBs. The old behaviour is kept under #ifdef in case this change
  breaks enumeration of any USB devices.

  PR:   212021
  MFC after:1 week

Changes:
  head/sys/dev/usb/controller/xhci.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 212021] xhci(4) broken with qemu-devel

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021

--- Comment #10 from commit-h...@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Mon Aug 22 10:21:25 UTC 2016
New revision: 304597
URL: https://svnweb.freebsd.org/changeset/base/304597

Log:
  Fix for invalid use of bits in input context. Basically split
  configuring of EP0 and non-EP0 into xhci_cmd_evaluate_ctx() and
  xhci_cmd_configure_ep() respectivly. This resolves some errors when
  using XHCI under QEMU and gets is more in line with the XHCI
  specification.

  PR:   212021
  MFC after:1 week

Changes:
  head/sys/dev/usb/controller/xhci.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 212021] xhci(4) broken with qemu-devel

2016-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021

--- Comment #9 from Hans Petter Selasky  ---
Hi,

I looked into this yesterday and there are some missing pieces in the QEMU
control endpoint handling code. FreeBSD sends the SETUP, DATA and STATUS stage
as separate events, while QEMU expects them all at the same time. That's why
the getting the device descriptor times out. This part should be fixed in QEMU.
I might be able to provide a patch.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 212021] xhci(4) broken with qemu-devel

2016-08-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212021

Hans Petter Selasky  changed:

   What|Removed |Added

Summary|xhci(4) broken on   |xhci(4) broken with
   |big-endian systems  |qemu-devel

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"