From 84dcf099c2aa5bf6eb2296b43c280e1b63e580ee Mon Sep 17 00:00:00 2001 From: Brandon Paupore Date: Thu, 5 Feb 2026 13:29:20 -0600 Subject: [PATCH] plugin: cleanup vs-internal-log documentation Some of these statements are out of date and missing important clarifying information. This attempts to clear that up and point out some parameters that are now deprecated. Signed-off-by: Brandon Paupore Reviewed-by: Jeffrey Lien --- Documentation/nvme-sndk-vs-internal-log.txt | 36 ++++++++++++--------- Documentation/nvme-wdc-vs-internal-log.txt | 32 ++++++++++-------- plugins/sandisk/sandisk-nvme.c | 12 ++++--- plugins/wdc/wdc-nvme.c | 12 ++++--- 4 files changed, 56 insertions(+), 36 deletions(-) diff --git a/Documentation/nvme-sndk-vs-internal-log.txt b/Documentation/nvme-sndk-vs-internal-log.txt index c35303bbff..7a9e2376a6 100644 --- a/Documentation/nvme-sndk-vs-internal-log.txt +++ b/Documentation/nvme-sndk-vs-internal-log.txt @@ -39,31 +39,37 @@ OPTIONS -d :: --data-area=:: - DUI data area to retrieve. The DUI data areas from 1 to will - be retrieved. This parameter is currently only supported on the SN340, - SN640, SN730, and SN840 devices. + Data area to retrieve. For capture with a --type value that includes + telemetry (CONTROLLER or HOST), this specifies the NVMe telemetry data + area to capture, containing data from areas 1 to . For + capture without such a --type value, this specifies the amount of + vendor defined debug data to capture, and this is only supported on the + SN340, SN350, SN530, SN570, SN730, SN740, SN840, SN850X, SN5000, + SN5100S, SN7000S, SN7100, and SN7150 devices. -f :: --file-size=:: - Specifies the desired size of the data file starting at the passed in - offset. This allows the user to retrieve the data in several smaller - files of the passed in size. This parameter is currently only supported - on the SN340 device. + Deprecated. Specifies the desired size of the data file starting at the + passed in offset. This allows the user to retrieve the data in several + smaller files of the passed in size. This parameter is only supported on + the devices mentioned in the documentation of the --data-area parameter, + and only for capture with --type=NONE or --type not specified. -e :: --offset=:: - Specifies the data offset at which to start retrieving the data. This - parameter is used in combination with the file size parameter to - retrieve the data in several smaller files. This parameter is currently - only supported on the SN340 device. + Deprecated. Specifies the data offset at which to start retrieving the + data. This parameter is used in combination with the file size parameter + to retrieve the data in several smaller files. This parameter is only + supported on the devices mentioned in the documentation of the + --data-area parameter, and only for capture with --type=NONE or --type + not specified. -t :: --type=:: Specifies the telemetry type - NONE, HOST, or CONTROLLER. This parameter - is used to get either the host generated or controller initiated - telemetry log page. If not specified or none is specified, the command - will return the default E6 log data. This parameter is currently only - supported on the SN640 and SN840 devices. + is used to get either the host-initiated or controller-initiated + telemetry log page. If not specified or if is NONE, the command + will return vendor defined debug data. -v :: --verbose=:: diff --git a/Documentation/nvme-wdc-vs-internal-log.txt b/Documentation/nvme-wdc-vs-internal-log.txt index 08f585b5ba..c8a1723a31 100644 --- a/Documentation/nvme-wdc-vs-internal-log.txt +++ b/Documentation/nvme-wdc-vs-internal-log.txt @@ -31,39 +31,45 @@ OPTIONS -o :: --output-file=:: Output file; defaults to device serial number followed by - "_internal_fw_log__