]> git.infradead.org Git - users/hch/nvme-cli.git/log
users/hch/nvme-cli.git
4 years agoPrint human readable output for get_features test master
Narasimhan V [Thu, 6 Aug 2020 14:13:09 +0000 (19:43 +0530)]
Print human readable output for get_features test

Printing human readable output for get_features selftest.

Signed-off-by: Narasimhan V <sim@linux.vnet.ibm.com>
4 years agoGetting interrupt list only for current controller
Narasimhan V [Thu, 6 Aug 2020 14:09:58 +0000 (19:39 +0530)]
Getting interrupt list only for current controller

Recently there was a fix for getting the interrupt vector list in
get_features selftest. That gets the list for all nvme controllers
in the system. Fixing it by getting the list for only current
controller.

Signed-off-by: Narasimhan V <sim@linux.vnet.ibm.com>
4 years ago[nvme-cli] Updated documentation files for vs-smart-add-log wdc plugin command
Jeff Lien [Wed, 5 Aug 2020 20:35:42 +0000 (15:35 -0500)]
[nvme-cli] Updated documentation files for vs-smart-add-log wdc plugin command

4 years ago[nvme-cli] Add log page mask parameter to vs-smart-add-log wdc plugin command.
Jeff Lien [Wed, 5 Aug 2020 19:52:59 +0000 (14:52 -0500)]
[nvme-cli] Add log page mask parameter to vs-smart-add-log wdc plugin command.

4 years agoadd support for issuing simple copy commands
Klaus Jensen [Thu, 2 Apr 2020 07:46:12 +0000 (09:46 +0200)]
add support for issuing simple copy commands

Add support for NVMe TP 4065a ("Simple Copy Command"), v2020.05.04
("Ratified").

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Co-authored-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years ago[NVMe-CLI] Add support for vs-fw-activate-history and clear-fw-activate-history
Jeff Lien [Mon, 20 Jul 2020 15:45:58 +0000 (10:45 -0500)]
[NVMe-CLI] Add support for vs-fw-activate-history and clear-fw-activate-history
      in wdc plugins for SN345

4 years ago[NVMe-CLI] Add support for clear-pcie-correctable-error in wdc plugins
Jeff Lien [Mon, 20 Jul 2020 14:42:46 +0000 (09:42 -0500)]
[NVMe-CLI] Add support for clear-pcie-correctable-error in wdc plugins
  for SN345

4 years agoMicron plugin and documentation updates
Hanumanthu H [Thu, 30 Jul 2020 17:00:03 +0000 (22:30 +0530)]
Micron plugin and documentation updates

4 years agoMicron plugin and documentation updates
Hanumanthu H [Thu, 30 Jul 2020 16:58:26 +0000 (22:28 +0530)]
Micron plugin and documentation updates

4 years agoImprove pretty print of the ZNS Command Set Identify Namespace command
Matias Bjørling [Wed, 29 Jul 2020 20:37:56 +0000 (20:37 +0000)]
Improve pretty print of the ZNS Command Set Identify Namespace command

- Add pretty print for mar, mor, rrl, and frl fields.
- Clarity Zone Size that value is reported in hex.
- Add header text for the zoc and ozcs fields.

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years agoHandling system error #768
Steven Seungcheol Lee [Fri, 3 Jul 2020 02:33:15 +0000 (11:33 +0900)]
Handling system error #768

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agoAdd missing dependencies on systemd & systemd-udev
Darrin Smart [Fri, 24 Jul 2020 03:46:19 +0000 (20:46 -0700)]
Add missing dependencies on systemd & systemd-udev

For /usr/bin/udevadm and /usr/bin/systemctl

4 years agoAdd rpm build output on gitignore
Steven Seungcheol Lee [Fri, 17 Jul 2020 06:14:33 +0000 (15:14 +0900)]
Add rpm build output on gitignore

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agoAdded documentation for capabilities command
Brandon Paupore [Mon, 13 Jul 2020 15:12:07 +0000 (10:12 -0500)]
Added documentation for capabilities command

