linux-imx/drivers/usb/storage
Alan Stern ab8f1df1e6 USB: ene_usb6250: fix DMA to the stack
commit 628c2893d4 upstream.

The ene_usb6250 sub-driver in usb-storage does USB I/O to buffers on
the stack, which doesn't work with vmapped stacks.  This patch fixes
the problem by allocating a separate 512-byte buffer at probe time and
using it for all of the offending I/O operations.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Andreas Hartmann <andihartmann@01019freenet.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-09-15 18:30:42 +01:00
..
alauda.c
cypress_atacb.c usb-storage: CY7C68300A chips do not support Cypress ATACB 2013-05-13 15:02:23 +01:00
datafab.c
debug.c
debug.h
ene_ub6250.c USB: ene_usb6250: fix DMA to the stack 2017-09-15 18:30:42 +01:00
freecom.c
initializers.c USB: storage: fix Huawei mode switching regression 2013-03-20 15:03:30 +00:00
initializers.h USB: storage: fix Huawei mode switching regression 2013-03-20 15:03:30 +00:00
isd200.c
jumpshot.c
karma.c
Kconfig usb-storage: enable multi-LUN scanning when needed 2014-04-02 00:58:48 +01:00
libusual.c
Makefile
onetouch.c
option_ms.c usb: Add module.h to drivers/usb consumers who really use it. 2011-10-31 19:31:25 -04:00
option_ms.h
protocol.c usb-storage: Accept 8020i-protocol commands longer than 12 bytes 2011-11-14 17:05:03 -08:00
protocol.h
realtek_cr.c USB: ums_realtek: do not use stack memory for DMA in __do_config_autodelink 2012-04-02 09:52:32 -07:00
scsiglue.c usb-storage/SCSI: Add broken_fua blacklist flag 2014-08-06 18:07:33 +01:00
scsiglue.h
sddr09.c
sddr55.c
shuttle_usbat.c usb: storage: shuttle_usbat: fix discs being detected twice 2014-06-09 13:29:06 +01:00
sierra_ms.c usb: Add module.h to drivers/usb consumers who really use it. 2011-10-31 19:31:25 -04:00
sierra_ms.h
transport.c Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y 2017-02-23 03:51:00 +00:00
transport.h
uas.c usb: Add module.h to drivers/usb consumers who really use it. 2011-10-31 19:31:25 -04:00
unusual_alauda.h
unusual_cypress.h usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB 2014-04-02 00:58:48 +01:00
unusual_datafab.h
unusual_devs.h usb-storage: ignore ZTE MF 823 card reader in mode 0x1225 2015-08-12 16:33:23 +02:00
unusual_ene_ub6250.h
unusual_freecom.h
unusual_isd200.h
unusual_jumpshot.h
unusual_karma.h
unusual_onetouch.h
unusual_realtek.h
unusual_sddr09.h
unusual_sddr55.h
unusual_usbat.h
usb.c USB: uas: Add a new NO_REPORT_LUNS quirk 2016-06-15 21:28:11 +01:00
usb.h usb-storage: fix freezing of the scanning thread 2012-02-29 16:31:08 -08:00
usual-tables.c USB: storage: Define a new macro for USB storage match rules 2013-02-20 03:15:25 +00:00