crosvm/devices/src
Daniel Verkamp 9f22e23996 devices: usb: allow arbitrary control request size
Previously, the maximum control request length that could be passed
through the USB host_backend layer was limited to 1024 bytes.

To lift this limit, remove the fixed-length ControlTransferBuffer
structure definition and replace it with manual buffer allocation.  This
mirrors the behavior of the later part of this function, which already
indexes into the control_buffer to copy the data back from a device to
host transfer.

BUG=chromium:1073503
TEST=Verify adb logcat still works

Change-Id: I7354f6fa237b4df6db7898f27be76ab10faed9f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2161440
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2020-04-23 21:29:12 +00:00
..
pci ac97: Set CRAS_CLIENT_TYPE_CROSVM for crosvm 2020-04-10 06:19:45 +00:00
register_space
usb devices: usb: allow arbitrary control request size 2020-04-23 21:29:12 +00:00
utils
virtio devices: add SerialDevice trait 2020-04-23 07:17:58 +00:00
acpi.rs x86_64: generate ACPI tables 2020-02-28 00:11:19 +00:00
bus.rs acpipm: implement suspend and resume mechanism 2020-02-19 10:38:04 +00:00
cmos.rs
i8042.rs
ioapic.rs crosvm: Add plumbing for split-irqchip interrupts 2020-03-05 13:12:23 +00:00
lib.rs devices: add SerialDevice trait 2020-04-23 07:17:58 +00:00
pic.rs crosvm: Add plumbing for split-irqchip interrupts 2020-03-05 13:12:23 +00:00
pit.rs Fix warnings added in rust 1.42 2020-03-17 00:05:44 +00:00
pl030.rs
proxy.rs
serial.rs devices: add SerialDevice trait 2020-04-23 07:17:58 +00:00
serial_device.rs devices: add SerialDevice trait 2020-04-23 07:17:58 +00:00
split_irqchip_common.rs crosvm: Add plumbing for split-irqchip interrupts 2020-03-05 13:12:23 +00:00
vfio.rs Vfio: multi vfio group support 2020-03-06 01:50:11 +00:00