3 Commits

Author SHA256 Message Date
Daniel Wagner
19d5e183f4 sflo-main: update to latest libnvme version (jsc#PED-14160)
Fri Jan 09 16:12:25 UTC 2026 - Daniel Wagner <dwagner@suse.de>

- Update to version 1.16.1 (jsc#PED-14160):
  * tree: preserve dhchap_key to during scan
  * test/mi: initialize struct args
  * mi-mctp: Fix compile bug in test/mi-mctp.c when !HAVE_LINUX_MCTP_H
  * linux: Add nvme_get_uuid_list function
  * tree: support apple-nvme transport
  * test: add hkdf_add1 test
  * linux: use EVP_PKEY_CTX_add1_hkdf_info only once in compat function (bsc#1246914)
  * nvme/linux: check for empty digest in gen_tls_identity() (bsc#1246914)
  * examples/discover-loop.py: actually implement a discovery loop
  * examples/discover-loop.py: rework to use 'with' statement
  * python: support 'with' statement for objects
  * python: remove "iter" elements
  * python: fix iterators failing on empty lists
  * libnvme/nvme.i: raise exception when disconnect fails
  * python: Don't exit immediately on discovery fail.
  * nvme/linux: add fallback implementation for nvme_insert_tls_key_compat() (bsc#1246914)
  * examples/discovery-loop.py: update to use tcp transport
  * libnvme/nvme.i: Update subsystem definitions
  * nvme.i: fixup typo in nvme:discover
  * libnvme: propagate the error to the caller if nvme_get_log_page() fails
  * python: fix typo in nvmf_discovery_log
  * linux: fix HKDF TLS key derivation back to OpenSSL 3.0.8 (bsc#1246914)
  * nvme.i: decode 'tsas' discovery log page entry
  * nvme.i: fix crash on ctrl.discover() without a connection
  * docs: add missing API types documentation
  * libnvme: TLS PSK derivation fixes (bsc#1246914)
  * linux: rename __nvme_insert_tls_key_versioned() to __nvme_insert_tls_key() (bsc#1246914)
  * linux: rename __nvme_insert_tls_key() to __nvme_import_tls_key() (bsc#1246914)
  * test/psk: add testcase for TLS identity derivation (bsc#1246914)
  * linux: set errno when nvme_generate_tls_key_identity() fails (bsc#1246914)
  * linux:  Add functions to set and clear etdas bit
  * tree: do not try to strdup NULL pointer (bsc#1247225)

-------------------------------------------------------------------
Fri Jul 25 09:50:15 UTC 2025 - Daniel Wagner <dwagner@suse.de>

- Update to version 1.15:
  * Release v1.15
  * doc: Regenerate all docs for v1.15
  * tree: always set the host key (bsc#1246560)
  * json: do not leak port_obj for PCI devices
  * Revert "linux: TLS PSK derivation fixes"
  * linux: TLS PSK derivation fixes
  * mi: correct mi admin feature functions map file
  * mi: add power management feature functions
  * mi: add arbitration feature get function
  * libnvme: sanitize free() handling
  * ioctl: fix nvme_get_log_endurance_grp_evt() description
  * tree: free ctrl attributes when (re)configure ctrl (bsc#1243716)
  * types: Add Create Queue Specific (CQS) shift and mask for LM CDQ command
  * test: add tests for miscellaneous ioctl functions
  * test: move _cleanup_free_ to util.h
  * ioctl: fix nvme_directive_recv_stream_status
  * test: add tests for miscellaneous ioctl functions
  * tree: filter tree after scan has completed (bsc#1243716)
  * build: disable liburing support per default
  * ioctl: introduce force xfer length configuration knob
  * mi:     nvme_mi_mi_xfer() is overly restrictive
  * mi: Additional define options for older systems with SIOCMCTPALLOC
  * types: Fix nvme_ns_id_desc packing
  * types: add SMART / health information CW shift and mask values
  * doc: fix return value description for nvme_scan_topology
  * test: add tests for zns functions
  * test: add missing tests for features functions
  * ioctl: fix nvme_lm_set_features_ctrl_data_queue
  * test: extend sysfs tree dump test
  * tree: add attribute numa_nodes for NVMe path object
  * tree: add queue-depth attribute for nvme path object
  * tree: add support for discovering nvme paths using sysfs multipath link
  * test: add tests for log functions
  * test: add missing tests for identify functions
  * ioctl: only use io_uring for char devices
  * examples: Make examples build selectable
  * examples: remove unnecessary include of <bits/pthreadtypes.h>
  * tree: handle the case when host_iface/host_traddr are set to "none"
  * Release v1.14
  * doc: Regenerate all docs for v1.14
  * examples: add explicit pthread dependency to meson
  * build: disable netdb test for static builds
  * build: make 'clean' target an alias for 'purge'
  * types: Change LM CDQ sz argument from u8 to u32.
  * Revert "fabrics: retry connect command on EINTR"
  * ioctl: add temperature threshold TMPSEL and THSEL parameters to get
  * types: add temperature threshold feature TMPTHH field
  * mi: Introduce asynchronous event message handling
  * types,util: add enums for Boot Partition Write Protection Config feature
  * tests: Add an empty NBFT table
  * tests: Add sample NBFT table with empty HFI ipv6 address
  * mi: Add support for multiple csi buffers
  * mi: add nvme_mi_submit entry and exit weak functions
  * util: add FDP events feature length
  * tree: add routine to fetch subsys serial number
  * mi: fix unrleased section name
  * build: use newer build container for readthedocs
  * build: update readthedocs commands
  * scripts: update UNRELEASED export map on release
  * src: introduce unreleased export section
  * biuld: patch the meson.build for test pypi upload
  * build: split 'dev' postfix from version string
  * build: cleanup python test pypi upload
  * build: fix test pypi cleanup task
  * build: add cleanup task for pypi test uploads
  * build: upload unique pypi test versions
  * util: add performance characteristic feature length
  * types: add performance characteristics attribute definitions
  * build: allow to specify tag for workflow_dispatch
  * build: switch to new python meson backend
- disable liburing support, upstream disabled it on default.

-------------------------------------------------------------------
Mon Apr 14 09:26:06 UTC 2025 - Daniel Wagner <dwagner@suse.de>

- Update to version 1.13:
  * Release v1.13
  * doc: Regenerate all docs for v1.13
  * fabrics: retry connect command on EINTR
  * types: Fix Live Migration SEQIND Shift and Mask
  * types: add performance characteristics attribute type values
  * util: add performance characteristics feature decode function
  * types: add performance characteristics feature access values
  * types: add performance attribute structures
  * types: Update nvme_id_independent_id_ns fields based on NVMe 2.1 spec
  * mock.c: fix checking of HAVE_GLIBC_IOCTL
  * libnvme: do not byte swap command dwords
  * ioctl: return status code when using liburing
  * src: update include directive
  * gitignore: ignore .build-tools
  * tree: add routine to fetch subsys firmware rev (bsc#1240518)
  * tree: add routine to fetch subsys model (bsc#1240518)
- add liburing dependency only for newer distros

-------------------------------------------------------------------
Mon Mar 17 10:18:04 UTC 2025 - Daniel Wagner <dwagner@suse.de>

- Update to version 1.12:
  * Release v1.12
  * doc: Regenerate all docs for v1.12
  * build: ignore PREFER_DEFINED_ATTRIBUTE_MACRO
  * python, swig: add missing controller attributes
  * types: add SLM and CP command set indicator values
  * Makefile: Add new targets and update meson command syntax
  * build: do not include config.h globally
  * types: add enum for Identify I/O Command Set Data Structure
  * libnvme: export nvmf_exat_ptr_next
  * build: drop support for openssl 1
  * build: request c++ compiler for host and build machine
  * build: update min meson dependency
  * pyproject.toml: allow newer meson version
  * examples: fix time stamp prefix printf format string
  * mi: fix nvme_mi_admin_get_log_reachability_groups() parameters order
  * types: add HDISNS field of Host Behavior Support feature
  * types: fix nvme_reachability_association_desc member variable name
  * ioctl: fix nvme_get_log_reachability_groups() parameters order
  * build: checkpatch limit line length to 100 chars
  * types,util: add Asynchronous Event Configuration NVMe 2.1 definitions
  * types,util: Added Enums for missing status codes
  * ioctl: add libnvme-mi NVMe 2.1 log page APIs
  * mi: fix indentation errors
  * test: check the namespace is not cluttered with min/max
  * util: avoid min macro pollution
  * build: remove thank you bot
  * types: Update nvm-id-ns fields based on NVM Command Set Spec 1.1
  * build: add github token to comment step
  * types: add NVME_CTRL_OACS definitions
  * build: add thank you bot
  * types: Update id-ns fields based on NVM Command Set Spec 1.1
  * build(deps): bump pypa/gh-action-pypi-publish@release/v1.5
  * mi: add nvme_mi_admin_get_log_mgmt_addr_list()
  * types: add spinup control and pls features definition
  * types: fix enum nvme_psd definitions indentation errors
  * mi_xfer: Added nvme_mi_mi_xfer API
  * types: add I/O command fabric commands opcode definition
  * types: add NVME_FEAT_FDPE_*** definitions
  * ioctl: add nvme_get_log_pull_model_ddc_req()
  * ioctl: add nvme_get_log_ave_discover()
  * ioctl: add nvme_get_log_host_discover()
  * ioctl: add nvme_get_log_changed_alloc_ns_list()
  * ioctl: add nvme_get_log_reachability_associations()
  * ioctl: add nvme_get_log_reachability_groups()
  * ioctl: add nvme_get_log_mgmt_addr_list()
  * ioctl: add nvme_get_log_dispersed_ns_participating_nss()
  * ioctl: add nvme_get_log_rotational_media_info()
  * ioctl: add nvme_get_endgid_log()
  * types: add NVMe 2.1 identify command CNS definitions
  * types: add NVMe 2.1 admin command opcode definitions
  * types: Add NVMe 2.1 feature ID definitions
  * types: add NVMe 2.1 identify power state descriptor fields
  * types: error information log entry status field definitions
  * types: fix lm data field unsigned values to little endian
  * build: bump wraps
  * ioctl: fix io_uring whitespace damages
  * ioctl: get_log_page by nvme uring cmd
  * tests: mock io_uring_get_probe
  * types: add enum for the fields added in TP4058
  * Update mctp APIs to mctp codeconstruct version 2.0
  * ioctl: Live Migration
  * types: Add enum for nvme_id_ctrl.trattr
  * types: use __le16 instead of __u16 for data fields
  * types: Update id-ctrl field based on NVMe 2.1 spec
  * types: Live Migration
  * mi: telemetry log update based NVMe v2.1
  * ioctl,types: telemetry log update based NVMe v2.1
  * types: add enum for the fields added in TP4160
  * rpm: use defined prefix from meson
  * tests: do not unconditionally depend on dlsym
  * types: add NVME_ID_CTRL_NVM_LBAMQF definitions
  * test/mock: pass thru unknown ioctls
  * build(deps): bump codecov/codecov-action from 4 to 5
  * Release v1.11.1
  * doc: Regenerate all docs for v1.11.1
  * fabrics: do not attempt to import keys if tls is not enabled (bsc#1216982 bsc#1226216)
  * linux: do not do any keyring ops when no key is provided (bsc#1216982 bsc#1226216)
  * types: Add id-ctrl CTRATT.RHII enum
  * linux: do not return w/o OpenSSL support enabled (bsc#1216982 bsc#1226216)
  * build: Add token for coverage test
  * linux: fix derive_psk_digest OpenSSL 1.1 version (bsc#1216982 bsc#1226216)
- Add liburing dependency
- Add bugzilla references
- Remove downstream build fixes
  * remove 0001-linux-fix-derive_psk_digest-OpenSSL-1.1-version.patch
  * remove 0002-test-mock-pass-thru-unknown-ioctls.patch
2026-01-13 19:07:40 +01:00
Daniel Wagner
88363fb81b sync with sp7 version
libnvme package is missing a few bug fixes:
  * linux: use EVP_PKEY_CTX_add1_hkdf_info only once in compat function (bsc#1246914)
  * nvme/linux: check for empty digest in gen_tls_identity() (bsc#1246914)
  * nvme/linux: add fallback implementation for nvme_insert_tls_key_compat() (bsc#1246914)
  * linux: fix HKDF TLS key derivation back to OpenSSL 3.0.8 (bsc#1246914)
  * libnvme: TLS PSK derivation fixes (bsc#1246914)
  * linux: rename __nvme_insert_tls_key_versioned() to __nvme_insert_tls_key() (bsc#1246914)
  * linux: rename __nvme_insert_tls_key() to __nvme_import_tls_key() (bsc#1246914)
  * test/psk: add testcase for TLS identity derivation (bsc#1246914)
  * linux: set errno when nvme_generate_tls_key_identity() fails (bsc#1246914)
  * tree: do not try to strdup NULL pointer (bsc#1247225)
  * tree: always set the host key (bsc#1246560)
  * tree: add routine to fetch subsys firmware rev (bsc#1240518)
  * tree: add routine to fetch subsys model (bsc#1240518)
  * tree: do not try to strdup NULL pointer (bsc#1247225)
  * tree: always set the host key (bsc#1246560)
2025-09-18 14:16:28 +02:00
9b6bb87b8d Sync changes to SLFO-1.2 branch 2025-08-20 09:40:27 +02:00
7 changed files with 101 additions and 33 deletions

View File

@@ -4,7 +4,7 @@
<param name="url">https://github.com/linux-nvme/libnvme.git</param>
<param name="filename">libnvme</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v1.15</param>
<param name="revision">v1.16.1</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>

View File

@@ -1,6 +1,8 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/linux-nvme/libnvme.git</param>
<param name="changesrevision">a6497f6e8cb3bc3607e4a772b648a7887b0ab875</param>
<param name="changesrevision">becae3d874b40bfedede672b4b2f58ae8c3be3b5</param>
</service>
</servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/libnvme.git</param>
<param name="changesrevision">6d55624d864e0b3b36ef71f83ef6c0fac0feb728</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c454ec05b115c24b390fe5abf6f3f88add60f57a6359531c16787efba00274b
size 3973132

BIN
libnvme-1.16.1.obscpio LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,60 @@
-------------------------------------------------------------------
Fri Jan 09 16:12:25 UTC 2026 - Daniel Wagner <dwagner@suse.de>
- Update to version 1.16.1 (jsc#PED-14160):
* tree: preserve dhchap_key to during scan
* test/mi: initialize struct args
* mi-mctp: Fix compile bug in test/mi-mctp.c when !HAVE_LINUX_MCTP_H
* linux: Add nvme_get_uuid_list function
* tree: support apple-nvme transport
* test: add hkdf_add1 test
* linux: use EVP_PKEY_CTX_add1_hkdf_info only once in compat function (bsc#1246914)
* nvme/linux: check for empty digest in gen_tls_identity() (bsc#1246914)
* examples/discover-loop.py: actually implement a discovery loop
* examples/discover-loop.py: rework to use 'with' statement
* python: support 'with' statement for objects
* python: remove "iter" elements
* python: fix iterators failing on empty lists
* libnvme/nvme.i: raise exception when disconnect fails
* python: Don't exit immediately on discovery fail.
* nvme/linux: add fallback implementation for nvme_insert_tls_key_compat() (bsc#1246914)
* examples/discovery-loop.py: update to use tcp transport
* libnvme/nvme.i: Update subsystem definitions
* nvme.i: fixup typo in nvme:discover
* libnvme: propagate the error to the caller if nvme_get_log_page() fails
* python: fix typo in nvmf_discovery_log
* linux: fix HKDF TLS key derivation back to OpenSSL 3.0.8 (bsc#1246914)
* nvme.i: decode 'tsas' discovery log page entry
* nvme.i: fix crash on ctrl.discover() without a connection
* docs: add missing API types documentation
* libnvme: TLS PSK derivation fixes (bsc#1246914)
* linux: rename __nvme_insert_tls_key_versioned() to __nvme_insert_tls_key() (bsc#1246914)
* linux: rename __nvme_insert_tls_key() to __nvme_import_tls_key() (bsc#1246914)
* test/psk: add testcase for TLS identity derivation (bsc#1246914)
* linux: set errno when nvme_generate_tls_key_identity() fails (bsc#1246914)
* linux: Add functions to set and clear etdas bit
* tree: do not try to strdup NULL pointer (bsc#1247225)
-------------------------------------------------------------------
Thu Sep 18 12:13:03 UTC 2025 - Daniel Wagner <dwagner@suse.de>
- Update to version 1.11+17.g6d55624d:
* linux: use EVP_PKEY_CTX_add1_hkdf_info only once in compat function (bsc#1246914)
* nvme/linux: check for empty digest in gen_tls_identity() (bsc#1246914)
* nvme/linux: add fallback implementation for nvme_insert_tls_key_compat() (bsc#1246914)
* linux: fix HKDF TLS key derivation back to OpenSSL 3.0.8 (bsc#1246914)
* libnvme: TLS PSK derivation fixes (bsc#1246914)
* linux: rename __nvme_insert_tls_key_versioned() to __nvme_insert_tls_key() (bsc#1246914)
* linux: rename __nvme_insert_tls_key() to __nvme_import_tls_key() (bsc#1246914)
* test/psk: add testcase for TLS identity derivation (bsc#1246914)
* linux: set errno when nvme_generate_tls_key_identity() fails (bsc#1246914)
* tree: do not try to strdup NULL pointer (bsc#1247225)
* tree: always set the host key (bsc#1246560)
* tree: add routine to fetch subsys firmware rev (bsc#1240518)
* tree: add routine to fetch subsys model (bsc#1240518)
* tree: do not try to strdup NULL pointer (bsc#1247225)
* tree: always set the host key (bsc#1246560)
-------------------------------------------------------------------
Fri Jul 25 09:50:15 UTC 2025 - Daniel Wagner <dwagner@suse.de>
@@ -74,6 +131,18 @@ Fri Jul 25 09:50:15 UTC 2025 - Daniel Wagner <dwagner@suse.de>
* build: switch to new python meson backend
- disable liburing support, upstream disabled it on default.
-------------------------------------------------------------------
Tue Jul 22 09:49:59 UTC 2025 - Daniel Wagner <dwagner@suse.de>
- Update to version 1.11+4.g18b9f8e5:
* tree: free ctrl attributes when (re)configure ctrl (bsc#1243716)
* tree: filter tree after scan has completed (bsc#1243716)
* test/mock: pass thru unknown ioctls
* linux: fix derive_psk_digest OpenSSL 1.1 version
- Drop intergrated patches
* remove 0001-linux-fix-derive_psk_digest-OpenSSL-1.1-version.patch
* remove 0002-test-mock-pass-thru-unknown-ioctls.patch
-------------------------------------------------------------------
Mon Apr 14 09:26:06 UTC 2025 - Daniel Wagner <dwagner@suse.de>
@@ -199,26 +268,26 @@ Thu Oct 31 13:06:35 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>
- Update to version 1.11:
* prefix: Use Request or Response Length in DLEN and DOFF for MI
* types: Add ETPVDS and SSI fields of sanitize status log
* json: do not escape strings when printing the configuration (bsc#1216982 bsc#1226216)
* tree: do no export tls keys when not provided by user (bsc#1216982 bsc#1226216)
* json: do not escape strings when printing the configuration
* tree: do no export tls keys when not provided by user
* types: add struct nvme_id_ctrl_nvm ver and lbamqf member variables
* types: add NVMe 2.1 get log page LIDs
* type: Added enums for ANSAN and RGCNS bit of OAES field
* linux: fixup PSK HMAC type '0' handling (bsc#1216982 bsc#1226216)
* util: added error code for ENOKEY (bsc#1216982 bsc#1226216)
* fabrics: fix map error level in __nvmf_add_ctrl (bsc#1216982 bsc#1226216)
* fabrics: add ctrl connect interface (bsc#1216982 bsc#1226216)
* fabrics: use hex numbers when generating command line options (bsc#1216982 bsc#1226216)
* fabrics: rename first argument for argument macros (bsc#1216982 bsc#1226216)
* linux: handle key import correctly (bsc#1216982 bsc#1226216)
* linux: export keys to config (bsc#1216982 bsc#1226216)
* tree: read tls_configured_key and tls_keyring from sysfs (bsc#1216982 bsc#1226216)
* tree: move dhchap and tls sysfs parser into separate functions (bsc#1216982 bsc#1226216)
* json: move keystore operations out of the JSON parser (bsc#1216982 bsc#1226216)
* tree: add getter/setters for TLS PSK (bsc#1216982 bsc#1226216)
* linux: add import/export function for TLS pre-shared keys (bsc#1216982 bsc#1226216)
* linux: only return the description of a key (bsc#1216982 bsc#1226216)
* linux: use ssize_t as return type for nvme_identity_len (bsc#1216982 bsc#1226216)
* linux: fixup PSK HMAC type '0' handling
* util: added error code for ENOKEY
* fabrics: fix map error level in __nvmf_add_ctrl
* fabrics: add ctrl connect interface
* fabrics: use hex numbers when generating command line options
* fabrics: rename first argument for argument macros
* linux: handle key import correctly
* linux: export keys to config
* tree: read tls_configured_key and tls_keyring from sysfs
* tree: move dhchap and tls sysfs parser into separate functions
* json: move keystore operations out of the JSON parser
* tree: add getter/setters for TLS PSK
* linux: add import/export function for TLS pre-shared keys
* linux: only return the description of a key
* linux: use ssize_t as return type for nvme_identity_len
* linux: reorder variable declarations
* types: Added enum for SMVES event of PEL log
* libnvme: add lockdown log page support(LID : 0x14)
@@ -273,7 +342,7 @@ Fri Aug 02 08:23:49 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>
* ioctl: fix nvme_get_log_ana_groups() pointer type
* types: add new filed added in TP4141a
* mi: Probe quirks on first command submission
* tree: optionally skip namespaces during scanning (bsc#1232616)
* tree: optionally skip namespaces during scanning
* ioctl: update nvme_set_var_size_tags() to properly use reftag
* types: add enum for Protection Information Format
* libnvme: Introduce functions to generate host identifier and host NQN (bsc#1226216)

View File

@@ -1,4 +1,4 @@
name: libnvme
version: 1.15
mtime: 1753430694
commit: a6497f6e8cb3bc3607e4a772b648a7887b0ab875
version: 1.16.1
mtime: 1762536110
commit: becae3d874b40bfedede672b4b2f58ae8c3be3b5

View File

@@ -1,7 +1,7 @@
#
# spec file for package libnvme
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
%bcond_without check
Name: libnvme
Version: 1.15
Version: 1.16.1
Release: 0
Summary: Linux-native nvme device management library
License: LGPL-2.1-or-later
@@ -82,10 +82,7 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)}
-Ddocs=man \
%{?_with_docs_build:-Ddocs-build=true} \
-Dversion-tag=%{version} \
-Dlibdbus=enabled \
%if 0%{?suse_version} < 1600
-Dliburing=disabled
%endif
-Dlibdbus=enabled
%meson_build
%if %{with check}