Skip to content

[pull] master from linux-nvme:master#229

Merged
pull[bot] merged 17 commits into
zengqingfu1442:masterfrom
linux-nvme:master
Jun 16, 2026
Merged

[pull] master from linux-nvme:master#229
pull[bot] merged 17 commits into
zengqingfu1442:masterfrom
linux-nvme:master

Conversation

@pull

@pull pull Bot commented Jun 16, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

dependabot Bot and others added 17 commits June 16, 2026 19:55
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@57e3a13...fb8b358)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
The SUM policy bit indicates if the linked SUM user is in control of the
the range (and common name) of its SUM locking range.  A policy of 0
indicates the SUM user is in control.  A policy of 1 indicates that
any admin is in control. The value is set to 1 by default when SUM
is disabled. An admin will set the policy when SUM is enabled. See
section 4.2.1.4 of TCG Storage Opal SSC Feature Set: Single User
Mode v1.00.

Signed-off-by: Brenden Bain <brenden.bain@gmail.com>
The option is for waiting sanitize completion.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Make verified multi-cycle sanitization accessible without a separate tool.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Also add sanicap shift and mask definitions to get.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
This is to prevent issuing unsupported actions.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
These options for the multi-cycle sanitization accessible.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
These options for the multi-cycle sanitization accessible.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Add support for building nvme-cli with the Clang Static Analyzer.

The static analyzer complements existing runtime verification tools such
as ASAN/UBSan and Valgrind by performing compile-time analysis of code
paths and reporting potential defects without requiring execution.

Introduce a new '-a' option to scripts/build.sh which configures the
build to use the Clang Static Analyzer via scan-build. When selected,
the build automatically uses the Clang compiler and generates analyzer
reports as part of the build process. The generated reports can be
viewed using a web browser.

Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Fixing logic in status command to not immediately exit if unable to parse
AER values in /sys/

Fixed a couple of whitespace errors highlighted by checkpatch

Signed-off-by: Ben Reese <5884008+benreese0@users.noreply.github.com>
There was a stack-use-after return in the next_line parser.
Change the line buffer to be static.
Printing was not working as hook_disovery_log was not populated.
Set all hooks using libnvmf_context_set_discovery_hooks.
Simplify libnvmf_discovery_config_file by calling
libnvmf_discovery directly.

Closes: #3437
Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
get_pif_sts() will need to be able to reject a namespace whose reported
protection information attributes are inconsistent.

This is in preparation for the following commit which is introducing
QPIF support.

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
When a namespace is formatted with the Qualified Protection Information
Format (PIF == Qualified Type and the QPIFS bit set in the PIC field),
the Storage Tag Masking Level Attribute (STMLA) in the PIFA field
constrains how the bits of the Logical Block Storage Tag Mask (LBSTM)
may be configured. The LBSTM mask occupies the least significant STS
bits as defined by the Extended LBA Format.

After resolving the protection information format from the QPIF field,
verify the device reported LBSTM against the declared STMLA:

  - Bit Granularity Masking: any combination of bits is allowed.
  - Byte Granularity Masking: every full byte and the partial high order
    byte of the mask must be uniformly 0 or 1.
  - Masking Not Supported: every bit of the mask must be set to 1.

Refere to the NVM Express NVM Command Set Specification, Revision 1.2,
Figure 118 (LBSTM, PIC and PIFA) and Figure 119 (STS, PIF and QPIF).

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
Add a write read testcase that exercises the Storage Tag fields exposed
by the Qualified Protection Information Format.

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
In json_parse_host, hostnqn is mandatory.
This is problematic for portable config files.
Allow hostnqn to be optional,and if not provided, it will be found
or generated automatically.

Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
Allow the subsys nqn to be optional, this allows for
discovery of the subsystem nqn, making it similar to the discovery.conf
file. This is useful for the case where the subsys nqn is not known
ahead of time, such as when using the nvme discover command.

Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
The I/O Command Set Independent Identify Controller data structure
(Figure 328 in NVM Express Base Specification 2.3) defines two fields
that were previously hidden inside the rsvd135[118] reserved block:

  - byte 135    Controller Instance Uniquifier (CIU)
  - bytes 143:136 Controller Instance Random Number (CIRN)

Split rsvd135[118] into ciu, cirn[8], and the two remaining reserved
ranges.

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
@pull pull Bot locked and limited conversation to collaborators Jun 16, 2026
@pull pull Bot added the ⤵️ pull label Jun 16, 2026
@pull
pull Bot merged commit 53ddc53 into zengqingfu1442:master Jun 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants