qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 45b339: usb: controllers do not need to check


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 45b339: usb: controllers do not need to check for babble t...
Date: Tue, 11 Sep 2012 10:30:16 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 45b339b18c660eb85af2ba25bfcaed5469660d77
      
https://github.com/qemu/qemu/commit/45b339b18c660eb85af2ba25bfcaed5469660d77
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c
    M hw/usb/hcd-uhci.c

  Log Message:
  -----------
  usb: controllers do not need to check for babble themselves

If an (emulated) usb-device tries to write more data to a packet then
its iov len, this will trigger an assert in usb_packet_copy(), and if
a driver somehow circumvents that check and writes more data to the
iov then there is space, we have a much bigger problem then not correctly
reporting babble to the guest.

In practice babble will only happen with (real) redirected devices, and there
both the usb-host os and the qemu usb-device code already check for it.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: cc40997489260f405aecccd30d4626ceee862502
      
https://github.com/qemu/qemu/commit/cc40997489260f405aecccd30d4626ceee862502
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/core.c

  Log Message:
  -----------
  usb-core: Don't set packet state to complete on a nak

This way the hcd can re-use the same packet to retry without needing
to re-init it.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c13a9e61366cc3e28299d8faeb65e65c6e5964cf
      
https://github.com/qemu/qemu/commit/c13a9e61366cc3e28299d8faeb65e65c6e5964cf
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb.h
    M hw/usb/core.c

  Log Message:
  -----------
  usb-core: Add a usb_ep_find_packet_by_id() helper function

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 9c1f67654ab611553bbfca54a1e0922728c25760
      
https://github.com/qemu/qemu/commit/9c1f67654ab611553bbfca54a1e0922728c25760
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/core.c

  Log Message:
  -----------
  usb-core: Allow the first packet of a pipelined ep to complete immediately

This can happen with usb-redir live-migration when the packet gets re-queued
after the migration and the original queuing from the migration source side
has already finished.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 66f092d25697e11847b61d761c38ddebedaed8d1
      
https://github.com/qemu/qemu/commit/66f092d25697e11847b61d761c38ddebedaed8d1
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  Revert "ehci: don't flush cache on doorbell rings."

This reverts commit 9bc3a3a216e2689bfcdd36c3e079333bbdbf3ba0, which got
added to fix an issue where the real, underlying cause was not stopping
the ep queue on an error.

Now that the underlying cause is fixed by the "usb: Halt ep queue and
cancel pending packets on a packet error" patch, the "don't flush" fix
is no longer needed.

Not only is it not needed, it causes us to see cancellations (unlinks)
done by the Linux EHCI driver too late, which in combination with the new
usb-core packet-id generation where qtd addresses are used as ids, causes
duplicate ids for in flight packets.

Signed-off-by: Hans de Goede <address@hidden>


  Commit: dafe31fc2a8653b535d58f8c7b250c0827b14420
      
https://github.com/qemu/qemu/commit/dafe31fc2a8653b535d58f8c7b250c0827b14420
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Validate qh is not changed unexpectedly by the guest

-combine the qh check with the check for devaddr changes
-also ensure that p gets set to NULL when the queue gets cancelled on
 devaddr change, which was not done properly before this patch

Signed-off-by: Hans de Goede <address@hidden>


  Commit: 522079dd4461c38b9a88bf31a65ea038c5b2be45
      
https://github.com/qemu/qemu/commit/522079dd4461c38b9a88bf31a65ea038c5b2be45
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Update copyright headers to reflect recent work

Update copyright headers to reflect all the work Gerd and I have been doing
on the EHCI emulation.

Signed-off-by: Hans de Goede <address@hidden>


  Commit: 0e7953525f52aa6c098dc0c1ce0b4a80ce82da45
      
https://github.com/qemu/qemu/commit/0e7953525f52aa6c098dc0c1ce0b4a80ce82da45
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Properly cleanup packets on cancel

Signed-off-by: Hans de Goede <address@hidden>


  Commit: 4b63a0df3bda8a2c278e45d9d94d9ba6d5791d8d
      
https://github.com/qemu/qemu/commit/4b63a0df3bda8a2c278e45d9d94d9ba6d5791d8d
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Properly report completed but not yet processed packets to the guest

Reported packets which have completed before being cancelled as such to the
host. Note that the new code path this patch adds is untested since it I've
been unable to actually trigger the race which needs this code path.