4 years agoFinished implementing capabilities checks
Brandon Paupore [Mon, 13 Jul 2020 14:33:16 +0000 (09:33 -0500)]
Finished implementing capabilities checks

4 years agoSpacing fix
Brandon Paupore [Mon, 13 Jul 2020 13:37:10 +0000 (08:37 -0500)]
Spacing fix

4 years agoInitial coding for new command 'capabilities', also create PCIE_CLEAR_MASK
Brandon Paupore [Fri, 10 Jul 2020 22:58:12 +0000 (17:58 -0500)]
Initial coding for new command 'capabilities', also create PCIE_CLEAR_MASK

4 years agouse normal alloc for fw download
Keith Busch [Thu, 16 Jul 2020 13:33:28 +0000 (06:33 -0700)]
use normal alloc for fw download

Huge pages are only helpful for large transfers that may exceed the
driver's max segment limit. Unless a fw download wants to exceed that
transfer length, use normal allocation.

Link: https://github.com/linux-nvme/nvme-cli/issues/775
Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agoformat: rescan after format for character device linux-nvme #709
Steven Seungcheol Lee [Mon, 13 Jul 2020 10:33:33 +0000 (19:33 +0900)]
format: rescan after format for character device linux-nvme #709

re-read partition table is only vaild for block device
so do namespaces rescan for character device

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agoAdded global namespace and device id display
Brandon Paupore [Tue, 23 Jun 2020 17:10:18 +0000 (12:10 -0500)]
Added global namespace and device id display

4 years agoReformatted text output to match other plugins
Brandon Paupore [Tue, 16 Jun 2020 17:37:07 +0000 (12:37 -0500)]
Reformatted text output to match other plugins

4 years agonvme-print: zns mar/mor fields are 32 bits
Klaus Jensen [Wed, 1 Jul 2020 06:29:42 +0000 (08:29 +0200)]
nvme-print: zns mar/mor fields are 32 bits

Fix the conversion from 16 to 32 bits.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoFixed some spacing
Brandon Paupore [Tue, 30 Jun 2020 19:00:08 +0000 (14:00 -0500)]
Fixed some spacing

4 years agoAdded support for device 0x5006 to clear-pcie-correctable-error
Brandon Paupore [Fri, 19 Jun 2020 18:38:00 +0000 (13:38 -0500)]
Added support for device 0x5006 to clear-pcie-correctable-error

4 years agoAdded missing semicolon
Brandon Paupore [Thu, 25 Jun 2020 18:38:08 +0000 (13:38 -0500)]
Added missing semicolon

4 years agoAdded DITT explanation and cleaned up spacing
Brandon [Wed, 24 Jun 2020 15:28:50 +0000 (08:28 -0700)]
Added DITT explanation and cleaned up spacing

4 years agoAdded documentation for temperature stats function
Brandon Paupore [Tue, 23 Jun 2020 19:51:33 +0000 (14:51 -0500)]
Added documentation for temperature stats function

4 years agoAdded device support check for temp stats command
Brandon Paupore [Tue, 23 Jun 2020 18:36:28 +0000 (13:36 -0500)]
Added device support check for temp stats command

4 years agoCorrected the output of TMT1 and 2
Brandon Paupore [Tue, 23 Jun 2020 14:23:14 +0000 (07:23 -0700)]
Corrected the output of TMT1 and 2

4 years agoImplemented additional statistics to display
Brandon Paupore [Mon, 22 Jun 2020 17:38:17 +0000 (12:38 -0500)]
Implemented additional statistics to display

4 years agoAdded temperature information getting and text formatting
Brandon Paupore [Fri, 19 Jun 2020 21:45:08 +0000 (16:45 -0500)]
Added temperature information getting and text formatting

