Skip to content

micron-nvme cleanup#3364

Merged
igaw merged 5 commits into
linux-nvme:masterfrom
Micron-TPG-OSS:bgoing/micron-nvme-cleanup
May 15, 2026
Merged

micron-nvme cleanup#3364
igaw merged 5 commits into
linux-nvme:masterfrom
Micron-TPG-OSS:bgoing/micron-nvme-cleanup

Conversation

@bgoing-micron-oss
Copy link
Copy Markdown
Contributor

Clean-up and fixes for the Micron plugin.

  • Updates all log buffers to use libnvme_alloc and libnvme_free.
  • Fixes telemetry log reading.
  • Fixes vs-drive-info parameter validation logic that was always failing.
  • Cleans up vs-nand-stats error reporting and duplicate id-ctrl.
  • Fixes error reporting for positive error numbers in multiple commands.

Updates micron-nvme log buffers to use libnvme_alloc / libnvme_realloc /
libnvme_free.

Signed-off-by: Broc Going <bgoing@micron.com>
Fixes telemetry log reading failures caused by the wrong offset and size
values being used.  Improves error reporting.

Signed-off-by: Broc Going <bgoing@micron.com>
Fixes format parameter validation logic, which was causing the command
to always fail with "Invalid output format".

Signed-off-by: Broc Going <bgoing@micron.com>
Removes duplicate id-ctrl and improves error reporting when no log
can be read.

Signed-off-by: Broc Going <bgoing@micron.com>
Fixes reporting of positive error values in several commands in the
micron-nvme plugin.  Cleans up error reporting of positive versus
negative error codes by using nvme_show_err.

Signed-off-by: Broc Going <bgoing@micron.com>
@igaw igaw merged commit a664871 into linux-nvme:master May 15, 2026
28 of 29 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented May 15, 2026

Thanks!

@bgoing-micron-oss bgoing-micron-oss deleted the bgoing/micron-nvme-cleanup branch May 15, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants