aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/core.c
AgeCommit message (Expand)AuthorFilesLines
13 daysMerge tag 'nvme-6.10-2024-05-14' of git://git.infradead.org/nvme into block-6.10Jens Axboe1-3/+3
13 daysMerge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2024-05-01nvme: return kernel error codes for admin queue connectHannes Reinecke1-3/+3
2024-05-01nvme: cancel pending I/O if nvme controller is in terminal stateNilay Shroff1-21/+0
2024-04-17block: Simplify blk_revalidate_disk_zones() interfaceDamien Le Moal1-1/+1
2024-04-11nvme: fix warn output about shared namespaces without CONFIG_NVME_MULTIPATHYi Zhang1-1/+1
2024-04-04nvme: don't create a multipath node for zero capacity devicesChristoph Hellwig1-1/+1
2024-04-02nvme: split nvme_update_zone_infoChristoph Hellwig1-8/+11
2024-04-02nvme-multipath: don't inherit LBA-related fields for the multipath nodeChristoph Hellwig1-0/+20
2024-03-21Merge tag 'nvme-6.9-2024-03-21' of git://git.infradead.org/nvme into block-6.9Jens Axboe1-6/+5
2024-03-21nvme: remove redundant BUILD_BUG_ON checkGuixin Liu1-3/+0
2024-03-14nvme: fix reconnection fail due to reserved tag allocationChunguang Xu1-2/+4
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-216/+242
2024-03-08nvme: change shutdown timeout setting messageKeith Busch1-1/+1
2024-03-06nvme: clear caller pointer on identify failureKeith Busch1-1/+4
2024-03-05nvme: core: constify struct class usageRicardo B. Marliere1-25/+28
2024-03-04nvme-multipath: use atomic queue limits API for stacking limitsChristoph Hellwig1-3/+6
2024-03-04nvme: use the atomic queue limits update APIChristoph Hellwig1-63/+70
2024-03-04nvme: cleanup nvme_configure_metadataChristoph Hellwig1-28/+19
2024-03-04nvme: don't query identify data in configure_metadataChristoph Hellwig1-30/+19
2024-03-04nvme: split out a nvme_identify_ns_nvm helperChristoph Hellwig1-12/+26
2024-03-04nvme: move common logic into nvme_update_ns_infoChristoph Hellwig1-42/+42
2024-03-04nvme: move setting the write cache flags out of nvme_set_queue_limitsChristoph Hellwig1-3/+2
2024-03-04nvme: move a few things out of nvme_update_disk_infoChristoph Hellwig1-20/+26
2024-03-04nvme: don't use nvme_update_disk_info for the multipath diskChristoph Hellwig1-1/+2
2024-03-04nvme: move blk_integrity_unregister into nvme_init_integrityChristoph Hellwig1-2/+2
2024-03-04nvme: cleanup the nvme_init_integrity calling conventionsChristoph Hellwig1-14/+15
2024-03-04nvme: move max_integrity_segments handling out of nvme_init_integrityChristoph Hellwig1-7/+4
2024-03-04nvme: remove nvme_revalidate_zonesChristoph Hellwig1-1/+1
2024-03-04nvme: move NVME_QUIRK_DEALLOCATE_ZEROES out of nvme_config_discardChristoph Hellwig1-5/+6
2024-03-04nvme: set max_hw_sectors unconditionallyChristoph Hellwig1-8/+8
2024-03-02nvme-fabrics: check max outstanding commandsGuixin Liu1-0/+5
2024-02-13nvme: implement support for relaxed effectsKeith Busch1-0/+4
2024-02-13block: pass a queue_limits argument to blk_mq_alloc_diskChristoph Hellwig1-1/+1
2024-02-13block: pass a queue_limits argument to blk_mq_init_queueChristoph Hellwig1-3/+3
2024-02-12nvme: allow integrity when PI is not in first bytesKanchan Joshi1-1/+7
2024-02-07nvme-core: fix comment to reflect right functionsChaitanya Kulkarni1-2/+2
2024-02-07nvme: move passthrough logging attribute to headKeith Busch1-2/+1
2024-02-01nvme-host: fix the updating of the firmware versionMaurizio Lombardi1-2/+5
2024-02-01nvme: allow passthru cmd error loggingAlan Adamson1-6/+53
2024-01-31nvme: enable retries for authentication commandsHannes Reinecke1-0/+2
2024-01-31nvme: change __nvme_submit_sync_cmd() calling conventionsHannes Reinecke1-7/+12
2024-01-29nvme: use ctrl state accessorKeith Busch1-2/+2
2024-01-24nvme: add module description to stop warningsChaitanya Kulkarni1-0/+1
2024-01-18Merge tag 'for-6.8/block-2024-01-18' of git://git.kernel.dk/linuxLinus Torvalds1-21/+20
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-96/+128
2024-01-03nvme: simplify the max_discard_segments calculationChristoph Hellwig1-8/+5
2024-01-03nvme: fix max_discard_sectors calculationChristoph Hellwig1-11/+9
2024-01-03nvme: also skip discard granularity updates in nvme_config_discardChristoph Hellwig1-3/+1
2024-01-03nvme: update the explanation for not updating the limits in nvme_config_discardChristoph Hellwig1-1/+7
2023-12-21nvme-fabrics: don't check discovery ioccsz/iorcszMax Gurtovoy1-2/+2
2023-12-19nvme-pci: fix sleeping function called from interrupt contextMaurizio Lombardi1-1/+2
2023-12-19nvme: add csi, ms and nuse to sysfsDaniel Wagner1-1/+5
2023-12-19nvme: rename ns attribute groupDaniel Wagner1-1/+1
2023-12-19nvme: refactor ns info setup functionDaniel Wagner1-53/+53
2023-12-19nvme: refactor ns info helpersDaniel Wagner1-15/+21
2023-12-19nvme: move ns id info to struct nvme_ns_headDaniel Wagner1-39/+41
2023-12-06nvme-fabrics: check ioccsz and iorcszGuixin Liu1-0/+14
2023-12-06nvme: introduce nvme_check_ctrl_fabric_info helperGuixin Liu1-18/+24
2023-12-04nvme: fix deadlock between reset and scanBitao Hu1-0/+10
2023-12-04nvme: ensure reset state check orderingKeith Busch1-20/+22
2023-12-01nvme-core: check for too small lba shiftKeith Busch1-2/+3
2023-11-27nvme: check for valid nvme_identify_ns() before using itEwan D. Milne1-0/+9
2023-11-27nvme-core: fix a memory leak in nvme_ns_info_from_identify()Maurizio Lombardi1-2/+5
2023-11-27nvme: fine-tune sending of first keep-aliveMark O'Donovan1-2/+11
2023-11-22nvme: move nvme_stop_keep_alive() back to original positionHannes Reinecke1-1/+1
2023-11-20nvme: catch errors from nvme_configure_metadata()Hannes Reinecke1-6/+13
2023-11-08nvme: keyring: fix conditional compilationHannes Reinecke1-8/+1
2023-11-06nvme: start keep-alive after admin queue setupHannes Reinecke1-3/+3
2023-11-06nvme: update firmware version after commitDaniel Wagner1-1/+14
2023-10-12nvme: rework NVME_AUTH Kconfig selectionHannes Reinecke1-1/+1
2023-10-11nvme-tcp: enable TLS handshake upcallHannes Reinecke1-1/+1
2023-10-11nvme-keyring: register '.nvme' keyringHannes Reinecke1-2/+8
2023-09-14Merge tag 'nvme-6.6-2023-09-14' of git://git.infradead.org/nvme into block-6.6Jens Axboe1-19/+35
2023-09-14nvme: avoid bogus CRTO valuesKeith Busch1-19/+35
2023-07-21nvme: fix possible hang when removing a controller during error recoveryMing Lei1-3/+7
2023-07-13nvme: don't reject probe due to duplicate IDs for single-ported PCIe devicesChristoph Hellwig1-3/+33
2023-07-03Merge tag 'block-6.5-2023-07-03' of git://git.kernel.dk/linuxLinus Torvalds1-1/+5
2023-06-30Merge tag 'nvme-6.5-2023-06-30' of git://git.infradead.org/nvme into block-6.5Jens Axboe1-1/+5
2023-06-30Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-148/+1
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-658/+14
2023-06-21nvme: Print capabilities changes just onceBreno Leitao1-1/+5
2023-06-12nvme: skip optional id ctrl csi if it failedKeith Busch1-1/+4
2023-06-12nvme-core: use nvme_ns_head_multipath instead of ns->head->diskIrvin Cote1-1/+1
2023-06-12nvme: Increase block size variable size to 32-bitDaniel Gomez1-1/+1
2023-06-12nvme-core: remove redundant check from nvme_init_ns_headIrvin Cote1-1/+1
2023-06-12nvme: move sysfs code to a dedicated sysfs.c fileMax Gurtovoy1-654/+2
2023-06-12nvme-core: fix dev_pm_qos memleakChaitanya Kulkarni1-0/+1
2023-06-12nvme-core: add missing fault-injection cleanupChaitanya Kulkarni1-0/+1
2023-06-12nvme-core: fix memory leak in dhchap_ctrl_secretChaitanya Kulkarni1-2/+5
2023-06-12nvme-core: fix memory leak in dhchap_secret_storeChaitanya Kulkarni1-2/+5
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-1/+1
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-2/+2
2023-05-30nvme: improve handling of long keep alivesUday Shankar1-1/+15
2023-05-30nvme: check IO start time when deciding to defer KAUday Shankar1-1/+13
2023-05-30nvme: double KA polling frequency to avoid KATO with TBKAS onUday Shankar1-1/+17
2023-05-30nvme: fix miss command type checkmin15.li1-1/+3
2023-05-22Merge patch series "Use block pr_ops in LIO"Martin K. Petersen1-148/+1
2023-05-18Merge tag 'nvme-6.4-2023-05-18' of git://git.infradead.org/nvme into block-6.4Jens Axboe1-1/+5
2023-05-17nvme: do not let the user delete a ctrl before a complete initializationMaurizio Lombardi1-1/+5
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+3
2023-04-26Merge tag 'for-6.4/block-2023-04-21' of git://git.kernel.dk/linuxLinus Torvalds1-6/+3
2023-04-13nvme: fix double blk_mq_complete_request for timeout request with low probabi...Lei Yin1-2/+2
2023-04-13nvme: fix async event trace eventKeith Busch1-4/+1
2023-04-11nvme: Move pr code to it's own fileMike Christie1-148/+0
2023-04-11nvme: Don't hardcode the data len for pr commandsMike Christie1-6/+7
2023-04-11block: Rename BLK_STS_NEXUS to BLK_STS_RESV_CONFLICTMike Christie1-1/+1
2023-04-05nvme: fix discard support without oncsKeith Busch1-3/+3
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman1-10/+21
2023-03-22nvme: send Identify with CNS 06h only to I/O controllersMartin George1-1/+2
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-3/+3
2023-03-15nvme: fix handling single range discard requestMing Lei1-9/+19
2023-03-03Merge tag 'block-6.3-2023-03-03' of git://git.kernel.dk/linuxLinus Torvalds1-18/+19
2023-02-28nvme: bring back auto-removal of deleted namespaces during sequential scanChristoph Hellwig1-17/+18
2023-02-27nvme: fix sparse warning on effects maskingKeith Busch1-1/+1
2023-02-20Merge tag 'for-6.3/block-2023-02-16' of git://git.kernel.dk/linuxLinus Torvalds1-56/+67
2023-02-07Merge tag 'nvme-6.3-2023-02-07' of git://git.infradead.org/nvme into for-6.3/...Jens Axboe1-53/+66
2023-02-03Merge tag 'block-6.2-2023-02-03' of git://git.kernel.dk/linuxLinus Torvalds1-1/+4
2023-02-03nvme: use bvec_set_virt to initialize special_vecChristoph Hellwig1-3/+1
2023-02-01nvme: mask CSE effects for security receiveKeith Busch1-0/+17
2023-02-01nvme: always initialize known command effectsKeith Busch1-39/+45
2023-02-01nvme: remove nvme_execute_passthru_rqChristoph Hellwig1-14/+4
2023-02-01nvme: clear the request_queue pointers on failure in nvme_alloc_io_tag_setMaurizio Lombardi1-0/+1
2023-02-01nvme: clear the request_queue pointers on failure in nvme_alloc_admin_tag_setMaurizio Lombardi1-1/+3
2023-01-27Merge tag 'block-6.2-2023-01-27' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-01-25nvme: fix passthrough csi checkKeith Busch1-1/+1
2022-12-29Merge tag 'block-6.2-2022-12-29' of git://git.kernel.dk/linuxLinus Torvalds1-7/+27
2022-12-28nvme: also return I/O command effects from nvme_command_effectsChristoph Hellwig1-6/+26
2022-12-26nvme: fix setting the queue depth in nvme_alloc_io_tag_setChristoph Hellwig1-1/+1
2022-12-22Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-2/+31
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-158/+161
2022-12-07nvme: add the Apple shared tag workaround to nvme_alloc_io_tag_setChristoph Hellwig1-1/+7
2022-12-07nvme: only set reserved_tags in nvme_alloc_io_tag_set for fabrics controllersChristoph Hellwig1-1/+2
2022-12-07nvme: consolidate setting the tagset flagsChristoph Hellwig1-6/+9
2022-12-07nvme: pass nr_maps explicitly to nvme_alloc_io_tag_setChristoph Hellwig1-3/+2
2022-12-06nvme: merge nvme_shutdown_ctrl into nvme_disable_ctrlChristoph Hellwig1-23/+10
2022-12-06nvme: use nvme_wait_ready in nvme_shutdown_ctrlChristoph Hellwig1-26/+12
2022-12-06nvme-multipath: support io stats on the mpath deviceSagi Grimberg1-0/+2
2022-12-06nvme: don't call blk_mq_{,un}quiesce_tagset when ctrl->tagset is NULLChristoph Hellwig1-0/+4
2022-12-06nvme initialize core quirks before calling nvme_init_subsystemPankaj Raghav1-4/+4
2022-12-01nvme: Convert NVMe errors to PR errorsMike Christie1-2/+31
2022-11-30nvme: fix SRCU protection of nvme_ns_head listCaleb Sander1-1/+1
2022-11-24driver core: make struct class.dev_uevent() take a const *Greg Kroah-Hartman1-2/+2
2022-11-18nvme: rename the queue quiescing helpersChristoph Hellwig1-12/+12
2022-11-16nvme: return err on nvme_init_non_mdts_limits failJoel Granados1-1/+1
2022-11-16nvme: avoid fallback to sequential scan due to transient issuesUday Shankar1-4/+11
2022-11-16nvme-auth: convert dhchap_auth_list to an arraySagi Grimberg1-0/+4
2022-11-16nvme-auth: no need to reset chap contexts on re-authenticationSagi Grimberg1-4/+0
2022-11-16nvme-auth: guarantee dhchap buffers under memory pressureSagi Grimberg1-0/+6
2022-11-16nvme-auth: don't override ctrl keys before validationSagi Grimberg1-2/+10
2022-11-16nvme-auth: don't ignore key generation failures when initializing ctrl keysSagi Grimberg1-1/+5
2022-11-15nvme: simplify transport specific device attribute handlingChristoph Hellwig1-2/+6
2022-11-15nvme: move OPAL setup from PCIe to coreChristoph Hellwig1-3/+22
2022-11-15nvme: don't call nvme_init_ctrl_finish from nvme_passthru_endChristoph Hellwig1-2/+4
2022-11-15nvme: implement the DEAC bit for the Write Zeroes commandChristoph Hellwig1-1/+12
2022-11-09nvme: quiet user passthrough command errorsKeith Busch1-2/+1
2022-11-02nvme: use blk_mq_[un]quiesce_tagsetChao Leng1-26/+8
2022-11-02blk-mq: pass a tagset to blk_mq_wait_quiesce_doneChristoph Hellwig1-2/+2
2022-11-02nvme: split nvme_kill_queuesChristoph Hellwig1-28/+8
2022-11-02nvme: don't unquiesce the admin queue in nvme_kill_queuesChristoph Hellwig1-4/+0
2022-11-02nvme: remove the NVME_NS_DEAD check in nvme_validate_nsChristoph Hellwig1-4/+0
2022-11-02nvme: remove the NVME_NS_DEAD check in nvme_remove_invalid_namespacesChristoph Hellwig1-1/+1
2022-11-02nvme: don't remove namespaces in nvme_passthru_endChristoph Hellwig1-1/+0
2022-11-02block: set the disk capacity to 0 in blk_mark_disk_deadChristoph Hellwig1-6/+1
2022-10-25blk-mq: move the call to blk_put_queue out of blk_mq_destroy_queueChristoph Hellwig1-2/+8
2022-10-19nvme-hwmon: consistently ignore errors from nvme_hwmon_initChristoph Hellwig1-1/+5
2022-10-19nvme: fix error pointer dereference in error handlingDan Carpenter1-1/+1
2022-10-07Merge tag 'for-6.1/passthrough-2022-10-04' of git://git.kernel.dk/linuxLinus Torvalds1-2/+4
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-14/+126
2022-10-07Merge tag 'for-6.1/io_uring-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2022-09-30Merge tag 'block-6.0-2022-09-29' of git://git.kernel.dk/linuxLinus Torvalds1-3/+3
2022-09-30block: change request end_io handler to pass back a return valueJens Axboe1-2/+4
2022-09-30Merge branch 'for-6.1/io_uring' into for-6.1/passthroughJens Axboe1-0/+1
2022-09-30Merge branch 'for-6.1/block' into for-6.1/passthroughJens Axboe1-14/+126
2022-09-27nvme: add common helpers to allocate and free tagsetsChristoph Hellwig1-0/+102
2022-09-27nvme: send a rediscover uevent when a persistent discovery controller reconnectsSagi Grimberg1-0/+10
2022-09-27nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devicesMichael Kelley1-3/+3
2022-09-27nvme: copy firmware_rev on each initKeith Busch1-1/+2
2022-09-27nvme: handle effects after freeing the requestKeith Busch1-11/+6
2022-09-21nvme: wire up async polling for io passthrough commandsKanchan Joshi1-0/+1
2022-09-19nvme: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-09-19nvme: add comment for unaligned "fake" nqnLinjun Bao1-1/+5
2022-09-09Merge tag 'block-6.0-2022-09-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+11
2022-09-07nvme: requeue aen after firmware activationKeith Busch1-3/+11
2022-08-06Merge tag 'dma-mapping-5.20-2022-08-06' of git://git.infradead.org/users/hch/...Linus Torvalds1-1/+2
2022-08-02nvme: enable generic interface (/dev/ngXnY) for unknown command setsJoel Granados1-7/+34
2022-08-02nvme: factor out a nvme_ns_is_readonly helperChristoph Hellwig1-5/+10
2022-08-02nvme: refactor namespace probingChristoph Hellwig1-105/+125
2022-08-02nvme: generalize the nvme_multi_css check in nvme_scan_nsChristoph Hellwig1-6/+6
2022-08-02nvme: rename nvme_validate_or_alloc_ns to nvme_scan_nsChristoph Hellwig1-3/+3
2022-08-02nvme: catch -ENODEV from nvme_revalidate_zones againChristoph Hellwig1-6/+7
2022-08-02nvme: define compat_ioctl again to unbreak 32-bit userspace.Nick Bowler1-0/+1
2022-08-02nvme-multipath: refactor nvme_mpath_add_diskJoel Granados1-1/+1
2022-08-02nvme: implement In-Band authenticationHannes Reinecke1-4/+139
2022-08-02nvme: fix qid param blk_mq_alloc_request_hctxChaitanya Kulkarni1-1/+1
2022-08-02nvme: remove unused timeout parameterChaitanya Kulkarni1-8/+4
2022-08-02nvme: handle the persistent internal error AERMichael Kelley1-2/+29
2022-08-02Merge tag 'for-5.20/block-2022-07-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+2