Revisions of ndctl

Michal Suchanek's avatar Michal Suchanek (michals) accepted request 859607 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 46)
- Update to upstream v71 (jsc#SLE-14344).
  - support for the new device-dax subdivision functionality added in Linux in
    v5.10, including ways to create smaller devdax devices using
    daxctl/libdaxctl, as well as creating, listing, and restoring from a config
    dump, 'mappings' on these devices.
  - miscellaneous bugfixes
- Fix documentation and license packaging
Michal Suchanek's avatar Michal Suchanek (michals) accepted request 843141 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 45)
- Update to upstream v70.1 (jsc#SLE-13338).
  Adds firmware activation support.
Michal Suchanek's avatar Michal Suchanek (michals) accepted request 830233 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 44)
- Suppress ENXIO when processing all namespaces (jsc#SLE-13321, bsc#1175851, ltc#187867).
  + ndctl-namespace-Suppress-ENXIO-when-processing-all-n.patch

- Update to v69 (jsc#SLE-13824, jsc#SLE-12770, jsc#SLE-15065, jsc#SLE-15484,
                jsc#SLE-15485, bsc#1175052, ltc#186863, bsc#1174969, ltc#185845):
Nicolas Morey-Chaisemartin's avatar Nicolas Morey-Chaisemartin (NMoreyChaisemartin) accepted request 825396 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 43)
- Update to v69 (jsc#SLE-13824, jsc#SLE-12770, jsc#SLE-15065):
  * infoblock: Set the default alignment to the platform alignment
  * libndctl/papr_scm: Add support for reporting "life_used_percentage" metric
  * Skip region filtering if numa_node attribute is not present
  * libndctl,papr_scm: Implement support for PAPR_PDSM_HEALTH
  * miscellaneous bugfixes
- Removed ndctl-Documentation-use-includes-in-more-ndctl-command-pag.patch

- Clarify documentation about filtering options (bsc#1173861)
  + ndctl-Documentation-use-includes-in-more-ndctl-command-pag.patch
Nicolas Morey-Chaisemartin's avatar Nicolas Morey-Chaisemartin (NMoreyChaisemartin) accepted request 805836 from Paolo Stivanin's avatar Paolo Stivanin (polslinux) (revision 42)
- Update to v68:
  * zero-labels: display an error if regions are active
  * destroy-namespace: fix seed namespace accounting
  * list: drop named list objects from verbose listing
  * *-namespace: emit better errors on failure
  * read-infoblock: new command to read an infoblock
  * write-infoblock: new command to create and write an infoblock
  * create-namespace: add --continue option
  * daxctl-reconfigure-device: add --no-movable option
  * daxctl-reconfigure-device: display movable state in listings
  * daxctl-reconfigure-device: detect races in memory onlining
  * security: support for 'security frozen' attribute
  * daxctl-reconfigure-device: new command for device mode management
  * daxctl-{on,off}line-memory: new commands for devices in system-ram mode
  * monitor: logging improvements, allow sending to background
  * inject-error: refuse to operate on activew BTT namespaces
  * *-labels: improvements to minimize data transfer
  * create-namespace: usability improvements around region search
- Removed ndctl-Use-the-same-align-value-as-original-namespace-on-reconfigure.patch
- Removed ndctl-dimm-Fix-init-labels-success-reporting.patch
- Removed ndctl-list-Introduce-region-capability-objects.patch
- Removed ndctl-namespace-Fix-enable-namespace-error-for-seed-.patch
- Removed ndctl-namespace-Handle-create-namespace-in-label-less-mode.patch
- Removed ndctl-ndctl-lib-Fix-duplicate-bus-detection.patch
- Removed ndctl-test-Relax-dax_pmem_compat-requirement.patch
- Removed ndctl_check_Ensure_mmap_of_BTT_sections_work_with_64K_page-sizes.patch
Michal Suchanek's avatar Michal Suchanek (michals) accepted request 791733 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 41)
- ndctl/namespace: Skip zero namespaces when processing all namespaces
  (bsc#1167861, bsc#1165509, ltc#182068).
  + ndctl-namespace-skip-zero-namespaces-when-processing.patch
- Refresh patch to upstream version:
   ndctl-test-Relax-dax_pmem_compat-requirement.patch
Michal Suchanek's avatar Michal Suchanek (michals) accepted request 781266 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 39)
- Fix 'ndctl enable-namespace all' fails trying to enable idle namespaces
  (bsc#1165509 ltc#182068).
  + ndctl-namespace-Fix-enable-namespace-error-for-seed-.patch
Raymund Will's avatar Raymund Will (rwill) accepted request 781258 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 38)
- ndctl/test: Relax dax_pmem_compat requirement (bsc#1159523)
  + ndctl-test-Relax-dax_pmem_compat-requirement.patch
- Add -fcommon flag on Tumbleweed (boo#1160286).
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 746640 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 36)
ndctl/dimm: Fix init-labels success reporting (bsc#1156308 ltc#181441).

Review, please.

old: hardware:nvdimm/ndctl
new: home:michals/ndctl rev None
Index: ndctl-Use-the-same-align-value-as-original-namespace-on-reconfigure.patch
===================================================================
--- ndctl-Use-the-same-align-value-as-original-namespace-on-reconfigure.patch (revision 35)
+++ ndctl-Use-the-same-align-value-as-original-namespace-on-reconfigure.patch (revision 8)
@@ -4,7 +4,7 @@
 Subject: [PATCH] ndctl: Reuse the align value from the original namespace on
  reconfiguration
 
-Patch-mainline: expected v67
+Patch-mainline: v67
 Git-commit: e81ccd7f062beeae7498d04785fe55c55c857d4b
 
 When using reconfigure command to add a 'name' to the namespace we end
Index: ndctl-ndctl-lib-Fix-duplicate-bus-detection.patch
===================================================================
--- ndctl-ndctl-lib-Fix-duplicate-bus-detection.patch (revision 35)
+++ ndctl-ndctl-lib-Fix-duplicate-bus-detection.patch (revision 8)
@@ -3,7 +3,7 @@
 Date: Wed, 7 Aug 2019 10:51:39 -0700
 Subject: [PATCH] ndctl/lib: Fix duplicate bus detection
 
-Patch-mainline: expected v67
+Patch-mainline: v67
 Git-commit: d961a474be65c8195bb069c470b01f951bd2eb90
 
 After an ndctl_invalidate() event the next add_bus() invocation attempts
Index: ndctl.changes
===================================================================
--- ndctl.changes (revision 35)
+++ ndctl.changes (revision 8)
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Fri Nov  8 14:42:49 UTC 2019 - Michal Suchanek <msuchanek@suse.de>
+
+- ndctl/dimm: Fix init-labels success reporting (bsc#1156308 ltc#181441).
+  + ndctl-dimm-Fix-init-labels-success-reporting.patch
+- Refresh patches with upstream status:
+   ndctl-Use-the-same-align-value-as-original-namespace-on-reconfigure.patch
+   ndctl-ndctl-lib-Fix-duplicate-bus-detection.patch
+
+-------------------------------------------------------------------
 Fri Oct 18 13:14:35 UTC 2019 - Michal Suchanek <msuchanek@suse.de>
 
 - Refresh patches with upstream status:
Index: ndctl-dimm-Fix-init-labels-success-reporting.patch
===================================================================
--- ndctl-dimm-Fix-init-labels-success-reporting.patch (added)
+++ ndctl-dimm-Fix-init-labels-success-reporting.patch (revision 8)
@@ -0,0 +1,64 @@
+From 4f7cad25e06483ae20b9bebabefb05fb1e55a2a7 Mon Sep 17 00:00:00 2001
+From: Dan Williams <dan.j.williams@intel.com>
+Date: Sat, 27 Jul 2019 14:40:42 -0700
+Subject: [PATCH] ndctl/dimm: Fix init-labels success reporting
+
+Patch-mainline: v66
+Git-commit: 4f7cad25e06483ae20b9bebabefb05fb1e55a2a7
+
+When a DIMM is disabled due to a label parsing issue "ndctl init-labels"
+mis-reports the status of the init-labels command:
+
+    # ndctl init-labels all -f
+    initialized 1 nmem
+    [root@dwillia2-dev ndctl]# ndctl list -Di
+    [
+      {
+        "dev":"nmem1",
+        "id":"8680-57341200",
+        "handle":2,
+        "phys_id":0,
+        "state":"disabled"
+      },
+      {
+        "dev":"nmem0",
+        "id":"8680-56341200",
+        "handle":1,
+        "phys_id":0
+      }
+    ]
+    # ndctl init-labels nmem1 -f
+    initialized 1020 nmems
+
+Catch any positive return from action_init() as success:
+
+    # ndctl init-labels all -f
+    initialized 2 nmems
+    # ndctl init-labels nmem1 -f
+    initialized 1 nmem
+
+Link: https://github.com/pmem/ndctl/issues/60
+Reported-by: Jane Chu <jane.chu@oracle.com>
+Reported-by: Steve Scargal <steve.scargall@intel.com>
+Signed-off-by: Dan Williams <dan.j.williams@intel.com>
+Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
+---
+ ndctl/dimm.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ndctl/dimm.c b/ndctl/dimm.c
+index 5f05a75f00eb..db91f42421e4 100644
+--- a/ndctl/dimm.c
++++ b/ndctl/dimm.c
+@@ -1027,7 +1027,7 @@ static int __action_init(struct ndctl_dimm *dimm,
+ 
+  out:
+ 	ndctl_cmd_unref(cmd_read);
+-	return rc;
++	return rc >= 0 ? 0 : rc;
+ }
+ 
+ static int action_init(struct ndctl_dimm *dimm, struct action_context *actx)
+-- 
+2.23.0
+
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 741081 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 35)
- Refresh patches with upstream status:
   ndctl-Use-the-same-align-value-as-original-namespace-on-reconfigure.patch
   ndctl-ndctl-lib-Fix-duplicate-bus-detection.patch
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 725129 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 34)
- Refresh patches with upstream status:
   ndctl_check_Ensure_mmap_of_BTT_sections_work_with_64K_page-sizes.patch
   ndctl-namespace-Handle-create-namespace-in-label-less-mode.patch
   ndctl-list-Introduce-region-capability-objects.patch
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 724586 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 33)
- ndctl/namespace: Handle 'create-namespace' in label-less mode (bsc#1145471 ltc#179886).
  + ndctl-namespace-Handle-create-namespace-in-label-less-mode.patch
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 724562 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 32)
- ndctl: Use the same align value as original namespace on reconfigure (bsc#1145577 ltc#178224).
  + ndctl-Use-the-same-align-value-as-original-namespace-on-reconfigure.patch
- ndctl/lib: Fix duplicate bus detection (bsc#1145573 ltc#180249).
  + ndctl-ndctl-lib-Fix-duplicate-bus-detection.patch

- ndctl/list: Introduce region capability objects (bsc#1145772 ltc#178159).
- ndctl, check: Ensure mmap of BTT sections work with 64K page-sizes (bsc#1145421 ltc#176079).
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 724119 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 31)
- ndctl/list: Introduce region capability objects (bsc#1145772).
  + ndctl-list-Introduce-region-capability-objects.patch

- ndctl, check: Ensure mmap of BTT sections work with 64K page-sizes (bsc#1145421).
  + ndctl_check_Ensure_mmap_of_BTT_sections_work_with_64K_page-sizes.patch
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 708105 from Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) (revision 30)
Ressurect lost changelog entry from SLE.
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 681655 from Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) (revision 29)
- Update to version 64.1 (bsc#1127799):
  * ndctl: release v64.1
  * ndctl: fix ndctl linking with libkeyutils
  * ndctl: Fix building in the absence of keyutils
Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) accepted request 671114 from Johannes Thumshirn's avatar Johannes Thumshirn (morbidrsa) (revision 27)
- Update to version 64 (bsc#1123024):
  * ndctl: release v64
  * ndctl, load-keys: fix a resource leak in load_dimm_keys()
  * libndctl: fix a couple of theoretical buffer overruns
  * ndctl, keys: fix a resource leak in verify_kek()
  * ndctl, keys: fix a memory leak in dimm_create_key()
  * ndctl, rpmbuild: Add a dummy readme file to ndctl_keysdir
  * ndctl, bash-completion: add helpers for security commands
  * ndctl: allow for a 'secure erase' using the master passphrase
  * ndctl: master phassphrase management support
  * ndctl: add a wait-overwrite command
  * ndctl: add an overwrite option to 'sanitize-dimm'
  * ndctl: add a load-keys command and a modprobe config
  * ndctl: add a unit test to exercise security operations
  * ndctl: add a sanitize-dimm command
  * ndctl: add a freeze-security command
  * ndctl: add passphrase management commands
  * ndctl: add a Theory of Operation document for security commands
  * ndctl: add support for displaying the security state
  * ndctl.spec.in: remove obsolete Group tag
  * ndctl.spec.in: remove obsolete ldconfig scriptlets
  * libndctl: fix bb iterator leak in namespaces
  * ndctl: Add supported_alignments to the JSON output
  * ndctl/namespace: Make the create-namespace JSON output non-verbose
  * ndctl: Add alignment to the namespace JSON output
  * ndctl/namespace: Validate alignment from the {pfn|dax} seed
  * ndctl/namespace: Use seed alignment as the default
  * ndctl/namespace: Check for seed namespaces earlier
  * libndctl: Use the supported_alignment attribute
  * libndctl: Fix the failure interpretation for status translations
Displaying revisions 21 - 40 of 66
openSUSE Build Service is sponsored by