qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 2c0331: e1000: Discard oversized packets base


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 2c0331: e1000: Discard oversized packets based on SBP|LPE
Date: Tue, 08 Jan 2013 12:00:16 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 2c0331f4f7d241995452b99afaf0aab00493334a
      
https://github.com/qemu/qemu/commit/2c0331f4f7d241995452b99afaf0aab00493334a
  Author: Michael Contreras <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/e1000.c

  Log Message:
  -----------
  e1000: Discard oversized packets based on SBP|LPE

Discard packets longer than 16384 when !SBP to match the hardware behavior.

Signed-off-by: Michael Contreras <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: f30dbae63a46f23116715dff8d130c7d01ff02be
      
https://github.com/qemu/qemu/commit/f30dbae63a46f23116715dff8d130c7d01ff02be
  Author: Amos Kong <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  net: clean up network at qemu process termination

We don't clean up network if fails to parse "-device" parameters without
calling net_cleanup(). I touch a problem, the tap device which is
created by qemu-ifup script could not be removed by qemu-ifdown script.
Some similar problems also exist in vl.c

In this patch, if network initialization successes, a cleanup function
will be registered to be called at qemu process termination.

Signed-off-by: Amos Kong <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 84dd2120247a7d25ff1bb337de21c0e76816ad2d
      
https://github.com/qemu/qemu/commit/84dd2120247a7d25ff1bb337de21c0e76816ad2d
  Author: Amos Kong <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/e1000.c

  Log Message:
  -----------
  e1000: no need auto-negotiation if link was down

Commit b9d03e352cb6b31a66545763f6a1e20c9abf0c2c added link
auto-negotiation emulation, it would always set link up by
callback function. Problem exists if original link status
was down, link status should not be changed in auto-negotiation.

Signed-off-by: Jason Wang <address@hidden>
Signed-off-by: Amos Kong <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 83f58e570f21c3e7227e7fbef1fc0e18b5ed7ea9
      
https://github.com/qemu/qemu/commit/83f58e570f21c3e7227e7fbef1fc0e18b5ed7ea9
  Author: Amos Kong <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/rtl8139.c

  Log Message:
  -----------
  rtl8139: preserve link state across device reset

A device reset does not affect the link state, only set_link does.

Signed-off-by: Amos Kong <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: f881c8d36b5c524348bc337b46baf34636079cf6
      
https://github.com/qemu/qemu/commit/f881c8d36b5c524348bc337b46baf34636079cf6
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Add a ehci_writeback_async_complete_packet helper function

Also drop the warning printf, which was there mainly because this was an
untested code path (as the previous bug fixes to it show), but that no
longer is the case now :)

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


  Commit: c643263409b42a31fd9b1458cd5158280b9c62e1
      
https://github.com/qemu/qemu/commit/c643263409b42a31fd9b1458cd5158280b9c62e1
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Add ehci_verify_qh and ehci_verify_qtd helper functions

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


  Commit: d066c57b1c97a1967c949aba643bba35329b32ee
      
https://github.com/qemu/qemu/commit/d066c57b1c97a1967c949aba643bba35329b32ee
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Verify guest does not change the token of inflight qtd-s

This is not allowed, except for clearing active on cancellation, so don't
warn when the new token does not have its active bit set.

This unifies the cancellation path for modified qtd-s, and prepares
ehci_verify_qtd to be used ad an extra check inside
ehci_writeback_async_complete_packet().

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


  Commit: 190d849249fd7fecbc75ec38f348197c152f4e87
      
https://github.com/qemu/qemu/commit/190d849249fd7fecbc75ec38f348197c152f4e87
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Move get / put_dwords upwards

No other changes.

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


  Commit: 2b3de6ada5d180130ba083d5b45ed51ce8e4def2
      
https://github.com/qemu/qemu/commit/2b3de6ada5d180130ba083d5b45ed51ce8e4def2
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: writeback_async_complete_packet: verify qh and qtd

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


  Commit: e3fdfd488c47c2d6920e0964364f1238fb5bf0e2
      
https://github.com/qemu/qemu/commit/e3fdfd488c47c2d6920e0964364f1238fb5bf0e2
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Verify qtd for async completed packets

Remove the short-circuiting of fetchqtd in fetchqh, so that the
qtd gets properly verified before completing the transaction.

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


  Commit: 51e0c5d02951ee5bd653132e46123f6e963ff23f
      