Signed-off-by: Hans de Goede <address@hidden>


  Commit: 616789cde2a83fad5e634880fd20214f0c984fd5
      
https://github.com/qemu/qemu/commit/616789cde2a83fad5e634880fd20214f0c984fd5
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: check for EHCI_ASYNC_FINISHED first in ehci_free_packet

Otherwise we'll see the packet free twice in the trace log even though
it actually happens only once.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 5c514681abbb3ae2f61f517c1aa3197f2f3ca93c
      
https://github.com/qemu/qemu/commit/5c514681abbb3ae2f61f517c1aa3197f2f3ca93c
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c
    M trace-events

  Log Message:
  -----------
  ehci: trace guest bugs

make qemu_queue_{cancel,reset} return the number of packets released,
so the caller can figure whenever there have been active packets even
though there shouldn't have been any.  Add tracepoint to log this.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1defcbd1e81d67476b6e4e486bcd4d869162900d
      
https://github.com/qemu/qemu/commit/1defcbd1e81d67476b6e4e486bcd4d869162900d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c
    M trace-events

  Log Message:
  -----------
  ehci: add doorbell trace events

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3a8ca08e01ea4baafff2a513655008cdd00feebf
      
https://github.com/qemu/qemu/commit/3a8ca08e01ea4baafff2a513655008cdd00feebf
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Add some additional ehci_trace_guest_bug() calls

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: ef5b234477df80700b128f561f5877a0688a70c8
      
https://github.com/qemu/qemu/commit/ef5b234477df80700b128f561f5877a0688a70c8
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Fix memory leak in handling of NAK-ed packets

Currently each time we try to execute a NAK-ed packet we redo
ehci_init_transfer, and usb_packet_map, re-allocing (without freeing) the
sg list every time.

This patch fixes this, it does this by introducing another async state, so
that we also properly cleanup a NAK-ed packet on cancel.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: eff6dce79bd7ad3c16d75c5e55b5a2a137ba6a60
      
https://github.com/qemu/qemu/commit/eff6dce79bd7ad3c16d75c5e55b5a2a137ba6a60
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Handle USB_RET_PROCERR in ehci_fill_queue

USB_RET_PROCERR can be triggered by the guest (by for example requesting more
then BUFFSIZE bytes), so don't assert on it.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: cf1f81691d1998fa8fe5bfcb8b498fb3723cf3c3
      
https://github.com/qemu/qemu/commit/cf1f81691d1998fa8fe5bfcb8b498fb3723cf3c3
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-ehci.c

  Log Message:
  -----------
  ehci: Correct a comment in fetchqtd packet processing

Since my previous comment said "Should never happen", I tried changing the
next line to an assert(0), which did not go well, which as the new comments
explains is logical if you think about it for a moment.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 181133404f520fab40a3ad40d935d91cf3cf546c
      
https://github.com/qemu/qemu/commit/181133404f520fab40a3ad40d935d91cf3cf546c
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Never return USB_RET_NAK for async handled packets

USB_RET_NAK is not a valid response for async handled packets (and will
trigger an assert as such).

Also drop the warning when receiving a status of cancelled for packets not
cancelled by qemu itself, this can happen when a device gets unredirected
by the usbredir-host while transfers are pending.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: ed9873bfbf145c084d039baab08c63b9d67e7bd3
      
https://github.com/qemu/qemu/commit/ed9873bfbf145c084d039baab08c63b9d67e7bd3
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Don't delay handling of open events to a bottom half

There is no need for this, and doing so means that a backend trying to
write immediately after an open event will see qemu_chr_be_can_write
returning 0, which not all backends handle well as there is no wakeup
mechanism to detect when the frontend does become writable.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: cb897117cdedd488f19985c8ec5ea05971103a27
      
https://github.com/qemu/qemu/commit/cb897117cdedd488f19985c8ec5ea05971103a27
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Get rid of async-struct get member

This is a preparation patch for completely getting rid of the async-packet
struct in usb-redir, instead relying on the (new) per ep queues in the
qemu usb core.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 104981d52b63dc3d68f39d4442881c667f44bbb9
      
https://github.com/qemu/qemu/commit/104981d52b63dc3d68f39d4442881c667f44bbb9
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Get rid of local shadow copy of packet headers

The shadow copy only serves as an extra check (besides the packet-id) to
ensure the packet we get back is a reply to the packet we think it is.

