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
Daniel P. Berrangé 14997d521d hw/usb/hcd-ohci: skip automatic zero-init of large array
The 'ohci_service_iso_td' method has a 8k byte array used for copying
data between guest and host. Skip the automatic zero-init of this
array to eliminate the performance overhead in the I/O hot path.

The 'buf' array will be fully initialized when reading data from guest
memory.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-id: 20250610123709.835102-27-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
3 weeks ago
..
Kconfig Kconfig: Extract CONFIG_USB_CHIPIDEA from CONFIG_IMX 4 months ago
bus-stub.c include: Rename sysemu/ -> system/ 6 months ago
bus.c qom: Make InterfaceInfo[] uses const 2 months ago
canokey.c qom: Have class_init() take a const data argument 2 months ago
canokey.h hw/usb/canokey: Fix buffer overflow for OUT packet 5 months ago
ccid-card-emulated.c qom: Have class_init() take a const data argument 2 months ago
ccid-card-passthru.c qom: Have class_init() take a const data argument 2 months ago
ccid.h Use OBJECT_DECLARE_TYPE when possible 5 years ago
chipidea.c qom: Have class_init() take a const data argument 2 months ago
combined-packet.c usb: limit combined packets to 1 MiB (CVE-2021-3527) 4 years ago
core.c usb: add pcap support. 5 years ago
desc-msos.c hw/usb: Fix typo in comments and print 4 years ago
desc.c hw/usb: Silence compiler warnings in USB code when compiling with -Wshadow 2 years ago
desc.h usb: allow max 8192 bytes for desc 4 years ago
dev-audio.c qom: Have class_init() take a const data argument 2 months ago
dev-hid.c qom: Have class_init() take a const data argument 2 months ago
dev-hub.c qom: Have class_init() take a const data argument 2 months ago
dev-mtp.c qom: Have class_init() take a const data argument 2 months ago
dev-network.c qom: Have class_init() take a const data argument 2 months ago
dev-serial.c qom: Have class_init() take a const data argument 2 months ago
dev-smartcard-reader.c qom: Make InterfaceInfo[] uses const 2 months ago
dev-storage-bot.c qom: Have class_init() take a const data argument 2 months ago
dev-storage-classic.c qom: Have class_init() take a const data argument 2 months ago
dev-storage.c qom: Have class_init() take a const data argument 2 months ago
dev-uas.c qom: Have class_init() take a const data argument 2 months ago
dev-wacom.c qom: Have class_init() take a const data argument 2 months ago
hcd-dwc2.c qom: Have class_init() take a const data argument 2 months ago
hcd-dwc2.h include: Rename sysemu/ -> system/ 6 months ago
hcd-dwc3.c qom: Have class_init() take a const data argument 2 months ago
hcd-ehci-pci.c qom: Make InterfaceInfo[] uses const 2 months ago
hcd-ehci-sysbus.c qom: Have class_init() take a const data argument 2 months ago
hcd-ehci.c hw/usb/hcd-ehci: Fix debug printf format string 5 months ago
hcd-ehci.h include: Rename sysemu/ -> system/ 6 months ago
hcd-ohci-pci.c qom: Make InterfaceInfo[] uses const 2 months ago
hcd-ohci-sysbus.c qom: Have class_init() take a const data argument 2 months ago
hcd-ohci.c hw/usb/hcd-ohci: skip automatic zero-init of large array 3 weeks ago
hcd-ohci.h include: Rename sysemu/ -> system/ 6 months ago
hcd-uhci.c qom: Make InterfaceInfo[] uses const 2 months ago
hcd-uhci.h qom: Have class_init() take a const data argument 2 months ago
hcd-xhci-nec.c qom: Have class_init() take a const data argument 2 months ago
hcd-xhci-pci.c qom: Make InterfaceInfo[] uses const 2 months ago
hcd-xhci-pci.h hw/usb/hcd-xhci-pci: Adds property for disabling mapping in IRQ mode 4 months ago
hcd-xhci-sysbus.c qom: Have class_init() take a const data argument 2 months ago
hcd-xhci-sysbus.h usb/xhci: add include/hw/usb/xhci.h header file 5 years ago
hcd-xhci.c hw/usb/hcd-xhci: Unmap canceled packet 2 months ago
hcd-xhci.h hw/usb/hcd-xhci-pci: Adds property for disabling mapping in IRQ mode 4 months ago
host-libusb.c qom: Have class_init() take a const data argument 2 months ago
imx-usb-phy.c qom: Have class_init() take a const data argument 2 months ago
libhw.c include: Rename sysemu/ -> system/ 6 months ago
meson.build Kconfig: Extract CONFIG_USB_CHIPIDEA from CONFIG_IMX 4 months ago
pcap.c usb/pcap: set flag_setup 4 years ago
quirks-ftdi-ids.h hw/usb: Fix typo in comments and print 4 years ago
quirks-pl2303-ids.h hw/usb: fix tab indentation 3 years ago
quirks.c hw/usb/quirks: Use smaller types to reduce .rodata by 10KiB 5 years ago
quirks.h hw/usb: spelling fixes 2 years ago
redirect.c qom: Have class_init() take a const data argument 2 months ago
trace-events hw/usb/hcd-ohci: Fix ohci_service_td: accept zero-length TDs where CBP=BE+1 1 year ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
u2f-emulated.c qom: Have class_init() take a const data argument 2 months ago
u2f-passthru.c qom: Have class_init() take a const data argument 2 months ago
u2f.c qom: Have class_init() take a const data argument 2 months ago
u2f.h hw/usb/u2f: Declare QOM macros using OBJECT_DECLARE_TYPE() 2 years ago
vt82c686-uhci-pci.c hw/usb/vt82c686-uhci-pci: Use ISA instead of PCI interrupts 2 years ago
xen-usb.c hw/xen: Prefer QOM cast for XenLegacyDevice 5 months ago
xlnx-usb-subsystem.c qom: Have class_init() take a const data argument 2 months ago
xlnx-versal-usb2-ctrl-regs.c qom: Have class_init() take a const data argument 2 months ago