https://github.com/qemu/qemu/commit/51e0c5d02951ee5bd653132e46123f6e963ff23f
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Add an ehci_get_pid helper function

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


  Commit: bbbc39ccacf66ef58261c155f9eed503947c3023
      
https://github.com/qemu/qemu/commit/bbbc39ccacf66ef58261c155f9eed503947c3023
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Verify a queue's ep direction does not change

ehci_fill_queue assumes that there is a one on one relationship between an ep
and a qh, this patch adds a check to ensure this.

Note I don't expect this to ever trigger, this is just something I noticed
the guest might do while working on other stuff. The only way this check can
trigger is if a guest mixes in and out qtd-s in a single qh for a non
control ep.

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


  Commit: 9359a58b122187964d7465d48165680eadbf69d3
      
https://github.com/qemu/qemu/commit/9359a58b122187964d7465d48165680eadbf69d3
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Use uframe precision for interrupt threshold checking (v2)

Before this patch, the following could happen:
1) Transfer completes, raises interrupt
2) .5 ms later we check if the guest has queued up any new transfers
3) We find and execute a new transfer
4) .2 ms later the new transfer completes
5) We re-run our frame_timer to write back the completion, but less then
   1 ms has passed since our last run, so frindex is not changed, so the
   interrupt threshold code delays the interrupt
6) 1 ms from the re-run our frame-timer runs again and finally delivers
   the interrupt

This leads to unnecessary large delays of interrupts, this code fixes this
by changing frindex to uframe precision and using that for interrupt threshold
control, making the interrupt fire at step 5 for guest which have low interrupt
threshold settings (like Linux).

Note that the guest still sees the frindex move in steps of 8 for migration
compatibility.

This boosts Linux read speed of a simple cheap USB thumb drive by 6 %.

Changes in v2:
-Make the guest see frindex move in steps of 8 by modifying ehci_opreg_read,
 rather then using a shadow variable

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


  Commit: 52c15e5986cd0f6531a2989a81a964f77b4ed9c2
      
https://github.com/qemu/qemu/commit/52c15e5986cd0f6531a2989a81a964f77b4ed9c2
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Further speedup rescanning if async schedule after raising an interrupt

I tried lowering the time between raising an interrupt and rescanning the
async schedule to see if the guest has queued a new transfer before, but
that did not have any positive effect. I now believe the cause for this is
that lowering this time made it more likely to hit the 1 ms interrupt
threshold penalty for the next packet, as described in my
"ehci: Use uframe precision for interrupt threshold checking" commit.

Now that we do interrupt threshold handling with uframe precision, futher
lowering this time from .5 to .25 ms gives an extra 15% improvement in speed
(MB/s) reading from a simple USB-2.0 thumb-drive.

While at it also properly set the int_req_by_async flag for short packet
completions.

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


  Commit: 4a9ef2c042207e4eddbd010ccf2e1c8264d8f0d6
      
https://github.com/qemu/qemu/commit/4a9ef2c042207e4eddbd010ccf2e1c8264d8f0d6
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  ehci: Don't call commit_irq after raising PCD

ehci_raise_irq(s, USBSTS_PCD), gets applied immediately so there is no need
to call commit_irq after it.

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


  Commit: 719c130dcaa3b1269beed71ca9cf6c43a0219b30
      
https://github.com/qemu/qemu/commit/719c130dcaa3b1269beed71ca9cf6c43a0219b30
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  uhci: Fix 1 ms delay in interrupt reporting to the guest

Re-arrange how we process frames / increase frnum / report pending interrupts,
to avoid a 1 ms delay in interrupt reporting to the guest. This increases
the packet throughput for cases where the guest submits a single packet,
then waits for its completion then re-submits from 500 pkts / sec to
1000 pkts / sec. This impacts for example the use of redirected / virtual
usb to serial convertors.

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


  Commit: ecfdc15f4351a17989d446f4f1e6d1931d9c1677
      
https://github.com/qemu/qemu/commit/ecfdc15f4351a17989d446f4f1e6d1931d9c1677
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  uhci: Fix pending interrupts getting lost on migration

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


  Commit: 475443cf14d7ef01b9ea56eed8657804f7bdf664
      
