linux/drivers/usb
sunghwan jung ad5dbfc123 Revert "usb: storage: Add quirk for Samsung Fit flash"
This reverts commit 86d92f5465,
which fix the timeout issue for "Samsung Fit Flash".

But the commit affects not only "Samsung Fit Flash" but also other usb
storages that use the same controller and causes severe performance
regression.

 # hdparm -t /dev/sda (without the quirk)
 Timing buffered disk reads: 622 MB in  3.01 seconds = 206.66 MB/sec

 # hdparm -t /dev/sda (with the quirk)
 Timing buffered disk reads: 220 MB in  3.00 seconds =  73.32 MB/sec

The commit author mentioned that "Issue was reproduced after device has
bad block", so this quirk should be applied when we have the timeout
issue with a device that has bad blocks.

We revert the commit so that we apply this quirk by adding kernel
paramters using a bootloader or other ways when we really need it,
without the performance regression with devices that don't have the
issue.

Signed-off-by: sunghwan jung <onenowy@gmail.com>
Link: https://lore.kernel.org/r/20220913114913.3073-1-onenowy@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-22 15:52:31 +02:00
..
atm usb: move from strlcpy with unused retval to strscpy 2022-08-19 11:08:54 +02:00
c67x00 USB: c67x00: remove unnecessary check of res 2022-05-12 11:36:46 +02:00
cdns3 usb: cdns3: fix issue with rearming ISO OUT endpoint 2022-08-30 15:33:15 +02:00
chipidea usb: chipidea: make configs for glue drivers visible with EXPERT 2022-09-08 13:32:50 +02:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-08-19 11:12:43 +02:00
common usb: common: debug: Check non-standard control requests 2022-08-19 11:04:25 +02:00
core USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM 2022-09-22 15:52:30 +02:00
dwc2 usb: dwc2: Remove redundant license text 2022-09-22 15:52:29 +02:00
dwc3 usb: dwc3: core: fix some leaks in probe 2022-09-22 15:52:31 +02:00
early usb: early: xhci-dbc: Fix xdbc number parsing 2022-03-15 18:20:34 +01:00
gadget usb: gadget: uvc: add v4l2 try_format api call 2022-09-22 15:52:30 +02:00
host xhci: remove unused lpm_failed_dev member from struct xhci_hcd 2022-09-22 15:52:29 +02:00
image usb/image: fix repeated words in comments 2022-07-27 14:33:53 +02:00
isp1760 usb: isp1760: Fix out-of-bounds array access 2022-05-19 18:10:59 +02:00
misc usb: misc: usb3503: call clk_disable_unprepare in the error handling 2022-09-09 09:30:20 +02:00
mon usb: mon: make mmapped memory read only 2022-09-22 15:52:29 +02:00
mtu3 Tracing updates for 5.20 / 6.0 2022-08-05 09:41:12 -07:00
musb usb: musb: Fix musb_gadget.c rxstate overflow bug 2022-09-22 15:52:30 +02:00
phy usb: phy: tegra: switch to using devm_gpiod_get() 2022-09-05 13:09:13 +02:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-06-21 16:39:03 +02:00
roles usb: roles: add helper usb_role_string() 2021-05-27 09:17:18 +02:00
serial USB: serial: ftdi_sio: clean up driver prefix 2022-09-20 09:45:50 +02:00
storage Revert "usb: storage: Add quirk for Samsung Fit flash" 2022-09-22 15:52:31 +02:00
typec usb: typec: anx7411: Use of_get_child_by_name() instead of of_find_node_by_name() 2022-09-22 15:52:29 +02:00
usbip usbip: add USBIP_URB_* URB transfer flags 2022-08-31 09:07:53 +02:00
Kconfig usb: remove reference to deleted config STB03xxx 2021-08-18 15:32:19 +02:00
Makefile usb: host: remove line for obsolete config USB_HWA_HCD 2021-08-18 15:32:19 +02:00
usb-skeleton.c usb: usb-skeleton: Update min() to min_t() 2021-10-05 12:56:48 +02:00