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
emi26.c
emi62_fw_m.h
emi62_fw_s.h
emi62.c
idmouse.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
Kconfig
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
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
rio500.c
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