1
0
Fork 0

Merging upstream version 2.9.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 12:26:52 +01:00
parent bb95f41000
commit 698d985f9d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
451 changed files with 5896 additions and 2734 deletions

View file

@ -453,6 +453,20 @@ nvme_list_opts () {
opts+=" --opcode= -O --namespace-id= -n --data-len= -l \
--nmimt= -m --nmd0= -0 --nmd1= -1 --input-file= -i"
;;
"get-reg")
opts+=" --offset, -O --human-readable -H --cap --vs --cmbloc \
--cmbsz --bpinfo --cmbsts --cmbebs --cmbswtp --crto \
--pmrcap --pmrsts --pmrebs --pmrswtp --intms --intmc \
--cc --csts --nssr --aqa --asq --acq --bprsel --bpmbl \
--cmbmsc --nssd --pmrctl --pmrmscl --pmrmscu \
--output-format -o --verbose -v"
;;
"set-reg")
opts+=" --offset, -O --value= -V --mmio32 -m --intms= --intmc= \
--cc= --csts= --nssr= --aqa= --asq= --acq= --bprsel= \
--bpmbl= --cmbmsc= --nssd= --pmrctl= --pmrmscl= \
--pmrmscu= --output-format= -o --verbose= -v"
;;
"version")
opts+=$NO_OPTS
;;
@ -1444,6 +1458,15 @@ plugin_ocp_opts () {
"telemetry-string-log")
opts+=" --output-file= -o"
;;
"set-telemetry-profile")
opts+=" --telemetry-profile-select= -t"
;;
"set-dssd-async-event-config")
opts+=" --enable-panic-notices -e --save -s"
;;
"get-dssd-power-state-feature")
opts+=" --sel= -S"
;;
"help")
opts+=$NO_OPTS
;;
@ -1519,7 +1542,9 @@ _nvme_subcmds () {
clear-fw-activate-history eol-plp-failure-mode \
clear-pcie-correctable-error-counters \
vs-fw-activate-history device-capability-log \
set-dssd-power-state-feature telemetry-string-log"
set-dssd-power-state-feature telemetry-string-log \
set-telemetry-profile set-dssd-async-event-config \
get-dssd-async-event-config"
)
# Associative array mapping plugins to corresponding option completions
@ -1571,7 +1596,7 @@ _nvme_subcmds () {
rpmb boot-part-log fid-support-effects-log \
supported-log-pages lockdown media-unit-stat-log \
supported-cap-config-log dim show-topology list-endgrp \
nvme-mi-recv nvme-mi-send"
nvme-mi-recv nvme-mi-send get-reg set-reg"
# Add plugins:
for plugin in "${!_plugin_subcmds[@]}"; do