usb-ehci: Fix an assert whenever isoc transfers are used
hcd-ehci.c is missing an usb_packet_init() call for the ipacket UsbPacketit uses for isoc transfers, triggering an assert (taking the entire vm down)in usb_packet_setup as soon as any isoc transfers are done by a high speed...
ehci: Kick async schedule on wakeup in the non companion case
Commit 0f588df8b3688b00e77aabaa32e26ece5f19bd39, added codeto ehci_wakeup to kick the async schedule on wakeup, but the elsewas positioned wrong making it trigger for devices which are routed...
ehci: don't flush cache on doorbell rings.
Commit 4be23939ab0d7019c7e59a37485b416fbbf0f073 makes ehci instantlyzap any unlinked queue heads when the guest rings the doorbell.
While hacking up uas support this turned out to be a problem. The linuxkernel can unlink and instantly relink the very same queue head, thereby...
ehci: fix ehci_qh_do_overlay
Use ehci_flush_qh to make sure we touch inly the fields the hc isallowed to touch.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ehci: fix td writeback
Only write back the dwords the hc is supposed to update. Should notmake a difference in theory as the guest must not touch the td whileit is active to avoid races. But it is still more correct.
bitops.h: Add functions to extract and deposit bitfields
Add functions deposit32(), deposit64(), extract32() and extract64()to extract and deposit bitfields in 32 and 64 bit words. Based onideas by Jia Liu and Avi Kivity.
Suggested-by: Jia Liu <proljc@gmail.com>...
target-i386: make it clearer that op table accesses don't overrun
Rephrase some of the expressions used to select an entryin the SSE op table arrays so that it's clearer that theydon't overrun the op table array size.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
target-i386: Remove confusing X86_64_DEF macro
The X86_64_DEF macro is a confusing way of making some termsin a conditional only appear if TARGET_X86_64 is defined. Weonly use it in two places, and in both cases this is for makingthe same test, so abstract that check out into a function...
target-i386: Remove unused macros
Commit 11f8cdb removed all the uses of the X86_64_ONLYmacro. The BUGGY_64() macro has been unused for a long time:it originally marked some ops which couldn't be enabledbecause of issues with the pre-TCG code generation scheme....
.gitignore update
Makes sure the following files are ignored:
libcacard/.libs/ libcacard/libcacard.la libcacard/libcacard.pc libcacard/libcacard/ libcacard/osdep.lo libcacard/oslib-posix.lo libcacard/qemu-thread-posix.lo libcacard/qemu-timer-common.lo...
View all revisions | View revisions
Also available in: Atom