4 years agoInitial coding
Randy Bates [Thu, 30 Apr 2020 21:20:34 +0000 (16:20 -0500)]
Initial coding

4 years agocorrect some prompt
Wei Hou [Mon, 29 Jun 2020 04:58:52 +0000 (12:58 +0800)]
correct some prompt

Signed-off-by: Wei Hou <wei.hou@scaleflux.com>
4 years agocorrect some prompt
Wei Hou [Mon, 29 Jun 2020 04:53:59 +0000 (12:53 +0800)]
correct some prompt

Signed-off-by: Wei Hou <wei.hou@scaleflux.com>
4 years agodo capacity change check
Wei Hou [Wed, 17 Jun 2020 03:28:12 +0000 (11:28 +0800)]
do capacity change check

Signed-off-by: Wei Hou <wei.hou@scaleflux.com>
4 years agosfx: add set/get-feature sub cmd
Wei Hou [Thu, 11 Jun 2020 05:46:29 +0000 (13:46 +0800)]
sfx: add set/get-feature sub cmd

Signed-off-by: Wei Hou <wei.hou@scaleflux.com>
4 years agoAdd zone-mgmt-recv parameters to issue command
Steven Seungcheol Lee [Tue, 30 Jun 2020 06:09:13 +0000 (15:09 +0900)]
Add zone-mgmt-recv parameters to issue command

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agonvme zns: close device fd in id_ctrl() func
Aravind Ramesh [Mon, 29 Jun 2020 04:52:07 +0000 (10:22 +0530)]
nvme zns: close device fd in id_ctrl() func

closed fd in id_ctrl() function.
added le32_to_cpu conversion to frl and rrl fields in print functions.

Signed-off-by: Aravind Ramesh <Aravind.Ramesh@wdc.com>
4 years agonvme zns: segmentation fault in cmd "nvme zns zone-mgmt-send"
Aravind Ramesh [Mon, 29 Jun 2020 04:49:29 +0000 (10:19 +0530)]
nvme zns: segmentation fault in cmd "nvme zns zone-mgmt-send"

zone_mgmt_send function calls strlen() on a null ptr causing the
segmentation fault. Check the pointer instead of len.

Signed-off-by: Aravind Ramesh <Aravind.Ramesh@wdc.com>
4 years agoMerge branch 'master' of https://github.com/linux-nvme/nvme-cli
Keith Busch [Fri, 26 Jun 2020 22:17:35 +0000 (15:17 -0700)]
Merge branch 'master' of https://github.com/linux-nvme/nvme-cli

4 years agoiocs fixes
Keith Busch [Fri, 26 Jun 2020 22:16:03 +0000 (15:16 -0700)]
iocs fixes

Remove bit fields. We can't rely on their byte order.

Remove iocs feature payload, since there isn't one with this feature.
The iocs profile points to an entry in the identify iocs array.

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agostart continuous integration
Keith Busch [Fri, 26 Jun 2020 20:46:44 +0000 (14:46 -0600)]
start continuous integration

Help reduce compile breakage

4 years agofix compile errors from recent pr
Keith Busch [Fri, 26 Jun 2020 20:43:26 +0000 (13:43 -0700)]
fix compile errors from recent pr

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agoFix spacing issue.
Jeff Lien [Fri, 26 Jun 2020 13:45:29 +0000 (08:45 -0500)]
Fix spacing issue.

4 years agoAdd support for ZN345 drive.
Jeff Lien [Fri, 26 Jun 2020 13:37:38 +0000 (08:37 -0500)]
Add support for ZN345 drive.

4 years agozns: getting zdes logic using exist function, data_len should be in bytes
Steven Seungcheol Lee [Fri, 26 Jun 2020 10:11:37 +0000 (19:11 +0900)]
zns: getting zdes logic using exist function, data_len should be in bytes

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agozns: nsid is used for zone-mgmt-send exception handling
Steven Seungcheol Lee [Fri, 26 Jun 2020 10:09:51 +0000 (19:09 +0900)]
zns: nsid is used for zone-mgmt-send exception handling

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agonvme-print: streamline show-regs output
Klaus Jensen [Thu, 25 Jun 2020 13:41:43 +0000 (15:41 +0200)]
nvme-print: streamline show-regs output