https://github.com/qemu/qemu/commit/475443cf14d7ef01b9ea56eed8657804f7bdf664
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  uhci: Add a QH_VALID define

Rather then using the magic 32 value in various places.

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


  Commit: f8f48b6957bf182339495e6be429f7bdc7ef1981
      
https://github.com/qemu/qemu/commit/f8f48b6957bf182339495e6be429f7bdc7ef1981
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  uhci: Limit amount of frames processed in one go

Before this patch uhci would process an unlimited amount of frames when
behind on schedule, by setting the timer to a time already past, causing the
timer subsys to immediately recall the frame_timer function gain.

This would cause invalid cancellations of bulk queues when the catching up
processed more then 32 frames at a moment when the bulk qh was temporarily
unlinked (which the Linux uhci driver does).

This patch fixes this by processing maximum 16 frames in one go, and always
setting the timer one ms later, making the code behave more like the ehci
code.

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


  Commit: 9fdf70272702095f57efc51a80c79493fd0829b8
      
https://github.com/qemu/qemu/commit/9fdf70272702095f57efc51a80c79493fd0829b8
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  uhci: Maximize how many frames we catch up when behind

If somehow we've gotten behind a lot, simply skip ahead, like the ehci code
does.

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


  Commit: 027c03f7327faa696e1d876954a18b5214c18583
      
https://github.com/qemu/qemu/commit/027c03f7327faa696e1d876954a18b5214c18583
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/hid.c
    M hw/hid.h
    M hw/usb/dev-hid.c

  Log Message:
  -----------
  hid: Change idle handling to use a timer

This leads to cleaner code in usb-hid, and removes up to a 1000 calls / sec to
qemu_get_clock_ns(vm_clock) if idle-time is set to its default value of 0.

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


  Commit: 6735d433729f80fab80c0a1f70ae131398645613
      
https://github.com/qemu/qemu/commit/6735d433729f80fab80c0a1f70ae131398645613
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb/core.c

  Log Message:
  -----------
  usb: Fix usb_ep_find_packet_by_id

usb_ep_find_packet_by_id mistakenly only checks the first packet and if that
is not a match, keeps trying the first packet! This patch fixes this.

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


  Commit: f79738b03ba55a5c9733c6dc2455964a6f8fdac9
      
https://github.com/qemu/qemu/commit/f79738b03ba55a5c9733c6dc2455964a6f8fdac9
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb.h
    M hw/usb/bus.c
    M hw/usb/hcd-ehci.c
    M hw/usb/hcd-ohci.c
    M hw/usb/hcd-uhci.c
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  usb: Add an usb_device_ep_stopped USBDevice method

Some usb devices (host or network redirection) can benefit from knowing when
the guest stops using an endpoint. Redirection may involve submitting packets
independently from the guest (in combination with a fifo buffer between the
redirection code and the guest), to ensure that buffers of the real usb device
are timely emptied. This is done for example for isoc traffic and for interrupt
input endpoints. But when the (re)submission of packets is done by the device
code, then how does it know when to stop this?

For isoc endpoints this is handled by detecting a set interface (change alt
setting) command, which works well for isoc endpoints. But for interrupt
endpoints currently the redirection code never stops receiving data from
the device, which is less then ideal.

However the controller emulation is aware when a guest looses interest, as
then the qh for the endpoint gets unlinked (ehci, ohci, uhci) or the endpoint
is explicitly stopped (xhci). This patch adds a new ep_stopped USBDevice
method and modifies the hcd code to call this on queue unlink / ep stop.

This makes it possible for the redirection code to properly stop receiving
interrupt input (*) data when the guest no longer has interest in it.

*) And in the future also buffered bulk input.

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


  Commit: f8c126f329892ec8941e5bbe6ba411d78cfc66cb
      
https://github.com/qemu/qemu/commit/f8c126f329892ec8941e5bbe6ba411d78cfc66cb
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usbredir: Add an usbredir_stop_ep helper function

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


  Commit: 7e9638d3eb5c0b4c5920dac72bb2e6885652c029
      
https://github.com/qemu/qemu/commit/7e9638d3eb5c0b4c5920dac72bb2e6885652c029
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usbredir: Add USBEP2I and I2USBEP helper macros

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


  Commit: d8553dd0475a967042193cdcf4d02c8ce5e73730
      
