aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_spc.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-22Merge patch series "Use block pr_ops in LIO"Martin K. Petersen1-34/+79
2023-04-11scsi: target: Report and detect unsupported PR commandsMike Christie1-20/+55
2023-04-11scsi: target: Pass struct target_opcode_descriptor to enabledMike Christie1-15/+25
2023-04-11scsi: target: Rename sbc_ops to exec_cmd_opsMike Christie1-2/+2
2023-04-02scsi: target: core: Remove unused 'prod_len' variableTom Rix1-5/+0
2023-03-09scsi: target: core: Use RTPI from target portRoman Bolshakov1-1/+1
2022-11-24scsi: target: core: Send max transfer length in blocksAnastasia Kovaleva1-1/+5
2022-11-08scsi: target: core: Remove unused variable 'unit_serial_len'Colin Ian King1-6/+2
2022-10-27scsi: target: core: Dynamically set DPO and FUA in usage_bitsDmitry Bogdanov1-2/+32
2022-10-27scsi: target: core: Add emulate_rsoc attributeDmitry Bogdanov1-0/+12
2022-10-27scsi: target: core: Dynamic opcode support in RSOCDmitry Bogdanov1-5/+115
2022-10-27scsi: target: core: Add list of opcodes for RSOCDmitry Bogdanov1-0/+568
2022-10-27scsi: target: core: Add support for RSOC commandDmitry Bogdanov1-0/+200
2022-09-15scsi: target: core: Set MULTIP bit for se_device with multiple portsDmitry Bogdanov1-0/+6
2022-04-25scsi: target: core: Silence the message about unknown VPD pagesKonstantin Shelekhin1-1/+1
2021-11-18scsi: target: core: Use RCU helpers for INQUIRY t10_alua_tg_pt_gpMike Christie1-7/+7
2021-05-31scsi: target: Use standard SAM status typesHannes Reinecke1-7/+7
2021-05-15scsi: target: core: Add the VERSION DESCRIPTOR fields to the INQUIRY dataKonstantin Shelekhin1-1/+33
2021-05-15scsi: target: core: Bump INQUIRY VERSION to SPC-4Konstantin Shelekhin1-1/+1
2021-05-15scsi: target: core: Add configurable IEEE Company ID attributeSergey Samoylenko1-7/+7
2021-05-15scsi: target: core: Unify NAA identifier generationSergey Samoylenko1-24/+23
2021-04-05scsi: target: Make the virtual LUN 0 deviceKonstantin Shelekhin1-5/+1
2020-02-21scsi: target: use an enum to track emulate_ua_intlck_ctrlDavid Disseldorp1-2/+11
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-14/+1
2018-12-07scsi: target: remove hardcoded T10 Vendor ID in INQUIRY responseDavid Disseldorp1-3/+5
2018-12-07scsi: target: consistently null-terminate t10_wwn stringsDavid Disseldorp1-3/+4
2018-12-07scsi: target: use consistent left-aligned ASCII INQUIRY dataDavid Disseldorp1-5/+12
2018-11-21scsi: target: add emulate_pr backstore attr to toggle PR supportDavid Disseldorp1-0/+8
2018-10-03block: Finish renaming REQ_DISCARD into REQ_OP_DISCARDBart Van Assche1-3/+3
2017-07-09target: Fix cmd size for PR-OUT in passthrough_parse_cdbTang Wenji1-1/+1
2017-07-06target: Use {get,put}_unaligned_be*() instead of open coding these functionsBart Van Assche1-22/+20
2016-03-10target: Remove enum transport_lunflags_tableAndy Grover1-2/+1
2016-01-06target/sbc: Add LBPRZ attribute + control CDB emulationJamie Pocas1-0/+12
2015-09-11Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-33/+22
2015-09-11target/qla2xxx: Honor max_data_sg_nents I/O transfer limitNicholas Bellinger1-3/+10
2015-08-18target: Fix handling of small allocation lengths in REPORT LUNSRoland Dreier1-16/+16
2015-08-02target: REPORT LUNS should return LUN 0 even for dynamic ACLsRoland Dreier1-4/+10
2015-07-30target: improve unsupported opcode messageJoern Engel1-3/+0
2015-07-23target: Return descriptor format sense data in case the LU spans 64bit sectorsSagi Grimberg1-3/+9
2015-07-23target: Use scsi helpers to build the sense data correctlySagi Grimberg1-26/+5
2015-07-06target: Add extra TYPE_DISK + protection checks for INQUIRY SPTNicholas Bellinger1-2/+6
2015-07-06target/spc: Set SPT correctly in Extended INQUIRY Data VPD pageSagi Grimberg1-0/+3
2015-07-04Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-54/+36
2015-06-02target: Minimize SCSI header #include directivesBart Van Assche1-1/+2
2015-06-01target: Drop lun_sep_lock for se_lun->lun_se_dev RCU usageNicholas Bellinger1-1/+1
2015-06-01target: Subsume se_port + t10_alua_tg_pt_gp_member into se_lunChristoph Hellwig1-32/+16
2015-06-01target: Convert se_node_acl->device_list[] to RCU hlistNicholas Bellinger1-10/+8
2015-05-30target: remove the get_fabric_proto_ident methodChristoph Hellwig1-8/+4
2015-05-30target: fix DPO and FUA bit checksChristoph Hellwig1-4/+8
2015-04-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-6/+10
2015-04-07target: Update SPC/SBC emulation for sess_prot_typeNicholas Bellinger1-5/+9
2015-03-26target: add missing sense_reason_t annotationsChristoph Hellwig1-1/+1
2015-03-19target: do not reject FUA CDBs when write cache is enabled but emulate_write_...Christophe Vu-Brugier1-16/+3
2015-02-21Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-1/+1
2015-02-14target: Set LBPWS10 bit in Logical Block Provisioning EVPDNicholas Bellinger1-1/+1
2015-01-09target: Drop arbitrary maximum I/O size limitNicholas Bellinger1-4/+1
2014-12-04scsi: remove MSG_*_TAG definesChristoph Hellwig1-2/+2
2014-09-17target: Fix user data segment multiplier in spc_emulate_evpd_b3()Sebastian Herbszt1-1/+1
2014-06-11target: Report correct response length for some commandsRoland Dreier1-3/+6
2014-06-06target/spc: Simplify INQUIRY EVPD=0x80Christophe Vu-Brugier1-7/+2
2014-04-07target/spc: Only expose PI mode page bits when supported by fabricNicholas Bellinger1-11/+17
2014-04-07target/spc: Only expose PI inquiry bits when supported by fabricNicholas Bellinger1-7/+14
2014-02-12target: Fix missing length check in spc_emulate_evpd_83()Roland Dreier1-2/+2
2014-01-18target/spc: Expose ATO bit in control mode pageNicholas Bellinger1-0/+13
2014-01-18target/spc: Add protection related bits to INQUIRY EVPD=0x86Nicholas Bellinger1-0/+9
2014-01-18target/spc: Add protection bit to standard INQUIRY outputNicholas Bellinger1-0/+5
2014-01-09target: Convert inquiry temporary buffer to heap memoryNicholas Bellinger1-3/+8
2014-01-09target_core_alua: Referrals infrastructureHannes Reinecke1-0/+20
2013-12-17target_core_spc: Include target device descriptor in VPD page 83Hannes Reinecke1-1/+42
2013-12-17target_core: simplify scsi_name_len calculationHannes Reinecke1-10/+3
2013-11-20target core: rename (ex,im)plict -> (ex,im)plicitHannes Reinecke1-3/+3
2013-11-12target: Pass through I/O topology for block backstoresAndy Grover1-2/+9
2013-09-12Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-5/+22
2013-09-10target: Update copyright ownership/year information to 2013Nicholas Bellinger1-1/+1
2013-09-10target: Add Third Party Copy (3PC) bit in INQUIRY responseNicholas Bellinger1-0/+6
2013-09-10target: Enable EXTENDED_COPY setup in spc_parse_cdbNicholas Bellinger1-2/+8
2013-09-10target: Make spc_parse_naa_6h_vendor_specific non staticNicholas Bellinger1-2/+2
2013-09-09target: Add MAXIMUM COMPARE AND WRITE LENGTH in Block Limits VPDNicholas Bellinger1-0/+5
2013-08-12target: Fix trailing ASCII space usage in INQUIRY vendor+modelNicholas Bellinger1-3/+6
2013-02-13target: Fix parameter list length checking in MODE SELECTRoland Dreier1-0/+13
2013-02-13target/iblock: Use backend REQ_FLUSH hint for WriteCacheEnabled statusNicholas Bellinger1-3/+18
2013-02-13target: Export SPC inquiry emulationHannes Reinecke1-3/+5
2013-01-29target: Fix zero-length MODE_SENSE regressionNicholas Bellinger1-28/+7
2013-01-29target: Fix zero-length INQUIRY additional sense code regressionNicholas Bellinger1-5/+4
2012-11-27target: Update copyright information to 2012Nicholas Bellinger1-4/+1
2012-11-15target: Add/check max_write_same_len device attribute + update block limits VPDNicholas Bellinger1-1/+7
2012-11-06target: pass sense_reason as a return valueChristoph Hellwig1-63/+63
2012-11-06target: Fix incorrect starting offset after MODE_SENSE refactoringNicholas Bellinger1-2/+5
2012-11-06target: Add emulation for MODE SELECTRoland Dreier1-0/+53
2012-11-06target: Implement mode page 0x1c, "Informational Exceptions"Roland Dreier1-0/+14
2012-11-06target: Refactor MODE SENSE emulationRoland Dreier1-59/+176
2012-11-06target: remove ->get_device_revChristoph Hellwig1-1/+1
2012-11-06target: simplify alua supportChristoph Hellwig1-9/+3
2012-11-06target: simplify reservations codeChristoph Hellwig1-15/+4
2012-11-06target: kill dev->dev_task_attr_typeChristoph Hellwig1-4/+2
2012-11-06target/pscsi: call spc_emulate_report_luns directlyChristoph Hellwig1-1/+2
2012-11-06target: move REPORT LUNS emulation to target_core_spc.cChristoph Hellwig1-1/+64
2012-11-06target: kill struct se_subsystem_devChristoph Hellwig1-49/+42
2012-10-31target: Re-add explict zeroing of INQUIRY bounce buffer memoryNicholas Bellinger1-0/+2
2012-09-17target: fix truncation of mode data, support zero allocation lengthPaolo Bonzini1-10/+7
2012-09-17target: support zero allocation length in INQUIRYPaolo Bonzini1-25/+6
2012-09-07target: support zero allocation length in REQUEST SENSEPaolo Bonzini1-17/+18
2012-07-16target: Move MAINTENANCE_[IN,OUT] from pscsi_parse_cdb -> spc_parse_cdbNicholas Bellinger1-1/+41
2012-07-16target: move code for CDB emulationChristoph Hellwig1-11/+905
2012-07-16target: add a parse_cdb method to the backend driversChristoph Hellwig1-0/+1
2012-07-16target: split parsing of SPC commands into a separate helperChristoph Hellwig1-0/+169