Fix mixed tabs/spaces use in show-regs pretty print and align tabulated
output.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoUpdates from pull request review
Randy Bates [Tue, 23 Jun 2020 22:04:15 +0000 (17:04 -0500)]
Updates from pull request review

Signed-off-by: Randy Bates <randall.bates@wdc.com>
4 years agoUpdate and Parse FB log page
Randy Bates [Tue, 23 Jun 2020 19:23:41 +0000 (14:23 -0500)]
Update and Parse FB log page

Signed-off-by: Randy Bates <randall.bates@wdc.com>
4 years agoAdd Debian installation instructions
Stephen Kitt [Tue, 23 Jun 2020 09:54:10 +0000 (11:54 +0200)]
Add Debian installation instructions

Signed-off-by: Stephen Kitt <steve@sk2.org>
4 years agofix 32-bit build
Keith Busch [Tue, 23 Jun 2020 14:35:17 +0000 (07:35 -0700)]
fix 32-bit build

sizeof() is different on 32 and 64 bit.

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agoMerge branch 'MatiasBjorling-prettifyzns'
Keith Busch [Tue, 23 Jun 2020 14:31:16 +0000 (07:31 -0700)]
Merge branch 'MatiasBjorling-prettifyzns'

4 years agoAdd latency check for zone-append
Steven Seungcheol Lee [Fri, 19 Jun 2020 11:26:20 +0000 (20:26 +0900)]
Add latency check for zone-append

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoModify changed zone list command to issue get-log
Steven Seungcheol Lee [Mon, 19 Aug 2019 07:32:25 +0000 (09:32 +0200)]
Modify changed zone list command to issue get-log

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoAdd exception for zone management send command
Klaus Jensen [Tue, 24 Sep 2019 12:54:52 +0000 (14:54 +0200)]
Add exception for zone management send command

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Co-authored-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agozone-mgmt-recv report size bug fix
Steven Seungcheol Lee [Fri, 19 Jun 2020 08:11:08 +0000 (17:11 +0900)]
zone-mgmt-recv report size bug fix

if extended report issued, then report will be zone descriptor + zone descriptor extention
zdes value  is  reported  in  64B  units

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoAdd zoned namespaces identify human readable print
Klaus Jensen [Tue, 14 Apr 2020 10:31:50 +0000 (12:31 +0200)]
Add zoned namespaces identify human readable print

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Co-authored-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agoadd fields and types for zoned namespaces
Klaus Jensen [Tue, 14 Apr 2020 09:43:29 +0000 (11:43 +0200)]
add fields and types for zoned namespaces

zamds renamed as zasl(Zone Append Size Limit)

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Co-authored-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agoAlign print of zns id_ctrl with nvm id_ctrl
Matias Bjørling [Tue, 23 Jun 2020 14:06:50 +0000 (14:06 +0000)]
Align print of zns id_ctrl with nvm id_ctrl

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years agoAdd support for printing vs area in zns id ns
Matias Bjørling [Tue, 23 Jun 2020 14:00:14 +0000 (14:00 +0000)]
Add support for printing vs area in zns id ns

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years agoAlign print of zns id_ns with nvm id_ns
Matias Bjørling [Tue, 23 Jun 2020 13:54:00 +0000 (13:54 +0000)]
Align print of zns id_ns with nvm id_ns

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years agoAdd latency check for zone-append
Steven Seungcheol Lee [Fri, 19 Jun 2020 11:26:20 +0000 (20:26 +0900)]
Add latency check for zone-append

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoModify changed zone list command to issue get-log
Steven Seungcheol Lee [Mon, 19 Aug 2019 07:32:25 +0000 (09:32 +0200)]
Modify changed zone list command to issue get-log

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoAdd exception for zone management send command
Klaus Jensen [Tue, 24 Sep 2019 12:54:52 +0000 (14:54 +0200)]
Add exception for zone management send command

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Co-authored-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agozone-mgmt-recv report size bug fix
Steven Seungcheol Lee [Fri, 19 Jun 2020 08:11:08 +0000 (17:11 +0900)]
zone-mgmt-recv report size bug fix