https://github.com/qemu/qemu/commit/d8553dd0475a967042193cdcf4d02c8ce5e73730
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usbredir: Add ep_stopped USBDevice method

To ensure that interrupt receiving is properly stopped when the guest is
no longer interested in an interrupt endpoint.

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


  Commit: d3aea641a4002e0abe940c65d318ef38eda245df
      
https://github.com/qemu/qemu/commit/d3aea641a4002e0abe940c65d318ef38eda245df
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usbredir: Verify we have 32 bits bulk length cap when redirecting to xhci

The xhci-hcd may submit bulk transfers > 65535 bytes even when not using
bulk-in pipeling, so usbredir can only be used in combination with an xhci
hcd if the client has the 32 bits bulk length capability.

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


  Commit: bd019b735ac422bf9a40e1865e3d59f2e128604f
      
https://github.com/qemu/qemu/commit/bd019b735ac422bf9a40e1865e3d59f2e128604f
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usbredir: Add usbredir_init_endpoints() helper

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


  Commit: e97f0aca796fb949f9d34c50603511048a52b39b
      
https://github.com/qemu/qemu/commit/e97f0aca796fb949f9d34c50603511048a52b39b
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/usb/redirect.c

  Log Message:
  -----------
  usb-redir: Add debugging to bufpq save / restore

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


  Commit: a820b575787ac0b6b274b6a89aa6ef9813b4c782
      
https://github.com/qemu/qemu/commit/a820b575787ac0b6b274b6a89aa6ef9813b4c782
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  xhci: call set-address with dummy usbpacket

Due to the way devices are addressed with xhci (done by hardware, not
the guest os) there is no packet when invoking the set-address control
request.  Create a dummy packet in that case to avoid null pointer
dereferences.

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


  Commit: 5aa3ca9f53cc7a1bf76b7583c46937a73914394a
      
https://github.com/qemu/qemu/commit/5aa3ca9f53cc7a1bf76b7583c46937a73914394a
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  usb/ehci: Clean up SysBus and PCI EHCI split

SysBus EHCI was introduced in a hurry before 1.3 Soft Freeze.
To use QOM casts in place of DO_UPCAST() / FROM_SYSBUS(), we need an
identifying type. Introduce generic abstract base types for PCI and
SysBus EHCI to allow multiple types to access the shared fields.

While at it, move the state structs being amended with macros to the
header file so that they can be embedded.

The VMSTATE_PCI_DEVICE() macro does not play nice with the QOM
parent_obj naming convention, so defer that cleanup.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4a4343671e183824a3f5db76ad561ce01e6c6e0a
      
https://github.com/qemu/qemu/commit/4a4343671e183824a3f5db76ad561ce01e6c6e0a
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  usb/ehci: Move capsbase and opregbase into SysBus EHCI class

This allows specific derived models to use different values.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: aee7499a59d6778c10b018da41db4a22655ef8a8
      
https://github.com/qemu/qemu/commit/aee7499a59d6778c10b018da41db4a22655ef8a8
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

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

  Log Message:
  -----------
  usb/ehci: Add SysBus EHCI device for Exynos4210

It uses a different capsbase and opregbase than the Xilinx device.

Signed-off-by: Liming Wang <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Cc: Igor Mitsyanko <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 358d615b6908b4916c74819ffad823cb4a74314e
      
https://github.com/qemu/qemu/commit/358d615b6908b4916c74819ffad823cb4a74314e
  Author: Liming Wang <address@hidden>
  Date:   2013-01-07 (Mon, 07 Jan 2013)

  Changed paths:
    M hw/exynos4210.c
    M hw/exynos4210_gic.c

  Log Message:
  -----------
  exynos4210: Add EHCI support

Add EHCI USB host controller to exynos4210.

Signed-off-by: Liming Wang <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Reviewed-by: Igor Mitsyanko <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b2d1fe67d09d2b6c7da647fbcea6ca0148c206d3
      
https://github.com/qemu/qemu/commit/b2d1fe67d09d2b6c7da647fbcea6ca0148c206d3
  Author: Hans de Goede <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M configure
    M hw/usb.h
    M hw/usb/Makefile.objs
    A hw/usb/quirks-ftdi-ids.h
    A hw/usb/quirks-pl2303-ids.h
    A hw/usb/quirks.c
    A hw/usb/quirks.h
    M hw/usb/redirect.c

  Log Message:
  -----------
  usbredir: Add support for buffered bulk input (v2)

