aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/uas.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-26USB: UAS: return ENODEV when submit urbs fail with device not attachedWeitao Wang1-15/+13
2024-02-14scsi: sd: usb_storage: uas: Access media prior to querying device propertiesMartin K. Petersen1-0/+7
2024-01-04USB: core: Use device_driver directly in struct usb_driver and usb_device_driverYajun Deng1-1/+1
2023-10-21usb-storage,uas: make internal quirks flags 64bitMilan Broz1-2/+2
2023-03-24scsi: usb: uas: Declare two host templates and host template pointers constBart Van Assche1-1/+1
2022-09-06scsi: uas: Drop DID_TARGET_FAILURE useMike Christie1-1/+1
2022-02-22scsi: usb: Stop using the SCSI pointerBart Van Assche1-23/+20
2021-10-16scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functionsBart Van Assche1-2/+1
2021-10-16scsi: usb: Call scsi_done() directlyBart Van Assche1-6/+4
2020-12-09USB: UAS: introduce a quirk to set no_write_sameOliver Neukum1-0/+3
2020-12-07Merge 5.10-rc7 into usb-nextGreg Kroah-Hartman1-13/+6
2020-12-04Revert "uas: fix sdev->host->dma_dev"Greg Kroah-Hartman1-11/+6
2020-12-04Revert "uas: bump hw_max_sectors to 2048 blocks for SS or faster drives"Greg Kroah-Hartman1-2/+0
2020-11-23usb: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2020-09-16USB: UAS: use macro for reporting resultsOliver Neukum1-6/+6
2020-09-16USB: UAS: fix disconnect by unplugging a hubOliver Neukum1-2/+12
2020-09-04uas: bump hw_max_sectors to 2048 blocks for SS or faster drivesTom Yan1-0/+2
2020-09-04uas: fix sdev->host->dma_devTom Yan1-6/+11
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-04-16UAS: fix deadlock in error handling and PM flushing workOliver Neukum1-3/+40
2020-04-16UAS: no use logging any details in case of ENODEVOliver Neukum1-0/+3
2020-02-10usb: uas: fix a plug & unplug racingEJ Hsu1-1/+22
2019-12-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+0
2019-11-18USB: uas: heed CAPACITY_HEURISTICSOliver Neukum1-0/+6
2019-11-18USB: uas: honor flag to avoid CAPACITY16Oliver Neukum1-0/+4
2019-11-12scsi: core: Clean up SG_NONEFinn Thain1-1/+0
2019-10-28UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segmen...Alan Stern1-20/+0
2019-09-10usb-storage: export symbols in USB_STORAGE namespaceMatthias Maennich1-0/+1
2019-04-30UAS: fix alignment of scatter/gather segmentsOliver Neukum1-13/+22
2019-02-12scsi: uas: Use scsi_[gs]et_resid() where appropriateBart Van Assche1-2/+2
2019-02-05scsi: remove bidirectional command supportChristoph Hellwig1-9/+2
2018-12-18scsi: remove the use_clustering flagChristoph Hellwig1-1/+1
2018-12-18scsi: make sure all drivers set the use_clustering flagChristoph Hellwig1-0/+1
2018-09-05usb: uas: add support for more quirk flagsOliver Neukum1-0/+21
2018-05-24usb-storage: Add support for FL_ALWAYS_SYNC flag in the UAS driverAlexander Kappner1-0/+6
2018-03-06uas: fix comparison for error codeOliver Neukum1-1/+1
2018-01-16usb: uas: unconditionally bring back host after resetOliver Neukum1-4/+3
2017-11-04USB: storage: Remove redundant license textGreg Kroah-Hartman1-2/+0
2017-11-04USB: add SPDX identifiers to all remaining files in drivers/usb/Greg Kroah-Hartman1-0/+1
2017-11-01usb: storage: uas: mark expected switch fall-throughGustavo A. R. Silva1-0/+1
2017-09-22USB: uas: fix bug in handling of alternate settingsAlan Stern1-5/+5
2017-08-25scsi: uas: move eh_bus_reset_handler to eh_device_reset_handlerHannes Reinecke1-2/+2
2016-06-01USB: uas: Fix slave queue_depth not being setHans de Goede1-0/+1
2016-06-01uas: remove can_queue set in host templateTom Yan1-1/+0
2016-04-26usb: storage: fix multi-line comment styleFelipe Balbi1-1/+2
2016-04-13USB: uas: Add a new NO_REPORT_LUNS quirkHans de Goede1-1/+13
2016-04-13USB: uas: Limit qdepth at the scsi-host levelHans de Goede1-1/+6
2016-03-18USB: uas: Reduce can_queue to MAX_CMNDSHans de Goede1-1/+1
2016-01-24USB: uas: add full support for RESPONSE IUOliver Neukum1-6/+30
2015-12-13Merge 4.4-rc5 into usb-next as we want those fixes here for testingGreg Kroah-Hartman1-0/+4
2015-12-01uas: no gfp argument to uas_submit_urbs()Oliver Neukum1-12/+12
2015-12-01uas: use the BIT() macroOliver Neukum1-12/+12
2015-12-01usb-storage: Fix scsi-sd failure "Invalid field in cdb" for USB adapter JMicronDmitry Katsubo1-0/+4
2015-11-13Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-5/+0
2015-11-09scsi: use host wide tags by defaultChristoph Hellwig1-5/+0
2015-10-04UAS: also check for ESHUTDOWN in error reportingOliver Neukum1-8/+8
2015-06-23Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+0
2015-05-31scsi: Do not set cmd_per_lun to 1 in the host templateHannes Reinecke1-1/+0
2015-04-28uas: Add US_FL_MAX_SECTORS_240 flagHans de Goede1-1/+9
2015-04-28uas: Allow uas_use_uas_driver to return usb-storage flagsHans de Goede1-3/+3
2014-12-14Merge tag 'usb-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-41/+23
2014-11-24scsi: drop reason argument from ->change_queue_depthChristoph Hellwig1-1/+1
2014-11-12scsi: don't set tagging state from scsi_adjust_queue_depthChristoph Hellwig1-1/+1
2014-11-12scsi: always assign block layer tags if enabledChristoph Hellwig1-2/+2
2014-11-12scsi: remove ordered_tag host template fieldChristoph Hellwig1-1/+0
2014-11-12scsi: add new scsi-command flag for tagged commandsChristoph Hellwig1-1/+1
2014-11-03uas: Make uas work with blk-mqHans de Goede1-41/+23
2014-10-08Merge tag 'usb-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-406/+303
2014-10-03uas: Reduce number of function arguments for uas_alloc_foo functionsHans de Goede1-15/+14
2014-10-03[SCSI] uas: disable use of blk-mq I/O pathChristoph Hellwig1-0/+7
2014-09-23uas: Add response iu handlingHans de Goede1-0/+10
2014-09-23uas: Log error codes when logging errorsHans de Goede1-5/+12
2014-09-23uas: Cleanup uas_log_cmd_state usageHans de Goede1-33/+19
2014-09-23uas: Remove protype hardware usb interface infoHans de Goede1-2/+0
2014-09-23uas: Remove support for old sense ui as used in pre-production hardwareHans de Goede1-46/+1
2014-09-23uas: Drop COMMAND_COMPLETED flagHans de Goede1-7/+3
2014-09-23uas: Use scsi_print_commandHans de Goede1-2/+3
2014-09-23uas: Do not log urb status error on cancellationHans de Goede1-5/+2
2014-09-23uas: Use streams on upcoming 10Gbps / 3.1 USBHans de Goede1-1/+1
2014-09-23uas: pre_reset and suspend: Fix a few racesHans de Goede1-6/+55
2014-09-23uas: Fix memleak of non-submitted urbsHans de Goede1-0/+22
2014-09-23uas: Drop all references to a scsi_cmnd once it has been abortedHans de Goede1-3/+44
2014-09-23uas: Remove cmnd reference from the cmd urbHans de Goede1-6/+3
2014-09-23uas: Drop inflight listHans de Goede1-16/+16
2014-09-23uas: zap_pending: data urbs should have completed at this timeHans de Goede1-5/+5
2014-09-23uas: Simplify reset / disconnect handlingHans de Goede1-37/+6
2014-09-23uas: Free data urbs on completionHans de Goede1-2/+3
2014-09-23uas: Simplify unlink of data urbs on errorHans de Goede1-30/+18
2014-09-23uas: Check against unexpected completionsHans de Goede1-0/+12
2014-09-23uas: Do not use scsi_host_find_tagHans de Goede1-21/+18
2014-09-23uas: Add uas_get_tag() helper functionHans de Goede1-12/+21
2014-09-23uas: Fix resetting flag handlingHans de Goede1-14/+35
2014-09-23uas: Remove task-management / abort error handling codeHans de Goede1-176/+1
2014-09-23uas: Add no-report-opcodes quirkHans de Goede1-0/+4
2014-09-23uas: Add a quirk for rejecting ATA_12 and ATA_16 commandsHans de Goede1-0/+13
2014-09-23uas: replace WARN_ON_ONCE() with lockdep_assert_held()Sanjeev Sharma1-4/+4
2014-08-01uas: Limit qdepth to 32 when connected over usb-2Hans de Goede1-1/+1
2014-04-16uas: fix deadlocky memory allocationsOliver Neukum1-2/+2
2014-04-16uas: fix error handling during scsi_scan()Oliver Neukum1-1/+2
2014-04-16uas: fix GFP_NOIO under spinlockOliver Neukum1-3/+3
2014-03-04uas: Remove comment about registering a uas scsi controller for each usb busHans de Goede1-6/+0
2014-03-04uas: Add Hans de Goede as uas maintainerHans de Goede1-1/+3
2014-03-04uas: Make sure sg elements are properly alignedHans de Goede1-0/+18
2014-03-04uas: Add some data in/out ready iu sanity checksHans de Goede1-0/+10
2014-03-04uas: Improve error reportingHans de Goede1-14/+46
2014-03-04uas: Use the right error codes for different kinds of errorsHans de Goede1-9/+10
2014-03-04uas: Clear cmdinfo on command queue-ingHans de Goede1-0/+2
2014-03-04uas: Fix memory managementHans de Goede1-19/+14
2014-03-04uas: Fix command / task mgmt submission racing with disconnectHans de Goede1-1/+14
2014-03-04uas: cmdinfo: use only one list headHans de Goede1-12/+8
2014-03-04uas: add uas_mark_cmd_dead helper functionHans de Goede1-17/+18
2014-03-04uas: Properly complete inflight commands on bus-reset or disconnectHans de Goede1-20/+21
2014-03-04uas: uas_alloc_data_urb: Remove unnecessary use_streams checkHans de Goede1-2/+1
2014-03-04uas: Fix task-management not working when connected over USB-2Hans de Goede1-1/+2
2014-03-04uas: Reset device on rebootHans de Goede1-0/+30
2014-03-04uas: Add suspend/resume supportHans de Goede1-0/+42
2014-03-04uas: Use GFP_NOIO rather then GFP_ATOMIC where possibleHans de Goede1-3/+3
2014-03-04uas: Don't allow more then one task to run at the same timeHans de Goede1-5/+34
2014-03-04uas: task_mgmt: Kill the sense-urb if we fail to submit the cmd urbHans de Goede1-11/+13
2014-03-04uas: Not being able to alloc streams when connected through usb-3 is an errorHans de Goede1-7/+17
2014-03-04uas: Drop fixed endpoint config handlingHans de Goede1-25/+11
2014-03-04uas: Move uas_find_endpoints to uas-detect.hHans de Goede1-27/+0
2014-03-04uas: Fix bounds check in uas_find_endpointsHans de Goede1-1/+1
2014-03-04uas: Add uas_find_endpoints() helper functionHans de Goede1-11/+23
2014-03-04uas: Add the posibilty to blacklist uas devices from using the uas driverHans de Goede1-4/+13
2014-03-04uas: Move uas detect code to uas-detect.hHans de Goede1-38/+2
2014-03-04uas: Add a uas_find_uas_alt_setting helper functionHans de Goede1-5/+16
2014-03-04uas: Use all available stream idsHans de Goede1-3/+3
2014-03-04uas: s/response_ui/response_iu/Hans de Goede1-1/+1
2014-03-04uas: Fix reset handling for externally triggered resetHans de Goede1-5/+31
2014-03-04uas: Fix reset lockingHans de Goede1-0/+9
2014-03-04uas: Fix uas not working when plugged into an ehci portHans de Goede1-4/+4
2014-03-04uas: uas_alloc_cmd_urb: drop unused stream_id parameterHans de Goede1-3/+2
2014-03-04uas: Avoid unnecessary unlock / lock calls around unlink_data_urbsHans de Goede1-13/+7
2014-03-04uas: Properly set interface to altsetting 0 on probe failureHans de Goede1-9/+9
2014-03-04uas: Urbs must be anchored before submitting themHans de Goede1-8/+12
2014-03-04uas: replace BUG_ON() + WARN_ON() with WARN_ON_ONCE()Gerd Hoffmann1-9/+10
2014-03-04uas: add dead request listGerd Hoffmann1-8/+42
2014-03-04uas: make work list per-deviceGerd Hoffmann1-62/+44
2014-03-04uas: properly reinitialize in uas_eh_bus_reset_handlerGerd Hoffmann1-0/+5
2013-01-25usb-uas: set max_lun and max_channelGerd Hoffmann1-0/+2
2013-01-11uas: fail any request submitted while resetting the device.Gerd Hoffmann1-0/+6
2013-01-11uas: improve device resetGerd Hoffmann1-1/+44
2013-01-11uas: improve abort handlerGerd Hoffmann1-2/+17
2013-01-11uas: add IS_IN_WORK_LIST flagGerd Hoffmann1-2/+8
2013-01-11uas: add UNLINK_DATA_URBS flagGerd Hoffmann1-3/+21
2013-01-11uas: new function to cancel data urbsGerd Hoffmann1-10/+12
2012-09-26USB: uas: fix gcc warningGerd Hoffmann1-10/+8
2012-09-26USB: uas: fix lockingGerd Hoffmann1-0/+2
2012-09-25USB: uas: add lockingGerd Hoffmann1-7/+44
2012-09-25USB: uas: fix abortGerd Hoffmann1-7/+4
2012-09-25USB: uas: remove aborted field, replace with status bit.Gerd Hoffmann1-6/+6
2012-09-25USB: uas: fix task managementGerd Hoffmann1-3/+3
2012-09-25USB: uas: keep track of command urbsGerd Hoffmann1-1/+10
2012-06-25uas: task mgmt & error handlingGerd Hoffmann1-29/+131
2012-06-25uas: track urbs, kill inflight urbs on disconnect.Gerd Hoffmann1-0/+9
2012-06-25uas: improve error handlingGerd Hoffmann1-1/+13
2012-06-25uas: keep track of command state, finish scsi cmd when really done.Gerd Hoffmann1-15/+71
2012-06-25uas: fix sense urb handlingGerd Hoffmann1-21/+28
2012-06-25Revert "usb/uas: one only one status URB/host on stream-less connection"Gerd Hoffmann1-60/+10
2012-06-25Revert "usb/uas: make sure data urb is gone if we receive status before that"Gerd Hoffmann1-75/+15
2012-02-02usb/uas: make sure data urb is gone if we receive status before thatSebastian Andrzej Siewior1-15/+75
2012-02-02usb/uas: move UAS structs / defines into a header fileSebastian Andrzej Siewior1-55/+1
2012-02-02usb/uas: only bind if the hcd supports SGSebastian Andrzej Siewior1-6/+19
2012-02-02Merge tag 'uas_for_sarah' of git://linutronix.de/users/bigeasy/linux into for...Sarah Sharp1-40/+117
2011-12-22usb/uas: one only one status URB/host on stream-less connectionSebastian Andrzej Siewior1-10/+60
2011-12-22usb/uas: use scsi_host_find_tag() to find command from a tagSebastian Andrzej Siewior1-16/+17
2011-12-22usb/uas: use unique tags for all LUNsSebastian Andrzej Siewior1-13/+25
2011-12-22UAS: Free status URB when we can't find the SCSI tag.Sarah Sharp1-1/+3
2011-12-22UAS: Use unique tags on non-streams devices.Sarah Sharp1-1/+4
2011-12-22UAS: Re-add workqueue items if submission fails.Sarah Sharp1-4/+13
2011-11-18USB: convert drivers/usb/* to use module_usb_driver()Greg Kroah-Hartman1-12/+1
2011-10-31usb: Add module.h to drivers/usb consumers who really use it.Paul Gortmaker1-0/+1
2010-12-16Merge branch 'usb-next' into musb-mergeGreg Kroah-Hartman1-28/+54
2010-12-15USB: uas: Use GFP_NOIO instead of GFP_KERNEL in I/O submission pathMatthew Wilcox1-1/+1
2010-12-15USB: uas: Ensure we only bind to a UAS interfaceMatthew Wilcox1-7/+30
2010-12-15USB: uas: Rename sense pipe and sense urb to status pipe and status urbMatthew Wilcox1-16/+16
2010-12-15USB: uas: Use kzalloc instead of kmallocMatthew Wilcox1-2/+2
2010-12-15USB: uas: Fix up the Sense IUMatthew Wilcox1-2/+5
2010-11-16SCSI host lock push-downJeff Garzik1-1/+3
2010-11-10block: remove REQ_HARDBARRIERChristoph Hellwig1-4/+1
2010-10-22USB: Add UAS driverMatthew Wilcox1-0/+751