android_kernel_xiaomi_sm8350/drivers/usb/misc
David Brownell 8b52490193 [PATCH] USB: usbtest: scatterlist OUT data pattern testing
Previously, scatterlist tests didn't write patterned data.  Given how many
corner cases are addresed by them, this was a significant gap in Linux-USB
test coverage.  Moreover, when peripherals checked for correct data patterns,
false error reports would drown out the true ones.

This adds the pattern on the way OUT from the host, so scatterlist tests can
now be used to uncover bugs like host TX or peripheral RX paths failing for
back-to-back short packets.  It's easy enough to get an error there with at
least one of the {DMA,PIO}{RX,TX} code paths, or run into hardware races
that need to be defended against.

Note this patch doesn't add checking for correct data patterns on the way
IN from peripherals, just a FIXME for later.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-04-14 11:12:25 -07:00
..
sisusbvga [PATCH] USB: remove LINUX_VERSION_CODE macro usage 2006-03-20 14:49:54 -08:00
auerswald.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
cytherm.c [PATCH] USB: kzalloc in cytherm 2006-03-20 14:49:53 -08:00
emi26_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emi26.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
emi62_fw_m.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emi62_fw_s.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emi62.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
idmouse.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
Kconfig [PATCH] USB: change ldusb's experimental state 2006-02-13 21:33:39 -08:00
ldusb.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
legousbtower.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
Makefile [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
phidgetkit.c [PATCH] USB: kzalloc in PhidgetInterfaceKit 2006-03-20 14:49:53 -08:00
phidgetservo.c [PATCH] USB: kzalloc in PhidgetServo 2006-03-20 14:49:53 -08:00
rio500_usb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rio500.c [PATCH] USB: Remove unneeded kmalloc() return value casts 2006-01-04 13:51:43 -08:00
usblcd.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
usbled.c [PATCH] USB: kzalloc in usbled 2006-03-20 14:49:54 -08:00
usbtest.c [PATCH] USB: usbtest: scatterlist OUT data pattern testing 2006-04-14 11:12:25 -07:00
uss720.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00