1 Commits

Author SHA256 Message Date
Daniel Wagner
21b2d33375 bring sl16.0 in sync to sle15sp7
There are serveral bug fixes missing in sl16.0. Bring this code stream in
sync with sp7.
2025-10-06 18:40:42 +02:00
7 changed files with 16 additions and 241 deletions

View File

@@ -1,11 +1,14 @@
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/linux-nvme/libnvme.git</param>
<param name="url">https://github.com/openSUSE/libnvme.git</param>
<param name="filename">libnvme</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v1.16.1</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@.g%h</param>
<param name="revision">6d55624d864e0b3b36ef71f83ef6c0fac0feb728</param>
<!-- preserve plain upstream version, add tag offset + hash for
modifications -->
<param name="versionrewrite-pattern">v([^+]*)(\+0.*$)?(\+[1-9].*$)?</param>
<param name="versionrewrite-replacement">\1\3</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">

View File

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

BIN
libnvme-1.11+17.g6d55624d.obscpio LFS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,42 +1,5 @@
-------------------------------------------------------------------
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>
Mon Oct 06 16:33:19 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)
@@ -52,84 +15,6 @@ Thu Sep 18 12:13:03 UTC 2025 - Daniel Wagner <dwagner@suse.de>
* 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>
- 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.
-------------------------------------------------------------------
Tue Jul 22 09:49:59 UTC 2025 - Daniel Wagner <dwagner@suse.de>
@@ -143,119 +28,6 @@ Tue Jul 22 09:49:59 UTC 2025 - Daniel Wagner <dwagner@suse.de>
* 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>
- 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
-------------------------------------------------------------------
Mon Nov 25 13:15:00 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>

View File

@@ -1,4 +1,4 @@
name: libnvme
version: 1.16.1
mtime: 1762536110
commit: becae3d874b40bfedede672b4b2f58ae8c3be3b5
version: 1.11+17.g6d55624d
mtime: 1758197188
commit: 6d55624d864e0b3b36ef71f83ef6c0fac0feb728

View File

@@ -21,7 +21,7 @@
%bcond_without check
Name: libnvme
Version: 1.16.1
Version: 1.11+17.g6d55624d
Release: 0
Summary: Linux-native nvme device management library
License: LGPL-2.1-or-later