This check has never triggered in all the time usb-redir is in use now,
and since the verified data in the returned packet-header is not used
otherwise, removing the check does not open any possibilities for the
usbredirhost to confuse us.

This is a preparation patch for completely getting rid of the async-packet
struct in usb-redir, instead relying on the (new) per ep queues in the
qemu usb core.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 206e7f20fe7b920b362bcc02608680c5d5527f2a
      
https://github.com/qemu/qemu/commit/206e7f20fe7b920b362bcc02608680c5d5527f2a
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Get rid of unused async-struct dev member

This is a preparation patch for completely getting rid of the async-packet
struct in usb-redir, instead relying on the (new) per ep queues in the
qemu usb core.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: de550a6afb468ed3b8171019e19b63ae8254886d
      
https://github.com/qemu/qemu/commit/de550a6afb468ed3b8171019e19b63ae8254886d
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Move to core packet id and queue handling

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2979a36183a3902cd75665e7c6bbc8668668fd17
      
https://github.com/qemu/qemu/commit/2979a36183a3902cd75665e7c6bbc8668668fd17
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Return babble when getting more bulk data then requested

Babble is the appropriate error in this case (rather then signalling a stall).

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: be4a892846651e06dbbd9a48aa877f4e0397d01e
      
https://github.com/qemu/qemu/commit/be4a892846651e06dbbd9a48aa877f4e0397d01e
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M configure
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Convert to new libusbredirparser 0.5 API

This gives us support for 64 bit ids which is needed for using XHCI with
the new hcd generated ids.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 0fde3b7a826aa654612126cdea9832319a34172c
      
https://github.com/qemu/qemu/commit/0fde3b7a826aa654612126cdea9832319a34172c
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Set ep max_packet_size if available

This is needed for usb-redir to work properly with the xhci emulation.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 910c1e6b14e4abb188ff7ef584a629187479f82d
      
https://github.com/qemu/qemu/commit/910c1e6b14e4abb188ff7ef584a629187479f82d
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Add a usbredir_reject_device helper function

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a508cc42e22a2ac3878b964290780f1d81ec65c1
      
https://github.com/qemu/qemu/commit/a508cc42e22a2ac3878b964290780f1d81ec65c1
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Ensure our peer has the necessary caps when redirecting to XHCI

In order for redirection to work properly when redirecting to an emulated
XHCI controller, the usb-redir-host must support both
usb_redir_cap_ep_info_max_packet_size and usb_redir_cap_64bits_ids,
reject any devices redirected to an XHCI controller when these are not
supported.

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 6c67446a427b50a706e628f810116353f5d128cf
      
https://github.com/qemu/qemu/commit/6c67446a427b50a706e628f810116353f5d128cf
  Author: Hans de Goede <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Enable pipelining for bulk endpoints

Signed-off-by: Hans de Goede <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2964cd9bfa5100e433471d3e3fedcc9d62891894
      
https://github.com/qemu/qemu/commit/2964cd9bfa5100e433471d3e3fedcc9d62891894
  Author: Samuel Thibault <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/dev-serial.c

  Log Message:
  -----------
  Better name usb braille device

Windows users need to know that they have to use the Baum driver to make
the qemu braille device work.

Signed-off-by: Samuel Thibault <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2bbd086c41a00dc4384727ec895a94890c688eb5
      
https://github.com/qemu/qemu/commit/2bbd086c41a00dc4384727ec895a94890c688eb5
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/dev-audio.c

  Log Message:
  -----------
  usb-audio: fix usb version

usb-audio is a full speed (1.1) device,
but bcdUSB claims it is usb 2.0.  Fix it.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 331e9406f152b6bae6859a153d36e5076c58901d
      
https://github.com/qemu/qemu/commit/331e9406f152b6bae6859a153d36e5076c58901d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: rip out background transfer code

original xhci code (the one which used libusb directly) used to use
'background transfers' for iso streams.  In upstream qemu the iso
stream buffering is handled by usb-host & usb-redir, so we will
never ever need this.  It has been left in as reference, but is dead
code anyway.  Rip it out.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d5a15814b413869667b2a3215772986885be574a
      
https://github.com/qemu/qemu/commit/d5a15814b413869667b2a3215772986885be574a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c
    M trace-events

  Log Message:
  -----------
  xhci: drop buffering

