1. 17 Jun, 2021 1 commit
    • JK Kim's avatar
      nvme-pci: fix var. type for increasing cq_head · a0aac973
      JK Kim authored
      nvmeq->cq_head is compared with nvmeq->q_depth and changed the value
      and cq_phase for handling the next cq db.
      
      but, nvmeq->q_depth's type is u32 and max. value is 0x10000 when
      CQP.MSQE is 0xffff and io_queue_depth is 0x10000.
      
      current temp. variable for comparing with nvmeq->q_depth is overflowed
      when previous nvmeq->cq_head is 0xffff.
      
      in this case, nvmeq->cq_phase is not updated.
      so, fix data type for temp. variable to u32.
      Signed-off-by: default avatarJK Kim <jongkang.kim2@gmail.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      a0aac973
  2. 16 Jun, 2021 7 commits
  3. 15 Jun, 2021 16 commits
  4. 14 Jun, 2021 1 commit
  5. 09 Jun, 2021 6 commits
  6. 08 Jun, 2021 1 commit
    • Jens Axboe's avatar
      Merge tag 'nvme-5.14-2021-06-08' of git://git.infradead.org/nvme into for-5.14/drivers · 600abd34
      Jens Axboe authored
      Pull NVMe updates from Christoph:
      
      "nvme updates for Linux 5.14
      
       - improve the APST configuration algorithm (Alexey Bogoslavsky)
       - look for StorageD3Enable on companion ACPI device (Mario Limonciello)
       - allow selecting the network interface for TCP connections
         (Martin Belanger)
       - misc cleanups (Amit Engel, Chaitanya Kulkarni, Colin Ian King, me)"
      
      * tag 'nvme-5.14-2021-06-08' of git://git.infradead.org/nvme:
        nvmet: remove a superfluous variable
        nvmet: move ka_work initialization to nvmet_alloc_ctrl
        nvme: remove nvme_{get,put}_ns_from_disk
        nvme: split nvme_report_zones
        nvme: move the CSI sanity check into nvme_ns_report_zones
        nvme: add a sparse annotation to nvme_ns_head_ctrl_ioctl
        nvme: open code nvme_put_ns_from_disk in nvme_ns_head_ctrl_ioctl
        nvme: open code nvme_{get,put}_ns_from_disk in nvme_ns_head_ioctl
        nvme: open code nvme_put_ns_from_disk in nvme_ns_head_chr_ioctl
        nvme-fabrics: remove extra braces
        nvme-fabrics: remove an extra comment
        nvme-fabrics: remove extra new lines in the switch
        nvme-fabrics: fix the kerneldco comment for nvmf_log_connect_error()
        nvme-tcp: allow selecting the network interface for connections
        nvme-pci: look for StorageD3Enable on companion ACPI device instead
        nvme: extend and modify the APST configuration algorithm
        nvme: remove redundant initialization of variable ret
      600abd34
  7. 03 Jun, 2021 8 commits