aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds4-26/+118
2024-04-20Merge patch series "scsi: libsas: Fix the failure of adding phy with zero-add...Martin K. Petersen2-23/+30
2024-04-20scsi: libsas: Fix the failure of adding phy with zero-address to portXingui Yang1-2/+1
2024-04-20scsi: libsas: Set port when ex_phy is added or deletedXingui Yang1-2/+5
2024-04-20scsi: libsas: Move sas_add_parent_port() to sas_expander.cXingui Yang2-17/+17
2024-04-20scsi: libsas: Add helper for port add ex_phyXingui Yang1-3/+8
2024-04-11scsi: libata: Switch to using ->device_configureChristoph Hellwig1-3/+4
2024-04-01scsi: libsas: Align SMP request allocation to ARCH_DMA_MINALIGNYihang Li1-1/+1
2024-03-27scsi: libsas: Fix declaration of ncq priority attributesDamien Le Moal1-5/+7
2024-03-25Merge patch series "NCQ Priority sysfs sttributes for libsas"Martin K. Petersen1-0/+82
2024-03-25scsi: libsas: Define NCQ Priority sysfs attributes for SATA devicesIgor Pylypiv1-0/+82
2024-03-10scsi: libsas: Fix disk not being scanned in after being removedXingui Yang1-10/+22
2024-03-10scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()Xingui Yang1-7/+12
2023-09-13scsi: libsas: Declare sas_discover_end_dev() staticDamien Le Moal1-1/+1
2023-09-13scsi: libsas: Declare sas_set_phy_speed() staticDamien Le Moal1-2/+2
2023-09-13scsi: libsas: Move local functions declarations to sas_internal.hDamien Le Moal1-0/+12
2023-09-09Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-38/+3
2023-09-05Merge tag 'ata-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlem...Linus Torvalds2-8/+3
2023-08-30scsi: libsas: Simplify sas_queue_reset() and remove unused codeWenchao Hao1-38/+3
2023-08-24Merge patch series "libsas: Some tidy-up"Martin K. Petersen8-37/+33
2023-08-24Merge patch series "Returning FIS on success for CDL"Martin K. Petersen1-0/+3
2023-08-21scsi: libsas: Delete sas_ssp_task.retry_countJohn Garry2-2/+0
2023-08-21scsi: libsas: Delete struct scsi_coreJohn Garry8-33/+33
2023-08-21scsi: libsas: Delete enum sas_classJohn Garry2-3/+0
2023-08-21scsi: libsas: Add return_fis_on_success to sas_ata_taskIgor Pylypiv1-0/+3
2023-08-21scsi: libsas: Remove unused declarationsYue Haibing1-7/+0
2023-08-02ata,scsi: remove ata_sas_port_init()Niklas Cassel1-3/+0
2023-08-02ata,scsi: cleanup __ata_port_probe()Hannes Reinecke1-1/+1
2023-08-02ata,scsi: remove ata_sas_port_destroy()Hannes Reinecke2-2/+2
2023-08-02ata,scsi: remove ata_sas_port_{start,stop} callbacksHannes Reinecke1-2/+0
2023-06-30Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-53/+71
2023-06-05ata: libata-sata: Simplify ata_change_queue_depth()Damien Le Moal1-2/+1
2023-05-08scsi: libsas: factor out sas_check_fanout_expander_topo()Jason Yan1-10/+18
2023-05-08scsi: libsas: Remove an empty branch in sas_check_parent_topology()Jason Yan1-23/+33
2023-05-08scsi: libsas: Simplify sas_check_eeds()Jason Yan1-20/+20
2023-04-02scsi: libsas: Abort all in-flight requests when device is goneJason Yan1-0/+29
2023-02-22Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds3-105/+114
2023-02-22Merge tag 'ata-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlem...Linus Torvalds1-6/+5
2023-01-11scsi: libsas: Fix an error code in sas_ata_add_dev()Dan Carpenter1-1/+1
2023-01-07scsi: libsas: Grab the ATA port lock in sas_ata_device_link_abort()Xingui Yang1-0/+3
2023-01-04ata: libata: simplify qc_fill_rtf port operation interfaceDamien Le Moal1-2/+1
2023-01-04ata: scsi: rename flag ATA_QCFLAG_FAILED to ATA_QCFLAG_EHNiklas Cassel1-4/+4
2022-12-30Merge patch series "scsi: libsas: Some coding style fixes and cleanups"Martin K. Petersen3-105/+114
2022-12-30scsi: libsas: Factor out sas_ex_add_dev()Jason Yan1-29/+39
2022-12-30scsi: libsas: Factor out sas_ata_add_dev()Jason Yan2-52/+64
2022-12-30scsi: libsas: Remove useless dev_list delete in sas_ex_discover_end_dev()Jason Yan1-3/+0
2022-12-30scsi: libsas: Change the coding style of sas_discover_sata()Jason Yan1-6/+0
2022-12-30scsi: libsas: Move sas_get_ata_command_set() up to save the declarationJason Yan1-15/+11
2022-12-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds4-25/+92
2022-11-26scsi: libsas: Do not export sas_ata_wait_after_reset()Jie Zhan1-2/+1
2022-11-26scsi: libsas: Add smp_ata_check_ready_type()Jie Zhan3-2/+29
2022-10-19scsi: libsas: make use of ata_port_is_frozen() helperNiklas Cassel1-1/+1
2022-10-18scsi: libsas: Use sas_phy_match_port_addr() instead of open coding itJason Yan1-2/+1
2022-10-18scsi: libsas: Use sas_phy_addr_match() instead of open coding itJason Yan1-2/+1
2022-10-18scsi: libsas: Use sas_phy_match_dev_addr() instead of open coding itJason Yan1-12/+6
2022-10-18scsi: libsas: Introduce sas_find_attached_phy_id() helperJason Yan1-0/+16
2022-10-18scsi: libsas: Introduce SAS address comparison helpersJason Yan1-0/+17
2022-10-18scsi: libsas: Update SATA dev FIS in sas_ata_task_done()John Garry1-2/+2
2022-10-18scsi: libsas: Make sas_{alloc, alloc_slow, free}_task() privateJohn Garry2-3/+4
2022-10-18scsi: libsas: Add sas_ata_device_link_abort()John Garry1-0/+15
2022-10-07Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+1
2022-09-28ata: libata-sata: Fix device queue depth controlDamien Le Moal1-1/+2
2022-09-25scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()Duoming Zhou1-1/+1
2022-07-18scsi: libsas: Resume SAS host for phy reset or enable via sysfsXiang Chen1-0/+4
2022-06-10scsi: libsas: Introduce struct smp_rps_respDamien Le Moal2-3/+3
2022-06-10scsi: libsas: Introduce struct smp_rg_respDamien Le Moal1-18/+13
2022-06-10scsi: libsas: Introduce struct smp_disc_respDamien Le Moal1-18/+14
2022-05-19scsi: libsas: Refactor sas_ata_hard_reset()John Garry1-14/+27
2022-03-14scsi: hisi_sas: Use libsas internal abort supportJohn Garry1-3/+10
2022-03-14scsi: libsas: Add sas_execute_internal_abort_dev()John Garry1-0/+8
2022-03-14scsi: libsas: Add sas_execute_internal_abort_single()John Garry1-0/+74
2022-03-01scsi: libsas: Clean up sas_form_port()Damien Le Moal1-31/+42
2022-02-27scsi: libsas: Use bool for queue_work() return codeJohn Garry2-20/+12
2022-02-27scsi: libsas: Make sas_notify_{phy,port}_event() return voidJohn Garry2-14/+8
2022-02-22scsi: libsas: Simplify sas_ata_qc_issue() detection of NCQ commandsDamien Le Moal1-7/+2
2022-02-22scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commandsDamien Le Moal1-1/+1
2022-02-22scsi: libsas: Add sas_execute_ata_cmd()John Garry2-1/+17
2022-02-19scsi: libsas: Add sas_abort_task()John Garry1-0/+16
2022-02-19scsi: libsas: Add sas_query_task()John Garry1-0/+16
2022-02-19scsi: libsas: Add sas_lu_reset()John Garry1-0/+10
2022-02-19scsi: libsas: Add sas_clear_task_set()John Garry1-0/+10
2022-02-19scsi: libsas: Add sas_abort_task_set()John Garry1-4/+12
2022-02-19scsi: libsas: Add TMF handler aborted callbackJohn Garry1-0/+2
2022-02-19scsi: libsas: Add TMF handler exec complete callbackJohn Garry1-0/+3
2022-02-19scsi: libsas: Add sas_execute_ssp_tmf()John Garry1-0/+18
2022-02-19scsi: libsas: Add sas_execute_tmf()John Garry2-0/+108
2022-02-19scsi: libsas: Move SMP task handlers to coreJohn Garry3-22/+29
2022-02-19scsi: libsas: Delete SAS_SG_ERRJohn Garry2-5/+0
2022-02-19scsi: libsas: Use enum for response frame DATAPRES fieldJohn Garry1-5/+9
2022-02-19scsi: libsas: Handle non-TMF codes in sas_scsi_find_task()John Garry1-2/+4
2022-02-11scsi: libsas: Remove unused parameter for function sas_ata_eh()Xiang Chen2-3/+2
2022-02-11scsi: libsas: Remove duplicated setting for task->task_state_flagsXiang Chen1-1/+0
2022-02-11scsi: libsas: Use void for sas_discover_event() return codeXiang Chen1-4/+2
2021-12-22scsi: libsas: Keep host active while processing eventsXiang Chen1-3/+21
2021-12-22scsi: libsas: Defer works of new phys during suspendXiang Chen2-0/+25
2021-12-22scsi: libsas: Refactor sas_queue_deferred_work()Xiang Chen2-11/+15
2021-12-22scsi: libsas: Add flag SAS_HA_RESUMINGXiang Chen1-0/+2
2021-12-22scsi: libsas: Resume host while sending SMP I/OsXiang Chen2-0/+4
2021-12-22scsi: libsas: Insert PORTE_BROADCAST_RCVD event for resuming hostXiang Chen1-0/+29
2021-12-22scsi: libsas: Add spin_lock/unlock() to protect asd_sas_port->phy_listXiang Chen1-1/+5
2021-12-22scsi: libsas: Don't always drain event workqueue for HA resumeJohn Garry1-2/+15
2021-12-16scsi: libsas: Decode SAM status and host byte codesJohn Garry1-3/+4
2021-11-29scsi: Remove superfluous #include <linux/async.h> directivesBart Van Assche1-1/+0
2021-10-16scsi: libsas: Call scsi_done() directlyBart Van Assche1-2/+2
2021-10-12scsi: libsas: Export sas_phy_enable()Luo Jiaxing1-1/+2
2021-09-13scsi: libsas: Co-locate exports with symbolsJohn Garry2-14/+14
2021-08-11scsi: libsas: Use scsi_cmd_to_rq() instead of scsi_cmnd.requestBart Van Assche2-2/+2
2021-07-27scsi: libsas: Drop BLK_DEV_BSGLIB selectionGuoqing Jiang1-1/+0
2021-07-20scsi: libsas: Allow libsas to include SCSI header files directlyJason Yan9-12/+12
2021-07-13scsi: libsas: Fix fall-through warning for ClangGustavo A. R. Silva1-1/+1
2021-07-11Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+9
2021-07-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds3-6/+7
2021-06-22scsi: libsas: Add LUN number check in .slave_alloc callbackYufen Yu1-0/+9
2021-06-02scsi: libsas: Introduce more SAM status code aliases in enum exec_statusBart Van Assche3-6/+7
2021-05-21scsi: libsas: Use _safe() loop in sas_resume_port()Dan Carpenter1-2/+2
2021-04-28Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds3-47/+42
2021-04-07scsi: libsas: Reset num_scatter if libata marks qc as NODATAJolly Shah1-5/+4
2021-04-06scsi: libsas: Clean up whitespaceLuo Jiaxing2-7/+8
2021-04-05scsi: libsas: Correctly indent statements in sas_to_ata_err()Luo Jiaxing1-40/+34
2021-01-22scsi: libsas: Remove temporarily-added _gfp() API variantsAhmed S. Darwish3-25/+0
2021-01-22scsi: libsas: Switch back to original event notifiers APIAhmed S. Darwish2-7/+7
2021-01-22scsi: libsas: Add gfp_t flags parameter to event notificationsAhmed S. Darwish3-54/+25
2021-01-22scsi: libsas: Pass gfp_t flags to event notifiersAhmed S. Darwish2-2/+4
2021-01-22scsi: libsas: Introduce a _gfp() variant of event notifiersAhmed S. Darwish3-17/+73
2021-01-22scsi: libsas: Remove notifier indirectionJohn Garry3-16/+4
2020-10-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds2-14/+2
2020-09-22scsi: libsas: Simplify the return expression of sas_discover_* functionsLiu Shixin2-14/+2
2020-09-15Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-1/+2
2020-09-09scsi: libsas: Fix error path in sas_notify_lldd_dev_found()Dan Carpenter1-1/+2
2020-09-08Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-1/+4
2020-09-01scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATALuo Jiaxing1-1/+4
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva4-4/+4
2020-07-24scsi: libsas: Remove redundant assignment to variable resColin Ian King1-1/+1
2020-07-24scsi: libsas: Check link status in ATA prereset()Luo Jiaxing1-1/+15
2020-07-24scsi: libsas: Remove postreset from sas_sata_opsLuo Jiaxing1-1/+0
2020-04-14scsi: libsas: Add missing annotation for sas_ata_qc_issue()Jules Irenge1-0/+1
2020-03-26ata: make SATA_PMP option selectable only if any SATA host driver is enabledBartlomiej Zolnierkiewicz1-0/+1
2019-12-21scsi: libsas: Tidy SAS address print formatJohn Garry7-11/+11
2019-12-09scsi: libsas: stop discovering if oob mode is disconnectedJason Yan1-1/+10
2019-08-20scsi: libsas: sas_discover: Mark expected switch fall-throughGustavo A. R. Silva1-0/+1
2019-07-20Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-1/+0
2019-07-11scsi: libsas: remove the exporting of sas_wait_ehDenis Efremov1-1/+0
2019-07-11Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds8-133/+27
2019-06-20scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander()John Garry3-25/+15
2019-06-18scsi: libsas: no need to join wide port again in sas_ex_discover_dev()Jason Yan1-22/+4
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372Thomas Gleixner1-4/+1
2019-06-02Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds2-2/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167Thomas Gleixner2-33/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-15/+1
2019-05-29scsi: libsas: delete sas port if expander discover failedJason Yan1-0/+2
2019-05-29scsi: libsas: only clear phy->in_shutdown after shutdown event doneJason Yan1-2/+1
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 59Thomas Gleixner3-54/+3
2019-05-21scsi: libsas: switch remaining files to SPDX tagsChristoph Hellwig9-141/+9
2019-05-21scsi: libsas: switch sas_ata.[ch] to SPDX tagsChristoph Hellwig1-15/+1
2019-05-21scsi: libsas: add a SPDX tag to sas_task.cChristoph Hellwig1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-15scsi: libsas: Print expander PHY indexes in decimalJohn Garry4-28/+27
2019-04-15scsi: libsas: Do discovery on empty PHY to update PHY infoJohn Garry1-0/+5
2019-04-15scsi: libsas: Inject revalidate event for root port eventJohn Garry1-3/+21
2019-04-15scsi: libsas: Improve vague log in SAS rediscoveryJohn Garry1-6/+14
2019-04-15scsi: libsas: Try to retain programmed min linkrate for SATA min pathway unma...John Garry1-1/+6
2019-04-15scsi: libsas: Stop hardcoding SAS address lengthJohn Garry2-26/+29
2019-03-09Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds2-6/+34
2019-02-15scsi: libsas: Fix rphy phy_identifier for PHYs with end devices attachedJohn Garry1-0/+2
2019-02-08scsi: ata: Use unsigned int for cmd's type in ioctls in scsi_host_templateNathan Chancellor1-1/+1
2019-01-29scsi: libsas: Remove scsi_to_u32()Bart Van Assche1-4/+5
2019-01-11scsi: libsas: Support SATA PHY connection rate unmatch fixing during discoveryJohn Garry1-0/+20
2019-01-11scsi: libsas: Check SMP PHY control function resultJohn Garry1-1/+8
2018-12-28Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds13-348/+233
2018-11-15scsi: libsas: Remove pcidev referenceJohn Garry1-1/+1
2018-11-15scsi: libsas: Drop SAS_DPRINTK() and revise logs levelsJohn Garry9-236/+207
2018-11-15scsi: libsas: Drop sas_printk()John Garry4-20/+16
2018-11-15scsi: libsas: Use pr_fmt(fmt)John Garry3-3/+15
2018-11-15scsi: libsas: Delete sas_dump.{c, h}John Garry4-94/+0
2018-11-15block: don't hold the queue_lock over blk_abort_requestChristoph Hellwig2-13/+2
2018-09-25scsi: libsas: fix a race condition when smp task timeoutJason Yan1-5/+4
2018-09-25scsi: libsas: check the ata device status by ata_dev_enabled()Jason Yan1-1/+1
2018-09-25scsi: libsas: always unregister the old device if going to discover newJason Yan1-8/+5
2018-09-25scsi: libsas: make the lldd_port_deformed method optionalJason Yan1-1/+1
2018-06-26scsi: read host_busy via scsi_host_busy()Ming Lei1-2/+2
2018-06-19scsi: libsas: dynamically allocate and free ata hostJason Yan2-14/+28
2018-06-19scsi: libsas: remove irq save in sas_ata_qc_issue()Sebastian Andrzej Siewior1-6/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-04-18scsi: libsas: add transport class for ATA devicesJason Yan2-0/+6
2018-04-03Merge branch 'fixes' into miscJames Bottomley1-20/+13
2018-03-12scsi: libsas: defer ata device eh commands to libataJason Yan1-20/+13
2018-02-27scsi: libsas: Fix kernel-doc headersBart Van Assche5-24/+27
2018-01-31Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds9-106/+255
2018-01-19Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-2/+15
2018-01-10scsi: libsas: notify event PORTE_BROADCAST_RCVD in sas_enable_revalidation()Jason Yan1-1/+7
2018-01-10scsi: libsas: direct call probe and destructJason Yan5-20/+25
2018-01-10scsi: libsas: Disable asynchronous aborts for SATA devicesHannes Reinecke1-2/+15
2018-01-08scsi: libsas: use flush_workqueue to process disco events synchronouslyJason Yan1-0/+4
2018-01-08scsi: libsas: Use new workqueue to run sas event and disco eventJason Yan3-4/+22
2018-01-08scsi: libsas: make the event threshold configurableJason Yan1-0/+31
2018-01-08scsi: libsas: shut down the PHY if events reached the thresholdJason Yan2-2/+58
2018-01-08scsi: libsas: Use dynamic alloced work to avoid sas event lostJason Yan5-65/+104
2018-01-08scsi: libsas: initialize sas_phy status according to response of DISCOVERchenxiang1-0/+1
2018-01-08scsi: libsas: fix error when getting phy eventsJason Yan1-1/+1
2018-01-08scsi: libsas: fix memory leak in sas_smp_get_phy_events()Jason Yan1-0/+1