if extended report issued, then report will be zone descriptor + zone descriptor extention
zdes value  is  reported  in  64B  units

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoAdd zoned namespaces identify human readable print
Klaus Jensen [Tue, 14 Apr 2020 10:31:50 +0000 (12:31 +0200)]
Add zoned namespaces identify human readable print

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Co-authored-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agoadd fields and types for zoned namespaces
Klaus Jensen [Tue, 14 Apr 2020 09:43:29 +0000 (11:43 +0200)]
add fields and types for zoned namespaces

zamds renamed as zasl(Zone Append Size Limit)

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Co-authored-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
4 years agoRemove lx text from reporting
Matias Bjørling [Mon, 22 Jun 2020 13:37:41 +0000 (13:37 +0000)]
Remove lx text from reporting

When reporting zones, the lx text was not removed when the type was
changed to be PRIx64.

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years agoCapitalize LBA in descriptions within the ZNS plugin
Matias Bjørling [Mon, 22 Jun 2020 13:13:14 +0000 (13:13 +0000)]
Capitalize LBA in descriptions within the ZNS plugin

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years ago[NVMe-CLI] WDC Plugin update documentation for vs-smart-add-log command
Jeff Lien [Mon, 22 Jun 2020 14:45:48 +0000 (09:45 -0500)]
[NVMe-CLI] WDC Plugin update documentation for vs-smart-add-log command

4 years ago[NVME CLI] WDC Plugin Command Updates
Jeff Lien [Mon, 22 Jun 2020 14:39:48 +0000 (09:39 -0500)]
[NVME CLI] WDC Plugin Command Updates
Add support for using uuid index when retrieving the 0xC2 Log Page
Add support for parsing the 0xC0 log page

4 years agoVarious cleanups in the ZNS plugin
Matias Bjørling [Mon, 22 Jun 2020 12:25:10 +0000 (12:25 +0000)]
Various cleanups in the ZNS plugin

Changed verbose option to be the human readable option, such that it
aligns with the behavior of NVM id-ns and NVM id-ctrl.

Fix typos.

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years agoAdd really pretty print for ZNS Command Set specific Identify Namespace data structure
Matias Bjørling [Fri, 19 Jun 2020 15:24:59 +0000 (15:24 +0000)]
Add really pretty print for ZNS Command Set specific Identify Namespace data structure

Updated the printing of the zone list to be a lot prettier.

Also added extension support.

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
Signed-off-by: Aravind Ramesh <aravind.ramesh@wdc.com>
4 years agoAllow 0 value of ctrl_loss_tmo.
Aleksei Marov [Fri, 19 Jun 2020 15:10:07 +0000 (18:10 +0300)]
Allow 0 value of ctrl_loss_tmo.

4 years agoAdd warning if not all zone changed list entries are retrieved.
Hans Holmberg [Fri, 19 Jun 2020 13:52:32 +0000 (13:52 +0000)]
Add warning if not all zone changed list entries are retrieved.

The Changed Zone List only support reporting of a maximum of 511 entries.

Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
4 years agoAdded new namespace list command on list-ns, 4056 modification added
Steven Seungcheol Lee [Fri, 19 Jun 2020 02:12:27 +0000 (11:12 +0900)]
Added new namespace list command on list-ns, 4056 modification added

feature added for I/O Command Set Profile
create ns need to use command set identifier
nvscc renamed as icsvscc