Buffered bulk mode is intended for bulk *input* endpoints, where the data is
of a streaming nature (not part of a command-response protocol). These
endpoints' input buffer may overflow if data is not read quickly enough.
So in buffered bulk mode the usb-host takes care of the submitting and
re-submitting of bulk transfers.

Buffered bulk mode is necessary for reliable operation with the bulk in
endpoints of usb to serial convertors. Unfortunatelty buffered bulk input
mode will only work with certain devices, therefor this patch also adds a
usb-id table to enable it for devices which need it, while leaving the
bulk ep handling for other devices unmodified.

Note that the bumping of the required usbredir from 0.5.3 to 0.6 does
not mean that we will now need a newer usbredir release then qemu-1.3,
.pc files reporting 0.5.3 have only ever existed in usbredir builds directly
from git, so qemu-1.3 needs the 0.6 release too.

Changes in v2:
-Split of quirk handling into quirks.c

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


  Commit: 89eb147c2cfd2c797d3662aa2f55254441f0595a
      
https://github.com/qemu/qemu/commit/89eb147c2cfd2c797d3662aa2f55254441f0595a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

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

  Log Message:
  -----------
  uhci: stop using portio lists

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


  Commit: c3dd94b129e222e00a4ed00689e11afdd85c740f
      
https://github.com/qemu/qemu/commit/c3dd94b129e222e00a4ed00689e11afdd85c740f
  Author: Anthony Liguori <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M hw/e1000.c
    M hw/rtl8139.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'stefanha/net' into staging

* stefanha/net:
  rtl8139: preserve link state across device reset
  e1000: no need auto-negotiation if link was down
  net: clean up network at qemu process termination
  e1000: Discard oversized packets based on SBP|LPE

Signed-off-by: Anthony Liguori <address@hidden>


  Commit: 560c30b1db1d40fe45c5104185367c4de43399d3
      
https://github.com/qemu/qemu/commit/560c30b1db1d40fe45c5104185367c4de43399d3
  Author: Anthony Liguori <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M configure
    M hw/exynos4210.c
    M hw/exynos4210_gic.c
    M hw/hid.c
    M hw/hid.h
    M hw/usb.h
    M hw/usb/Makefile.objs
    M hw/usb/bus.c
    M hw/usb/core.c
    M hw/usb/dev-hid.c
    M hw/usb/hcd-ehci-pci.c
    M hw/usb/hcd-ehci-sysbus.c
    M hw/usb/hcd-ehci.c
    M hw/usb/hcd-ehci.h
    M hw/usb/hcd-ohci.c
    M hw/usb/hcd-uhci.c
    M hw/usb/hcd-xhci.c
    A hw/usb/quirks-ftdi-ids.h
    A hw/usb/quirks-pl2303-ids.h
    A hw/usb/quirks.c
    A hw/usb/quirks.h
    M hw/usb/redirect.c
    M trace-events

  Log Message:
  -----------
  Merge remote-tracking branch 'kraxel/usb.75' into staging

* kraxel/usb.75: (32 commits)
  uhci: stop using portio lists
  usbredir: Add support for buffered bulk input (v2)
  exynos4210: Add EHCI support
  usb/ehci: Add SysBus EHCI device for Exynos4210
  usb/ehci: Move capsbase and opregbase into SysBus EHCI class
  usb/ehci: Clean up SysBus and PCI EHCI split
  xhci: call set-address with dummy usbpacket
  usb-redir: Add debugging to bufpq save / restore
  usbredir: Add usbredir_init_endpoints() helper
  usbredir: Verify we have 32 bits bulk length cap when redirecting to xhci
  usbredir: Add ep_stopped USBDevice method
  usbredir: Add USBEP2I and I2USBEP helper macros
  usbredir: Add an usbredir_stop_ep helper function
  usb: Add an usb_device_ep_stopped USBDevice method
  usb: Fix usb_ep_find_packet_by_id
  hid: Change idle handling to use a timer
  uhci: Maximize how many frames we catch up when behind
  uhci: Limit amount of frames processed in one go
  uhci: Add a QH_VALID define
  uhci: Fix pending interrupts getting lost on migration
  ...

Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/da1a4cef9e12...560c30b1db1d

reply via email to

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