This patch splits the xhci_xfer_data function into three.
The xhci_xfer_data function used to do does two things:

  (1) copy transfer data between guest memory and a temporary buffer.
  (2) report transfer results to the guest using events.

Now we three functions to handle this:

  (1) xhci_xfer_map creates a scatter list for the transfer and
      uses that (instead of the temporary buffer) to build a
      USBPacket.
  (2) xhci_xfer_unmap undoes the mapping.
  (3) xhci_xfer_report sends out events.

The patch also fixes reporting of transaction errors which must be
reported unconditinally, not only in case the guest asks for it
using the ISP flag.

[ v2: fix warning ]

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 5c08106ff65c904c297dab17cd0b0a3a28b63527
      
https://github.com/qemu/qemu/commit/5c08106ff65c904c297dab17cd0b0a3a28b63527
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: move device lookup into xhci_setup_packet

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 01546fa6624ad0d1068423c58fa31bdfc44da2bf
      
https://github.com/qemu/qemu/commit/01546fa6624ad0d1068423c58fa31bdfc44da2bf
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: implement mfindex

Implement mfindex register and mfindex wrap event.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3d1396842dc8acd691d3e5d1d3c59ade39776e5a
      
https://github.com/qemu/qemu/commit/3d1396842dc8acd691d3e5d1d3c59ade39776e5a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: iso xfer support

Add support for iso transfers.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 873123fe094546ba99ff96d089e8eb02f307043d
      
https://github.com/qemu/qemu/commit/873123fe094546ba99ff96d089e8eb02f307043d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c
    M trace-events

  Log Message:
  -----------
  xhci: trace cc codes in cleartext

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d829fde97d25bfa5ec62d21d28ed32991e56ffc7
      
https://github.com/qemu/qemu/commit/d829fde97d25bfa5ec62d21d28ed32991e56ffc7
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c
    M trace-events

  Log Message:
  -----------
  xhci: add trace_usb_xhci_ep_set_dequeue

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 8e9f18b6db1cd67f0a7efd7d0285bee489445197
      
https://github.com/qemu/qemu/commit/8e9f18b6db1cd67f0a7efd7d0285bee489445197
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: fix runtime write tracepoint

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 106b214c4fbba80699b32b63020432cbd1cf95db
      
https://github.com/qemu/qemu/commit/106b214c4fbba80699b32b63020432cbd1cf95db
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: update register layout

Change the register layout to be a bit more sparse and also not depend
on the number of ports.  Useful when for making the number of ports
runtime-configurable.


  Commit: 0846e6359c407e372f446723b8b7b09ac20d0f03
      
https://github.com/qemu/qemu/commit/0846e6359c407e372f446723b8b7b09ac20d0f03
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: update port handling

This patch changes the way xhci ports are linked to USBPorts.  The fixed
1:1 relationship between xhci ports and USBPorts is gone.  Now each
USBPort represents a physical plug which has usually two xhci ports
assigned: one usb2 and ond usb3 port.  usb devices show up at one or the
other, depending on whenever they support superspeed or not.

This patch also makes the number of usb2 and usb3 ports runtime
configurable by adding 'p2' and 'p3' properties.  It is allowed to
have different numbers of usb2 and usb3 ports.  Specifying p2=4,p3=2
will give you an xhci adapter which supports all speeds on physical
ports 1+2 and usb2 only on ports 3+4.


  Commit: 6d51b2bb07030c38e5f2d9048c6c474ca486fe9b
      
https://github.com/qemu/qemu/commit/6d51b2bb07030c38e5f2d9048c6c474ca486fe9b
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/desc.c
    M hw/usb/desc.h

  Log Message:
  -----------
  usb3: superspeed descriptors

Add superspeed descriptor entry to USBDesc,
advertise superspeed support when present.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b43a28517620c4eba8ab8b96b08e5ec85aedeeaf
      
https://github.com/qemu/qemu/commit/b43a28517620c4eba8ab8b96b08e5ec85aedeeaf
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb.h
    M hw/usb/desc.c
    M hw/usb/desc.h

  Log Message:
  -----------
  usb3: superspeed endpoint companion

Add support for building superspeed endpoint companion descriptors,
create them for superspeed usb devices.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2077469b58066da3cdac9e5b81d3c60178e6d300
      
https://github.com/qemu/qemu/commit/2077469b58066da3cdac9e5b81d3c60178e6d300
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb.h
    M hw/usb/desc.c
    M hw/usb/desc.h
    M trace-events

  Log Message:
  -----------
  usb3: bos decriptor