Spec : NVMe - TP 4056 Namespace Types 2020.06.15 - Ratified

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoIdentify I/O Command Set data structure command added
Steven Seungcheol Lee [Fri, 19 Jun 2020 01:54:56 +0000 (10:54 +0900)]
Identify I/O Command Set data structure command added

Spec : NVMe - TP 4056 Namespace Types 2020.06.15 - Ratified

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Co-authored-by: Klaus Jensen <k.jensen@samsung.com>
4 years agoPrevent compiler from optimizing mmio_read64 to single 64b read
Adam Judge [Tue, 9 Jun 2020 19:58:49 +0000 (15:58 -0400)]
Prevent compiler from optimizing mmio_read64 to single 64b read

4 years agoAdd support for DUI data header version 4.
Jian Ding [Wed, 20 May 2020 14:14:23 +0000 (07:14 -0700)]
Add support for DUI data header version 4.

4 years agoDRV-1050 Update SN730 to support DUI data header version 4
Jeff Lien [Thu, 11 Jun 2020 20:35:14 +0000 (15:35 -0500)]
DRV-1050 Update SN730 to support DUI data header version 4
  Added version 4 structs and version checking logic

4 years agoioctl: fix missing addrof
Klaus Jensen [Wed, 17 Jun 2020 22:03:40 +0000 (00:03 +0200)]
ioctl: fix missing addrof

Submit the address, not the value in the zone append ioctl.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
4 years agofix manpage name
Keith Busch [Wed, 17 Jun 2020 17:13:43 +0000 (02:13 +0900)]
fix manpage name

Signed-off-by: Keith Busch <keith.busch@wdc.com>
4 years agoadd missing manpage to repo
Keith Busch [Wed, 17 Jun 2020 16:58:38 +0000 (09:58 -0700)]
add missing manpage to repo

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agoreport all zones if no user override
Keith Busch [Tue, 16 Jun 2020 20:57:46 +0000 (13:57 -0700)]
report all zones if no user override

default to report all zones if the user didn't request a specific number
of descriptors.

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agozns id-ns json output
Keith Busch [Tue, 16 Jun 2020 20:40:29 +0000 (13:40 -0700)]
zns id-ns json output

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agofix print for zns id ns
Keith Busch [Tue, 16 Jun 2020 20:26:47 +0000 (13:26 -0700)]
fix print for zns id ns

newlines

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agofix zns csn identify values
Keith Busch [Tue, 16 Jun 2020 20:24:45 +0000 (13:24 -0700)]
fix zns csn identify values

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agoadd zns documentation
Keith Busch [Tue, 16 Jun 2020 15:06:09 +0000 (08:06 -0700)]
add zns documentation

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agosupport for zoned command set
Keith Busch [Mon, 8 Jun 2020 23:13:50 +0000 (16:13 -0700)]
support for zoned command set

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agorelease v1.12 v1.12
Keith Busch [Tue, 16 Jun 2020 15:10:33 +0000 (08:10 -0700)]
release v1.12

We're about to introduce major updates from new TPs, so now seems a good time
to tag a new release. Shortlog below.

Adam Judge (1):
      Fix PMRMSC.CMSE bitmask

Brandon Paupore (2):
      Updated/Added device IDs for SN440, ZN440, and SN640
      Corrected text output in FW activation history

Chaitanya Kulkarni (2):
      nvme: fix compiler warnings
      nvme: allow addr family to recognize loop

James Yang (1):
      Adding ScaleFlux subcommands

Jian Ding (1):
      fix apsrintf return check

KLZ-0 (3):
      controller list argument is required in attach-ns/detach-ns commands Empty controller-id list in the ioctl call for attach/detach of namespace results effectively in no operation, yet the nvme cli reports falsely success. The controller id list must be specified with at least 1 controller in the list.
      Emit a warning message when no controller-id is specified
      Improve error message

Keith Busch (5):
      Tag release with broken build fixes
      fixes for 32-bits
      fix uninitialized value warning
      fix id-ctrl power printa
      release v1.12

