You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/usb
Peter Maydell 1dfb7a175f hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset()
Currently the hcd-xhci-pci and hcd-xhci-sysbus devices, which are
mostly wrappers around the TYPE_XHCI device, which is a direct
subclass of TYPE_DEVICE.  Since TYPE_DEVICE devices are not on any
qbus and do not get automatically reset, the wrapper devices both
reset the TYPE_XHCI device in their own reset functions.  However,
they do this using device_legacy_reset(), which will reset the device
itself but not any bus it has.

Switch to device_cold_reset(), which avoids using a deprecated
function and also propagates reset along any child buses.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20221014145423.2102706-1-peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2 years ago
..
Kconfig meson: Add CanoKey 2 years ago
bus.c qapi: introduce x-query-usb QMP command 3 years ago
canokey.c hw: canokey: Remove HS support as not compliant to the spec 2 years ago
canokey.h hw/usb: Add CanoKey Implementation 2 years ago
ccid-card-emulated.c Drop useless casts from g_malloc() & friends to pointer 2 years ago
ccid-card-passthru.c modules: introduces module_kconfig directive 2 years ago
ccid.h Use OBJECT_DECLARE_TYPE when possible 4 years ago
chipidea.c hw: Do not include qemu/log.h if it is not necessary 4 years ago
combined-packet.c usb: limit combined packets to 1 MiB (CVE-2021-3527) 4 years ago
core.c usb: add pcap support. 4 years ago
desc-msos.c hw/usb: Fix typo in comments and print 3 years ago
desc.c usb: allow max 8192 bytes for desc 3 years ago
desc.h usb: allow max 8192 bytes for desc 3 years ago
dev-audio.c hw/usb: Fix typo in comments and print 3 years ago
dev-hid.c hid: Implement support for side and extra buttons 3 years ago
dev-hub.c hw/usb: fix tab indentation 2 years ago
dev-mtp.c hw/usb: dev-mtp: Use g_mkdir() 2 years ago
dev-network.c hw/usb: fix tab indentation 2 years ago
dev-serial.c usb: remove support for -usbdevice parameters 4 years ago
dev-smartcard-reader.c include: move C/util-related declarations to cutils.h 3 years ago
dev-storage-bot.c scsi: Replace scsi_bus_new() with scsi_bus_init(), scsi_bus_init_named() 3 years ago
dev-storage-classic.c scsi: Replace scsi_bus_new() with scsi_bus_init(), scsi_bus_init_named() 3 years ago
dev-storage.c usb/msd: add usb_msd_fatal_error() and fix guest-triggerable assert 2 years ago
dev-uas.c scsi: Add buf_len parameter to scsi_req_new() 2 years ago
dev-wacom.c hw/usb: fix tab indentation 2 years ago
hcd-dwc2.c dma: Let dma_memory_read/write() take MemTxAttrs argument 3 years ago
hcd-dwc2.h Clean up header guards that don't match their file name 3 years ago
hcd-dwc3.c hw: Do not include qemu/log.h if it is not necessary 4 years ago
hcd-ehci-pci.c qdev: Unrealize must not fail 5 years ago
hcd-ehci-sysbus.c hw/usb/hcd-ehci-sysbus: Free USBPacket on instance finalize() 4 years ago
hcd-ehci.c hw/usb/hcd-ehci: fix writeback order 2 years ago
hcd-ehci.h hw/arm/npcm7xx: Add EHCI and OHCI controllers 4 years ago
hcd-musb.c hw/usb: fix tab indentation 2 years ago
hcd-ohci-pci.c Remove superfluous timer_del() calls 4 years ago
hcd-ohci.c usb: make usbnet work with xhci. 2 years ago
hcd-ohci.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 4 years ago
hcd-uhci.c usb/uhci: Replace pci_set_irq with qemu_set_irq 3 years ago
hcd-uhci.h usb/uhci: Replace pci_set_irq with qemu_set_irq 3 years ago
hcd-xhci-nec.c usb: Fix Lesser GPL version number 4 years ago
hcd-xhci-pci.c hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset() 2 years ago
hcd-xhci-pci.h usb: Fix Lesser GPL version number 4 years ago
hcd-xhci-sysbus.c hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset() 2 years ago
hcd-xhci-sysbus.h usb/xhci: add include/hw/usb/xhci.h header file 4 years ago
hcd-xhci.c hw/usb/hcd-xhci.c: spelling: tranfer 2 years ago
hcd-xhci.h hw/usb: hcd-xhci-pci: Fix spec violation of IP flag for MSI/MSI-X 4 years ago
host-libusb.c host-libusb: Remove unused variable 2 years ago
host.h
imx-usb-phy.c hw: Do not include qemu/log.h if it is not necessary 4 years ago
libhw.c dma: Let dma_memory_map() take MemTxAttrs argument 3 years ago
meson.build meson: Add CanoKey 2 years ago
pcap.c usb/pcap: set flag_setup 4 years ago
quirks-ftdi-ids.h hw/usb: Fix typo in comments and print 3 years ago
quirks-pl2303-ids.h hw/usb: fix tab indentation 2 years ago
quirks.c hw/usb/quirks: Use smaller types to reduce .rodata by 10KiB 5 years ago
quirks.h Drop the deprecated lm32 target 4 years ago
redirect.c Revert "usbredir: avoid queuing hello packet on snapshot restore" 2 years ago
trace-events usb/msd: add usb_msd_fatal_error() and fix guest-triggerable assert 2 years ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
tusb6010.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 4 years ago
u2f-emulated.c hw/usb: Fix typo in comments and print 3 years ago
u2f-passthru.c u2f-passthru: put it into the 'misc' category 4 years ago
u2f.c usb: remove '-usbdevice u2f-key' 4 years ago
u2f.h misc: fix commonly doubled up words 2 years ago
vt82c686-uhci-pci.c hw/isa/vt82c686: Introduce TYPE_VT82C686B_USB_UHCI define 2 years ago
xen-usb.c hw: Do not include hw/sysbus.h if it is not necessary 4 years ago
xlnx-usb-subsystem.c hw: Do not include qemu/log.h if it is not necessary 4 years ago
xlnx-versal-usb2-ctrl-regs.c hw: Do not include qemu/log.h if it is not necessary 4 years ago