Add support for creating BOS descriptor and
device cappability descriptors.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 79b40459ba361ac0946bb54fee4a2389d1307c68
      
https://github.com/qemu/qemu/commit/79b40459ba361ac0946bb54fee4a2389d1307c68
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/dev-storage.c

  Log Message:
  -----------
  usb-storage: usb3 support

Add usb3 descriptors to usb-storage, so it shows up as superspeed
device when connected to xhci.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c5e9b02dee4a19f7b047fb75399012e1db759190
      
https://github.com/qemu/qemu/commit/c5e9b02dee4a19f7b047fb75399012e1db759190
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: fix & cleanup msi.

Drop custom write_config function which isn't needed any more.
Make the msi property a bit property so it accepts 'on' & 'off'.
Enable MSI by default.

TODO: add compat property to disable on old machine types.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4c4abe7cc903e057d343cd445eca2e5227783579
      
https://github.com/qemu/qemu/commit/4c4abe7cc903e057d343cd445eca2e5227783579
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: rework interrupt handling

Split xhci_irq_update into a function which handles intx updates
(including lowering the irq line once the guests acks the interrupt)
and one which is used for raising an irq only.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4c47f800631a14c8cb7970ba3a47d4a4ab0ee088
      
https://github.com/qemu/qemu/commit/4c47f800631a14c8cb7970ba3a47d4a4ab0ee088
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c
    M trace-events

  Log Message:
  -----------
  xhci: add msix support

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2cae41195b5b95129d92a189a0bfce3e5d0d8707
      
https://github.com/qemu/qemu/commit/2cae41195b5b95129d92a189a0bfce3e5d0d8707
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: move register update into xhci_intr_raise

Now that we have a separate function to raise an IRQ we can move
some comon code into the function.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 962d11e17264af0239f259aad1386fcc7ff471aa
      
https://github.com/qemu/qemu/commit/962d11e17264af0239f259aad1386fcc7ff471aa
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c
    M trace-events

  Log Message:
  -----------
  xhci: add XHCIInterrupter

Move all state belonging to the (single) interrupter into a separate
struct.  First step in adding support for multiple interrupters.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 43d9d6047e0f12b96bfc680982a630f0af78611a
      
https://github.com/qemu/qemu/commit/43d9d6047e0f12b96bfc680982a630f0af78611a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: prepare xhci_runtime_{read,write} for multiple interrupters

Prepare xhci runtime register access function for multiple interrupters.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2d1de8508fed1bddb1946d7d57256c96e02c1dd4
      
https://github.com/qemu/qemu/commit/2d1de8508fed1bddb1946d7d57256c96e02c1dd4
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: pick target interrupter

Pick the correct interrupter when queuing an event.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: fa8ee89e8b0a075e82ca54faa6135137abccfa48
      
https://github.com/qemu/qemu/commit/fa8ee89e8b0a075e82ca54faa6135137abccfa48
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: support multiple interrupters

Everything is in place, flip the big switch now
and enable support for multiple interrupters.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1b067564ce5db9a144eb15239abbd36c31dd65c8
      
https://github.com/qemu/qemu/commit/1b067564ce5db9a144eb15239abbd36c31dd65c8
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: kill xhci_mem_{read,write} dispatcher functions

... and register subregions instead, so we offload the dispatching
to the the memory subsystem which is designed to handle it.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 6ee021d41078844df60a3a466e3829a3e82776f3
      
https://github.com/qemu/qemu/commit/6ee021d41078844df60a3a466e3829a3e82776f3
  Author: Gerd Hoffmann <address@hidden>
  Date:   2012-09-10 (Mon, 10 Sep 2012)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  xhci: allow bytewise capability register reads

Some guests need this according to
Alejandro Martinez Ruiz <address@hidden>

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c5cc28ff8feac21b502d64453c9491ff38f5d62d
      
https://github.com/qemu/qemu/commit/c5cc28ff8feac21b502d64453c9491ff38f5d62d
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/tcg.c
    M tcg/tcg.h

  Log Message:
  -----------
  tcg: improve profiler

Now that there are two passes of optimization (optimize.c, liveness)
there is no point of outputing the statistics of the liveness part
only. Update the code to take into account both optimizations.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 56e4943825e70a45d1fbba4fffa431000c6e1c7a
      