Martin George (1):
      fabrics: write reconnect_delay to fabrics device on connect

Martin Wilck (6):
      connect-all: add -m/--matching option
      nvmf-connect@.service: use nvme connect-all --matching
      doc: nvme-connect-all: document -m / --matching
      doc: nvme-connect-all: document -p / --persistent
      doc: nvme-connect-all: document -q / --quiet
      doc: nvme-connect-all: regenerate HTML and man pages

Randy (1):
      Add log page CA parsing

Randy Bates (4):
      Bug fixes
      Fix segmentation if invalid customer id
      Update systemd required version.
      Add customer id 0x101

Steven Seungcheol Lee (2):
      nvme.c: remove side effects from older commit
      format: skipping re-read partition for same lbaf or All NS

Tokunori Ikegami (1):
      MAINT: nvme-cli: Add LF code into error messages

Tomasz Kulasek (1):
      remove block device checking for namespace

Wu Bo (2):
      nvme-cli:lightnvm:fix fd leak when do ioctl failed
      nvme-cli:nvme:fix fd leak when an error occurs

Yi Zhang (1):
      nvme-print: nvme list -o json fix

Zhouhua Liu (1):
      nvme-cli: Add huawei vendor id as filter in command "nvme huawei list"

丁剑 (2):
      [memblaze] add select-download command
      [SMART] add more smart info

Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agoCorrected text output in FW activation history
Brandon Paupore [Wed, 10 Jun 2020 20:32:45 +0000 (15:32 -0500)]
Corrected text output in FW activation history

4 years agonvme: allow addr family to recognize loop
Chaitanya Kulkarni [Tue, 21 Apr 2020 21:12:54 +0000 (14:12 -0700)]
nvme: allow addr family to recognize loop

This adds ability to decode discovery log page address family
when NVMeOF configured as loop.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <keith.busch@wdc.com>
4 years agoUpdated/Added device IDs for SN440, ZN440, and SN640
Brandon Paupore [Thu, 11 Jun 2020 16:12:15 +0000 (11:12 -0500)]
Updated/Added device IDs for SN440, ZN440, and SN640

4 years agofix id-ctrl power printa
Keith Busch [Wed, 10 Jun 2020 20:19:23 +0000 (05:19 +0900)]
fix id-ctrl power printa

Link: https://github.com/linux-nvme/nvme-cli/issues/735
Signed-off-by: Keith Busch <keith.busch@wdc.com>
4 years agoFix PMRMSC.CMSE bitmask
Adam Judge [Tue, 9 Jun 2020 19:35:27 +0000 (15:35 -0400)]
Fix PMRMSC.CMSE bitmask

4 years agofix uninitialized value warning
Keith Busch [Thu, 28 May 2020 20:44:58 +0000 (13:44 -0700)]
fix uninitialized value warning

Link: https://github.com/linux-nvme/nvme-cli/issues/728
Signed-off-by: Keith Busch <kbusch@kernel.org>
4 years agoAdding ScaleFlux subcommands
James Yang [Tue, 26 May 2020 23:45:36 +0000 (16:45 -0700)]
Adding ScaleFlux subcommands

Signed-off-by: James Yang <james.yang@scaleflux.com>
4 years agoAdd customer id 0x101
Randy Bates [Wed, 27 May 2020 22:50:18 +0000 (17:50 -0500)]
Add customer id 0x101

Signed-off-by: Randy Bates <randall.bates@wdc.com>
4 years agonvme-cli: Add huawei vendor id as filter in command "nvme huawei list"
Zhouhua Liu [Fri, 22 May 2020 03:40:40 +0000 (11:40 +0800)]
nvme-cli: Add huawei vendor id as filter in command "nvme huawei list"

Add huawei vendor id as filter in command "nvme huawei list".

Signed-off-by: Zhouhua Liu <liuzhouhua@huawei.com>