https://github.com/qemu/qemu/commit/56e4943825e70a45d1fbba4fffa431000c6e1c7a
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: split expression simplification

Split expression simplification in multiple parts so that a given op
can appear multiple times. This patch should not change anything.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 38ee188b1b63606191c013046add021bdc6f1bfd
      
https://github.com/qemu/qemu/commit/38ee188b1b63606191c013046add021bdc6f1bfd
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: simplify or/xor r, a, 0 cases

or/xor r, a, 0 is equivalent to a mov r, a.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 61251c0c790d0a63468c8e3eb2767c1f4bf3654a
      
https://github.com/qemu/qemu/commit/61251c0c790d0a63468c8e3eb2767c1f4bf3654a
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: simplify and r, a, 0 cases

and r, a, 0 is equivalent to a movi r, 0.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 01ee5282ea955dee4e189b34ef888be6f36d9861
      
https://github.com/qemu/qemu/commit/01ee5282ea955dee4e189b34ef888be6f36d9861
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: simplify shift/rot r, 0, a => movi r, 0 cases

shift/rot r, 0, a is equivalent to movi r, 0.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: 65a7cce17ddf6fa1a30d4315da1631d9b6c8fd31
      
https://github.com/qemu/qemu/commit/65a7cce17ddf6fa1a30d4315da1631d9b6c8fd31
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: swap brcond/setcond arguments when possible

brcond and setcond ops are not commutative, but it's easy to compute the
new condition after swapping the arguments. Try to always put the constant
argument in second position like for commutative ops, to help backends to
generate better code.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: f8dd19e5c7a5ff8cb5587c9aaea96ef754429713
      
https://github.com/qemu/qemu/commit/f8dd19e5c7a5ff8cb5587c9aaea96ef754429713
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: add constant folding for setcond

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: fbeaa26c4cf45a83afaab7aac286d5d96199e740
      
https://github.com/qemu/qemu/commit/fbeaa26c4cf45a83afaab7aac286d5d96199e740
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: add constant folding for brcond

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: fedc0da2510b61742dcc4755938093bef4c6078d
      
https://github.com/qemu/qemu/commit/fedc0da2510b61742dcc4755938093bef4c6078d
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M tcg/optimize.c

  Log Message:
  -----------
  tcg/optimize: fix if/else/break coding style

optimizer.c contains some cases were the break is appearing in both the
if and the else parts. Fix that by moving it to the outer part. Also
move some common code there.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: e0a1e32dbc41e6b2aabb436a9417dfd32177a3dc
      
https://github.com/qemu/qemu/commit/e0a1e32dbc41e6b2aabb436a9417dfd32177a3dc
  Author: Aurelien Jarno <address@hidden>
  Date:   2012-09-11 (Tue, 11 Sep 2012)

  Changed paths:
    M configure
    M hw/usb.h
    M hw/usb/core.c
    M hw/usb/desc.c
    M hw/usb/desc.h
    M hw/usb/dev-audio.c
    M hw/usb/dev-serial.c
    M hw/usb/dev-storage.c
    M hw/usb/hcd-ehci.c
    M hw/usb/hcd-uhci.c
    M hw/usb/hcd-xhci.c
    M hw/usb/redirect.c
    M trace-events

  Log Message:
  -----------
  Merge branch 'usb.64' of git://git.kraxel.org/qemu

* 'usb.64' of git://git.kraxel.org/qemu: (54 commits)
  xhci: allow bytewise capability register reads
  xhci: kill xhci_mem_{read,write} dispatcher functions
  xhci: support multiple interrupters
  xhci: pick target interrupter
  xhci: prepare xhci_runtime_{read,write} for multiple interrupters
  xhci: add XHCIInterrupter
  xhci: move register update into xhci_intr_raise
  xhci: add msix support
  xhci: rework interrupt handling
  xhci: fix & cleanup msi.
  usb-storage: usb3 support
  usb3: bos decriptor
  usb3: superspeed endpoint companion
  usb3: superspeed descriptors
  xhci: update port handling
  xhci: update register layout
  xhci: fix runtime write tracepoint
  xhci: add trace_usb_xhci_ep_set_dequeue
  xhci: trace cc codes in cleartext
  xhci: iso xfer support
  ...


Compare: https://github.com/qemu/qemu/compare/4b1c11fd20e8...e0a1e32dbc41

reply via email to

[Prev in Thread] Current Thread [Next in Thread]