63 Commits

Author SHA256 Message Date
730df14553 Accepting request 1308618 from home:michals
- Update to version 83
  * fix user visible spelling errors

OBS-URL: https://build.opensuse.org/request/show/1308618
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=71
2025-10-02 12:27:40 +00:00
f91e361508 Accepting request 1308614 from openSUSE:Factory:RISCV
- Enable build on riscv64

OBS-URL: https://build.opensuse.org/request/show/1308614
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=70
2025-10-02 12:23:29 +00:00
91b7493977 Accepting request 1285069 from home:michals
- Update to version 82
  * adds libcxl enumeration of FWCTL character devices - Linux 6.15 compatibility

OBS-URL: https://build.opensuse.org/request/show/1285069
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=69
2025-06-12 08:54:08 +00:00
7a6a48200b Accepting request 1265748 from home:michals
- Update to version 81
  * ndctl/namespace: avoid integer overflow in namespace validation
  * ndctl/dimm: do not increment a ULLONG_MAX slot value
  * ndctl/namespace: protect against overflow handling param.offset
  * ndctl/namespace: protect against under|over-flow w bad param.align
  * ndctl/list: display region caps for any of BTT, PFN, DAX
  * cxl/region: report max size for region creation
  * daxctl: output more information if memblock is unremovable
  * cxl/json: remove prefix from tracefs.h #include
- Remove upstreamed cxl-json-Fix-tracefs-include.patch

OBS-URL: https://build.opensuse.org/request/show/1265748
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=68
2025-04-01 18:24:11 +00:00
ab93ec3107 Accepting request 1206750 from home:michals
- Update to version 80
  * cxl-list: add --media-errors option
  * cxl-list: always emit memdev firmware revision
  * daxctl: fail create-device with extra parameters
  * daxctl: remove unused options from create-device usage message
- cxl-json-Fix-tracefs-include.patch

OBS-URL: https://build.opensuse.org/request/show/1206750
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=67
2024-10-15 09:38:42 +00:00
77af8e5c94 Accepting request 1178406 from home:simonlm:branches:hardware:nvdimm
Update to version 79

OBS-URL: https://build.opensuse.org/request/show/1178406
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=66
2024-06-04 08:43:24 +00:00
053a4f91b9 Accepting request 1123806 from home:dimstar:Factory
Fix build with RPM 4.19: unnumbered patches are no longer supported.

OBS-URL: https://build.opensuse.org/request/show/1123806
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=65
2023-11-07 17:05:10 +00:00
94287a8207 Accepting request 1103993 from home:michals
* Improved CXL support (jsc#PED-5804, jsc#PED-6162)
    * Refresh harden_ndctl-monitor.service.patch: Apply to cxl-monitor as well
- Remove upstreamed patches
  - daxctl-Fix-memblock-enumeration-off-by-one.patch
  - daxctl-Skip-over-memory-failure-node-status.patch
  - meson.build-fix-version-for-v75.patch
  - libndctl-msft-Remove-NDN_MSFT_SMART_-_VALID-defines.patch
  - libndctl-msft-Replace-nonsense-NDN_MSFT_CMD_SMART-co.patch
  - libndctl-msft-Add-custom-cmd_is_supported-method.patch
  - libndctl-msft-Improve-smart-state-reporting.patch
- Merge fixes since v75
  +  daxctl-Fix-memblock-enumeration-off-by-one.patch
  +  daxctl-Skip-over-memory-failure-node-status.patch
  +  meson.build-fix-version-for-v75.patch
  +  libndctl-msft-Remove-NDN_MSFT_SMART_-_VALID-defines.patch
  +  libndctl-msft-Replace-nonsense-NDN_MSFT_CMD_SMART-co.patch
  +  libndctl-msft-Add-custom-cmd_is_supported-method.patch
  +  libndctl-msft-Improve-smart-state-reporting.patch

OBS-URL: https://build.opensuse.org/request/show/1103993
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=64
2023-08-15 08:12:58 +00:00
2c249e5172 Accepting request 1103822 from home:michals
- Update to version 78
  * Improved CXL support (jsc#PED-5804)
  - Remove upstreamed patches
    - cxl-monitor-fix-include-paths-for-tracefs-and-tracee.patch
    - cxl-event-trace-use-the-wrapped-util_json_new_u64.patch

OBS-URL: https://build.opensuse.org/request/show/1103822
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=62
2023-08-14 09:59:32 +00:00
a531afcd8d Accepting request 1067561 from home:michals
- Add build fixes for TW and Leap
  + cxl-monitor-fix-include-paths-for-tracefs-and-tracee.patch
  + cxl-event-trace-use-the-wrapped-util_json_new_u64.patch

OBS-URL: https://build.opensuse.org/request/show/1067561
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=61
2023-02-24 09:23:49 +00:00
983edb7256 Accepting request 1067358 from home:michals
- Update to version 76
  * daxctl-online-memory: fix a memblock enumeration off-by-one
  * daxctl-online-memory: tolerate non-memblock sysfs attrs that start with 'memory_'
  * cxl-monitor: new command to monitor CXL events

OBS-URL: https://build.opensuse.org/request/show/1067358
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=60
2023-02-23 10:31:01 +00:00
d77df0b9e7 Accepting request 1067174 from home:michals
- Merge fixes since v75
  +  daxctl-Skip-over-memory-failure-node-status.patch
  +  meson.build-fix-version-for-v75.patch
  +  libndctl-msft-Remove-NDN_MSFT_SMART_-_VALID-defines.patch
  +  libndctl-msft-Replace-nonsense-NDN_MSFT_CMD_SMART-co.patch
  +  libndctl-msft-Add-custom-cmd_is_supported-method.patch
  +  libndctl-msft-Improve-smart-state-reporting.patch

OBS-URL: https://build.opensuse.org/request/show/1067174
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=59
2023-02-22 14:22:14 +00:00
6f08a2746e Accepting request 1058217 from home:michals
- Update to version 75 (jsc#PED-1080):
  * CXL fixes and improvements
  * Add master-passphrase removal support
  * some oob memory access fixes

- Update to version 74

OBS-URL: https://build.opensuse.org/request/show/1058217
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=58
2023-01-13 12:10:59 +00:00
53dacd50ef Accepting request 998981 from home:michals
Fixed JIRA reference

- Update to version 74 (jsc#PED-1080):
  * Many CXL fixes
  * Some build system fixes
  * monitor: Fix the monitor config file parsing
  * ndctl/bus: Handle missing scrub commands more gracefully
  * ndctl/dimm: Flush invalidated labels after overwrite
  - Remove upstreamed patch
    - ndctl-build-Fix-systemd-unit-directory-detection.patch
    - ndctl-meson-make-modprobedatadir-an-option.patch

- Update to version 73:

OBS-URL: https://build.opensuse.org/request/show/998981
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=57
2022-08-24 08:10:17 +00:00
608bf28941 Accepting request 993744 from home:michals
- Update to version 73 (jsc#PED-764):

OBS-URL: https://build.opensuse.org/request/show/993744
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=56
2022-08-08 10:39:13 +00:00
4dd7e97b7f Accepting request 968228 from home:michals
- Provide compatibility symlink for libdaxctl.h in the old location

OBS-URL: https://build.opensuse.org/request/show/968228
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=55
2022-04-10 12:05:36 +00:00
3e1366c1f2 Accepting request 961091 from home:michals
- Update to version 73:
  * Many CXL fixes
  * Fix shipped monitor.conf (bsc#1194696 https://github.com/pmem/ndctl/pull/189)
  * inject-smart: Add support for papr
  * Switch to meson build system
    + ndctl-build-Fix-systemd-unit-directory-detection.patch
    + ndctl-meson-make-modprobedatadir-an-option.patch
- Add monitor.conf migration as upstream has (bsc#1194696)
- Use %%config(noreplace) for files in /etc as upstream does.
- Update to version 72.1
   * Add support for CXL interface
   * Configuration file rework
   * Add service for automatic reconfiguration
   * Drop upstreamed patches
      - ndctl-namespace-skip-zero-namespaces-when-processing.patch
      - ndctl-namespace-Suppress-ENXIO-when-processing-all-n.patch
      - 0001-ndctl-namespace-Fix-disable-namespace-accounting-rel.patch
      - 0002-Expose-ndctl_bus_nfit_translate_spa-as-a-public-func.patch
      - 0003-libndctl-Unify-adding-dimms-for-papr-and-nfit-famili.patch
      - 0004-daxctl-fail-reconfigure-device-based-on-kernel-onlin.patch
      - 0005-libdaxctl-add-an-API-to-check-if-a-device-is-active.patch
      - 0006-libndctl-check-for-active-system-ram-before-disablin.patch
      - 0007-daxctl-emit-counts-of-total-and-online-memblocks.patch
      - 0008-ndctl-Update-nvdimm-mailing-list-address.patch
      - 0009-libndctl-papr-Fix-probe-for-papr-scm-compatible-nvdi.patch
      - 0010-ndctl-scrub-Stop-translating-return-values.patch
      - 0011-ndctl-scrub-Reread-scrub-engine-status-at-start.patch
      - 0012-ndctl-dimm-Fix-label-index-block-calculations.patch
      - 0013-daxctl-Add-Soft-Reservation-theory-of-operation.patch
      - 0014-Documentation-ndctl-fix-self-reference-of-ndctl-disa.patch

OBS-URL: https://build.opensuse.org/request/show/961091
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=54
2022-04-08 13:58:11 +00:00
9323268407 Accepting request 960743 from home:michals:branches:hardware:nvdimm
- Add support for reporting dirty shutdown count (jsc#SLE-18196).
   + 0016-libndctl-papr-Add-support-for-reporting-shutdown-cou.patch
   + 0009-libndctl-papr-Fix-probe-for-papr-scm-compatible-nvdi.patch
   + 0003-libndctl-Unify-adding-dimms-for-papr-and-nfit-famili.patch
- Merge fixes that went into v72 and v73
   - Documentation updates
      + 0015-ndctl-docs-Clarify-update-firwmware-activation-overf.patch
      + 0014-Documentation-ndctl-fix-self-reference-of-ndctl-disa.patch
      + 0013-daxctl-Add-Soft-Reservation-theory-of-operation.patch
      + 0008-ndctl-Update-nvdimm-mailing-list-address.patch
   - Label index block calculation fix
      + 0012-ndctl-dimm-Fix-label-index-block-calculations.patch
      + 0002-Expose-ndctl_bus_nfit_translate_spa-as-a-public-func.patch
   - Scrub fix
      + 0011-ndctl-scrub-Reread-scrub-engine-status-at-start.patch
      + 0010-ndctl-scrub-Stop-translating-return-values.patch
   - Add memblock count to JSON
      + 0007-daxctl-emit-counts-of-total-and-online-memblocks.patch
   - DAX disable fix
      + 0006-libndctl-check-for-active-system-ram-before-disablin.patch
      + 0005-libdaxctl-add-an-API-to-check-if-a-device-is-active.patch
      + 0001-ndctl-namespace-Fix-disable-namespace-accounting-rel.patch
   - DAX reconfigure fix
      + 0004-daxctl-fail-reconfigure-device-based-on-kernel-onlin.patch

OBS-URL: https://build.opensuse.org/request/show/960743
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=53
2022-03-10 13:36:16 +00:00
96de9e7153 Accepting request 960051 from home:mwilck:modprobe.d
- Install modprobe.conf file to %_modprobedir (bsc#1196275, jsc#SLE-20639)

OBS-URL: https://build.opensuse.org/request/show/960051
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=52
2022-03-10 11:14:07 +00:00
ae8b90f687 Accepting request 925021 from home:jsegitz:branches:systemdhardening:hardware:nvdimm
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
  * harden_ndctl-monitor.service.patch

OBS-URL: https://build.opensuse.org/request/show/925021
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=51
2021-10-13 08:21:23 +00:00
f30ced96ef Accepting request 908603 from home:michals
- Enable aarch64 build (bsc#1188502).

OBS-URL: https://build.opensuse.org/request/show/908603
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=50
2021-07-27 12:47:37 +00:00
ee2b665deb Accepting request 865881 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Enable aarch64 build

OBS-URL: https://build.opensuse.org/request/show/865881
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=49
2021-01-22 10:35:08 +00:00
7fbd8dcfb3 Accepting request 860807 from home:dirkmueller:branches:hardware:nvdimm
- update to 71.1:
  * ndctl/dimm: Attempt an abort upon firmware-update-busy status
  * ndctl/dimm: Fix submit_abort_firmware()

OBS-URL: https://build.opensuse.org/request/show/860807
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=48
2021-01-06 19:54:25 +00:00
b1a07bcf80 Accepting request 860226 from home:michals
- Update to upstream v71 (jsc#SLE-14344, bsc#1170384).

OBS-URL: https://build.opensuse.org/request/show/860226
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=47
2021-01-04 14:33:54 +00:00
44ff13ef8d Accepting request 859607 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/859607
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=46
2020-12-31 14:45:47 +00:00
747349f220 Accepting request 843141 from home:michals
- Update to upstream v70.1 (jsc#SLE-13338).
  Adds firmware activation support.

OBS-URL: https://build.opensuse.org/request/show/843141
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=45
2020-10-21 08:17:15 +00:00
e2bd02c99b Accepting request 830233 from home:michals
- 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):

OBS-URL: https://build.opensuse.org/request/show/830233
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=44
2020-09-02 11:43:03 +00:00
Nicolas Morey-Chaisemartin
0e4e5fe33b Accepting request 825396 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/825396
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=43
2020-08-18 10:17:57 +00:00
Nicolas Morey-Chaisemartin
5c7e6e0f4b Accepting request 805836 from home:polslinux:branches:hardware:nvdimm
- 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

OBS-URL: https://build.opensuse.org/request/show/805836
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=42
2020-05-18 08:15:55 +00:00
31d985ab7c Accepting request 791733 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/791733
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=41
2020-04-06 14:02:41 +00:00
d4a7c78e66 Accepting request 781266 from home:michals
- Fix 'ndctl enable-namespace all' fails trying to enable idle namespaces
  (bsc#1165509 ltc#182068).
  + ndctl-namespace-Fix-enable-namespace-error-for-seed-.patch

OBS-URL: https://build.opensuse.org/request/show/781266
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=39
2020-03-03 15:31:09 +00:00
Raymund Will
7f950f1ba8 Accepting request 781258 from home:michals
- ndctl/test: Relax dax_pmem_compat requirement (bsc#1159523)
  + ndctl-test-Relax-dax_pmem_compat-requirement.patch
- Add -fcommon flag on Tumbleweed (boo#1160286).

OBS-URL: https://build.opensuse.org/request/show/781258
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=38
2020-03-03 15:23:30 +00:00
Johannes Thumshirn
703193af29 Accepting request 746640 from home:michals
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
+

OBS-URL: https://build.opensuse.org/request/show/746640
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=36
2019-11-11 14:23:37 +00:00
Johannes Thumshirn
d3304b7043 Accepting request 741081 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/741081
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=35
2019-10-23 07:05:09 +00:00
Johannes Thumshirn
8780d43b0f Accepting request 725129 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/725129
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=34
2019-08-23 12:34:15 +00:00
Johannes Thumshirn
f3adc99618 Accepting request 724586 from home:michals
- ndctl/namespace: Handle 'create-namespace' in label-less mode (bsc#1145471 ltc#179886).
  + ndctl-namespace-Handle-create-namespace-in-label-less-mode.patch

OBS-URL: https://build.opensuse.org/request/show/724586
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=33
2019-08-21 14:10:30 +00:00
Johannes Thumshirn
aca109ed2a Accepting request 724562 from home:michals
- 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).

OBS-URL: https://build.opensuse.org/request/show/724562
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=32
2019-08-19 11:50:37 +00:00
Johannes Thumshirn
6b5cdf7a30 Accepting request 724119 from home:michals
- 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

OBS-URL: https://build.opensuse.org/request/show/724119
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=31
2019-08-19 08:28:48 +00:00
Johannes Thumshirn
ed1fc65192 Accepting request 708105 from home:morbidrsa
Ressurect lost changelog entry from SLE.

OBS-URL: https://build.opensuse.org/request/show/708105
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=30
2019-06-06 10:41:07 +00:00
Johannes Thumshirn
55e58c9267 Accepting request 681655 from home:morbidrsa
- 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

OBS-URL: https://build.opensuse.org/request/show/681655
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=29
2019-03-05 09:36:55 +00:00
Johannes Thumshirn
62c8f8b2c3 Accepting request 671114 from home:morbidrsa
- 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

OBS-URL: https://build.opensuse.org/request/show/671114
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=27
2019-02-04 12:55:34 +00:00
Johannes Thumshirn
eca68b6bfd Accepting request 664028 from home:morbidrsa
- Use Type=simple instead of Type=forking for service (bsc#1120931)
  + 0001-ndctl-monitor-use-type-simple-instead-of-type-forkin.patch

OBS-URL: https://build.opensuse.org/request/show/664028
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=26
2019-01-09 08:58:47 +00:00
Johannes Thumshirn
f5a196a3cd Accepting request 657799 from home:morbidrsa
- Enable ppc64le build (FATE#326817)

OBS-URL: https://build.opensuse.org/request/show/657799
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=25
2018-12-13 10:29:14 +00:00
Johannes Thumshirn
a22ece5fa2 Accepting request 647363 from home:rwill:branches:hardware:nvdimm
Fix rpmbuild failure on SLE12 SP4 (plus minor rpmlint warnings)

OBS-URL: https://build.opensuse.org/request/show/647363
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=24
2018-11-08 15:36:46 +00:00
Johannes Thumshirn
ce7f49eca4 Accepting request 640572 from home:morbidrsa
- Update to version 63 (FATE#326198):
  * ndctl: release v63
  * ndctl, monitor: in daemon mode, exit successfully if no DIMMs are found
  * ndctl, monitor: fix the severity of "daemon started" message
  * libndctl: set errno for routines that don't return an error status
  * ndctl, check-labels: correct check-labels message wording
  * ndctl: Revert "ndctl: Create ndctl udev rules for dirty shutdown"
  * ndctl: Revert "ndctl, intel: Fallback to smart cached shutdown_count"
  * ndctl, lib: Add dirty-shutdown-count retrieval helper
  * util/json: add a util_namespace_badblocks_to_json() helper
  * util/json: Add comments around re-checking the UTIL_JSON_MEDIA_ERRORS flag
  * util/json: fix an error check for region resource
  * ndctl, lib: add APIs for retrieving namespace badblocks
  * ndctl, lib: refactor badblocks retrieval routines
  * ndctl, test: add a new unit test pfn metadata error clearing
  * ndctl, spec: Use pkgconfig for systemd
  * ndctl, build: Introduce --with-{bash,systemd}
  * ndctl: Suppress command errors if fallback exists
  * ndctl, namespace: rework namespace action accounting
  * ndctl, destroy-namespace: check for an already-zeroed info block
  * ndctl, test: add UUID_LIBS for list_smart_dimm
  * ndctl, docs: Use asciidoctor by default
  * ndctl, list: fix the verbosity level formatting in the man page
  * ndctl, monitor: Fix formatting for --log in the man page
  * ndctl, autoconf: include sys/mman.h for MAP_SYNC

OBS-URL: https://build.opensuse.org/request/show/640572
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=23
2018-10-08 09:56:58 +00:00
Johannes Thumshirn
c7c7eda2f7 Accepting request 631118 from home:morbidrsa
- Update to version 62 (FATE#326529):
  * ndctl: release v62
  * ndctl: Work around kernel memory corruption
  * ndctl, udev: fix a resource leak in save_unsafe_shutdown_count
  * ndctl: fix potential null dereference in the smart error handler
  * ndctl, prepare-release.sh: fix revision update checks
  * ndctl: Add 'list' verbose options
  * ndctl, test: fix a resource leak in check_smart_threshold
  * ndctl, test: fix a potential null pointer dereference in 'ndctl test'
  * libndctl: fix a resource leak in ndctl_dimm_get_{{event_}flags, health}
  * ndctl: fix a resource leak in submit_get_firmware_info
  * ndctl, inject: fix a resource leak in ndctl_namespace_get_clear_unit
  * ndctl, monitor: add [Install] Section to systemd unit file of ndctl-monitor
  * ndctl, monitor: add timestamp and pid to log messages in log_file()
  * ndctl, monitor: set default log destination to syslog if "--daemon" is specified
  * ndctl, monitor: fix the lack of detection of invalid path of log file
  * ndctl, intel: Fallback to smart cached shutdown_count
  * ndctl: Create ndctl udev rules for dirty shutdown
  * ndctl, list: add alarm_enable_<field> to list
  * ndctl, test: add a new unit test for max_available_extent namespace
  * ndctl, documentation: Clarify the dimm id for ndctl list d option
  * ndctl, tests: add a new unit test for inject-smart
  * ndctl, inject-smart: continue in spite of errors for uninject-all
  * ndctl, monitor: add [--verbose] option to emit extra debug messages
  * ndctl, monitor: Fix duplicate prefix in monitor.log
  * ndctl, inject-smart: add an interface to inject ctrl-temperature
  * ndctl: Use max_available_extent for namespace
  * ndctl, test/monitor: fix inject-smart field in test_filter_dimmevent
  * ndctl, test: remove the firmware image file before the test end
  * ndctl inject-smart: add an option to uninject smart fields

OBS-URL: https://build.opensuse.org/request/show/631118
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=20
2018-08-23 14:04:25 +00:00
Johannes Thumshirn
229c29e3f9 Accepting request 618945 from home:morbidrsa
- Drop 'v' from pkgconfig-version (breaks 'ipmctl') (FATE#325527)
- Update to version 60.1 (FATE#322885):
  * ndctl: release v60.1
  * ndctl: fix ABI breakage due to rename of fw_info_get_updated_version
  * ndctl, documentation: add inject-smart to the Makefile
  * ndctl: release v60
  * ndctl, bash-completion: add completion for {start,wait}-scrub commands
  * ndctl, util: add a raw_uuid field to namespace listings
  * ndctl: fix ordering of closing vs invalidating flush_fd
  * ndctl: fix libdaxctl memory leak
  * ndctl: add support in libndctl to provide deep flush
  * ndctl, test: fix pmem-errors.sh vs new ARS rework
  * ndctl, scrub: add {wait,start}-scrub helper utilities
  * ndctl: add new START and WAIT actions
  * ndctl, scrub: add ndctl_bus_start_scrub()
  * ndctl, scrub: report the bus scrub state in 'ndctl list'
  * ndctl, scrub: fix ndctl_bus_wait_for_scrub_completion()
  * ndctl: complete move to "fsdax" and "devdax"
  * ndctl, read-labels: fix json reference counting
  * ndctl: export ndctl.h
  * ndctl, test: add write_cache testing to libndctl
  * libndctl: Add APIs for query and control of write_cache
  * ndctl: fix ndctl_persistence_domain declaration
  * ndctl, rescan-partitions.sh: fix skipping for missing modules
  * ndctl: replace direct errno prints with strerror strings
  * ndctl, inject-smart: fix usage of strerror(errno)
  * ndctl, check: fix a few error returns
  * ndctl: Add support for get bus and region persistence domain
  * ndctl: fail NUMA filtering when unsupported
  * ndctl, documentation: update copyright
  * ndctl: complete removal of daxctl io
  * ndctl: fix input/output size for Intel firmware update DSM
  * ndctl, sysfs: null terminate buffer on error
  * ndctl, list: fix namespace json object parenting
  * ndctl. test: fix module-taint sanity-check
  * ndctl, documentation: remove '...' from label-options.txt
  * ndctl, docs: cleanup the man page for create-namespace
  * ndctl: removing daxctl io
  * libndctl.sym: move new interfaces since v59 to a new section
  * ndctl, list: fix sector_size listing
  * ndctl: merge firmware-update into dimm.c as another dimm operation
  * ndctl: add check for update firmware supported
  * ndctl, bash-completion: add completion for --numa-node
  * ndctl: add filtering based on numa node
  * ndctl: add numa_node support for regions
  * ndctl: don't print erroneous namespace numa_nodes
  * ndctl, tests: firmware-update.sh post-test cleanup
  * ndctl, test: add a unit test for partition rescanning
  * ndctl, create-namespace: fix minimum alignment detection
  * ndctl, list: refactor core topology walking into util_filter_walk()
  * ndctl, firmware-update: kill usage of flock() in verify_fw_file()
  * ndctl, test: kill usage of fallocate in firmware-update.sh
  * ndctl, test: skip btt-pad compat test on pre-4K capable kernels
  * ndctl, test: fix dpa-alloc for kernels with 4M min size
  * ndctl, log: add support for LOG_NOTICE messages
  * ndctl, test: explicitly request namespace size
  * ndctl, test: fix stale json in btt-pad-compat.sh
  * ndctl, test: fix tests that use error injection on older kernels
  * ndctl: add test files to .gitignore
  * ndctl: tests must use local ndctl
  * ndctl, update: remove the check for !cmd when dereferencing it
  * ndctl, update: fix uninitialized variable warnings
  * ndctl, inject-smart: cleanup uninitialized variable warnings
  * ndctl, configure: add -Wmaybe-uninitialized to cflags
  * ndctl: add option to list firmware information for a DIMM
  * ndctl: adding unit test for enable ack shutdown count
  * ndctl: add support for acknolwedge shutdown count enable
  * ndctl, smart: fix threshold temperature helper
- Update to version v59.2 (FATE#322885):
  * ndctl: add ndctl_encode_smart_temperature()
  * ndctl: add a new command - inject-smart
  * ndctl, bash-completion: Add bash completion for inject-smart
  * ndctl: Add CONFIG_DEV_DAX_PMEM=m to README.md
  * ndctl: add info about CONFIG_X86_PMEM_LEGACY to README.md
  * ndctl: release v59
  * ndctl: fallback to sysconf for PAGE_SIZE
  * ndctl: release v59.1
  * ndctl, hugetlb: skip, don't fail
  * ndctl, firmware: fix kernel version check
- Upstream version v57.1 (FATE#322885)
  - libndctl-add-support-for-the-msft-family-of-dsm-functions.patch
  This release incorporates the capabilities of the 4.12 kernel. Major
  highlights include the new 'ndctl check-namespace' utility to check and
  repair btt instances, new option to 'ndctl list' to enumerate device
  relative error offsets, and support for the "JEDEC Byte-Addressable
  Energy-Backed Interface NVDIMM" SMART health format.
  
  Commands:
      ndctl check-namespace: check and repair a btt instance
      ndctl list: new '--media-errors' option
      ndctl list: add acpi 6.1 dimm health state flags
      ndctl write-labels: new command to deploy data to dimm label areas
  
  Tests:
      blk-exhaust: validate aliased pmem vs blk capacity accounting
      daxdev-errors: error injection and clearing for device-dax
      device-dax-fio: i/o traffic sanity check for device-dax
      label-compat: regression test for interleave-set-cookie compatibility
  
  Apis:
      ndctl_dimm_has_notifications: acpi 6.1 health-state notification flag
      ndctl_dimm_failed_map: acpi 6.1 map failure flag
      ndctl_region_get_resource: region resource base address
      ndctl_region_get_{first,next}_badblock: media error enumeration
      ndctl_namespace_disable_safe: check for busy block device before disable
      ndctl_namespace_is_active: check if namespace is enabled or claimed
-  Add support for MSFT family DSM functions (bsc#1040158)
  + libndctl-add-support-for-the-msft-family-of-dsm-functions.patch
- Upstream version v56 (fate#321506)
  This release incorporates the capabilities of the 4.10 kernel. Major
  highlights include the new 'daxctl' utility and its 'list' command, as
  well as several usability tweaks and cleanups to 'ndctl
  create-namespace' and 'ndctl list'.
  Commands:
    ndctl list: add support for filtering by namespace mode
    daxctl list: generically list device-dax instances in a platform
    ndctl create-namespace: reconcile namespace size against interleave-width
  Tests:
    test: sanity check the unit test kernel modules befor running tests
    device-dax: extend it to test 4K and 1G alignments in addition to 2M
    multi-pmem: check namespace deletion cleanup
  Apis:
    ndctl_{pfn,dax}_has_align: detect kernels that lack the align attribute
    ndctl_{set,get}_private_data: attach private data to a library context
    daxctl_region_get_size: retrieve the total dax region size
    daxctl_region_get_align: retrieve the physical alignment of the region
    daxctl_region_get_{first,next}: enable listing of device-dax regions
- Upstream version v55
  This release incorporates the capabilities of the 4.9 kernel. Major
  highlights include support for retrieving the health status of HPE
  NVDIMMs, and new label manipulation / validation commands.
  
  Commands:
      list: add HPE NVDIMM health reporting
      init-labels: initialize a namespace-label index-block
      check-labels: validate a namespace-label index-block
      create-namespace: fix crash when target region disabled
      bash-completion: add {en,dis}able-dimm and {check,init}-labels support
  
  Tests:
      dsm-fail: check that namespaces stay disabled when label DSMs fail
      multi-pmem: validate pmem-region sub-division support
      libndctl: add btt-size check
      libndctl: test health event notification support
      device-dax: validate "invalidate on shutdown" behavior of dax devices
      device-dax: validate direct-i/o to device-dax mappings
      device-dax: check kernel fix for file offset to phys offset translation
      device-dax: check kernel fix for crash when reading /proc/<pid>/smaps
      clear: check kernel fix for making cleared badblocks stay cleared
  
  Apis:
      daxctl_region_get_available_size: new, in support of dax sub-division
      daxctl_region_get_devname: new, in support of dax sub-division
      daxctl_region_get_dev_seed: new, in support of dax sub-division
      ndctl_dimm_get_health_eventfd: new, fires upon firmware health event notification
      ndctl_cmd_cfg_read_get_size: new, simplifies label manipulation routines
      ndctl_dimm_get_available_labels: fix error return value to be ULONG_MAX
      ndctl_region_get_available_size: fix error return value to be ULLONG_MAX
      ndctl_dimm_cmd_new_cfg_{read,write}: fix to not overflow label area size
- Update to v54
  This release incorporates the capabilities of the 4.8 kernel.  Updates
  to the unit tests make up the bulk of this release to account for kernel
  commit 1ee6667cd8d1 "libnvdimm, pfn, dax: fix initialization vs
  autodetect for mode + alignment".
  Commands:
    list: add device-dax information
    list: add btt size information
    create-namespace: fix handling of invalid sector sizes
    create-namespace: static analysis fixes
    bash-completion: namespace completion enhancements
  Tests:
    libndctl: updates for pfn and dax autodetect changes
    libndctl: new gates for running against older kernels
    device-dax: new
    pcommit: remove, the pcommit instruction has been deprecated
  Apis:
    ndctl_dimm_get_manufacturing_date: new
    ndctl_dimm_get_manufacturing_location: new
    ndctl_btt_get_size: new
    ndctl_cmd_unref: fix, accepts NULL input
- Fix rpmbuild failure on factory 
- Update to v53.1 (FATE#319859)
  This release incorporates the capabilities of the 4.7-rc1 kernel (most
  prominently in that kernel 'Device DAX', DAX error handling, and
  third-party DSM support).  The ndctl updates include:
  
  New commands / options:
      bash completion for ndctl commands
      DIMM SMART data retrieval (ndctl list --dimms --health)
      ndctl destroy-namespace
      ndctl read-labels
  
  New tests:
      DAX error handling unit test (dax-errors.sh)
  
  Command fixes:
      ndctl list
      ndctl create-namespace
  
  New apis:
      ndctl_cmd_smart_get_alarm_flags
      ndctl_cmd_smart_get_flags
      ndctl_cmd_smart_get_health
      ndctl_cmd_smart_get_life_used
      ndctl_cmd_smart_get_shutdown_state
      ndctl_cmd_smart_get_spares
      ndctl_cmd_smart_get_temperature
      ndctl_cmd_smart_get_vendor_data
      ndctl_cmd_smart_get_vendor_size
      ndctl_cmd_smart_threshold_get_alarm_control
      ndctl_cmd_smart_threshold_get_spares
      ndctl_cmd_smart_threshold_get_temperature
      ndctl_dax_delete
      ndctl_dax_enable
      ndctl_dax_get_align
      ndctl_dax_get_bus
      ndctl_dax_get_ctx
      ndctl_dax_get_daxctl_region
      ndctl_dax_get_devname
      ndctl_dax_get_first
      ndctl_dax_get_id
      ndctl_dax_get_location
      ndctl_dax_get_namespace
      ndctl_dax_get_next
      ndctl_dax_get_region
      ndctl_dax_get_resource
      ndctl_dax_get_size
      ndctl_dax_get_uuid
      ndctl_dax_is_configured
      ndctl_dax_is_enabled
      ndctl_dax_is_valid
      ndctl_dax_set_align
      ndctl_dax_set_location
      ndctl_dax_set_namespace
      ndctl_dax_set_uuid
      ndctl_dimm_cmd_new_smart
      ndctl_dimm_cmd_new_smart_threshold
      ndctl_dimm_get_formatN
      ndctl_dimm_get_formats
      ndctl_dimm_get_subsystem_device
      ndctl_dimm_get_subsystem_revision
      ndctl_dimm_get_subsystem_vendor
      ndctl_dimm_get_unique_id
      ndctl_get_daxctl_ctx
      ndctl_namespace_get_dax
      ndctl_namespace_get_dax
      ndctl_region_get_dax_seed
      daxctl_dev_get_devname
      daxctl_dev_get_first
      daxctl_dev_get_id
      daxctl_dev_get_major
      daxctl_dev_get_minor
      daxctl_dev_get_next
      daxctl_dev_get_region
      daxctl_dev_get_size
      daxctl_get_log_priority
      daxctl_get_userdata
      daxctl_new
      daxctl_new_region
      daxctl_ref
      daxctl_region_get_ctx
      daxctl_region_get_id
      daxctl_region_get_uuid
      daxctl_region_ref
      daxctl_region_unref
      daxctl_region_unref
      daxctl_set_log_fn
      daxctl_set_log_priority
      daxctl_set_userdata
      daxctl_unref
- NVDIMM is not defined for any CPU architecture other than x86_64 at the
  moment.
- RPM group and description update
- Update to v52
  This release incorporates the capabilities of the 4.6 kernel (most
  prominently 'clear poison' support), and adds the below features and
  fixes:
  
  New apis:
  ndctl_invalidate
  ndctl_cmd_ars_cap_get_range
  ndctl_bus_cmd_new_clear_error
  ndctl_cmd_clear_error_get_cleared
  ndctl_namespace_get_resource
  ndctl_pfn_get_size
  ndctl_pfn_get_resource
  
  Api fixes:
  ndctl_bus_cmd_new_ars_status - output buffer sizing fix
  ndctl_bus_cmd_new_ars_status - input validation
  ndctl_cmd_ars_in_progress - invalidate state after checking
- Update to v51
  This release reworks spec file generation to use automated tarballs
  generated by github for each annotated tag. It also includes a couple of
  minor fixes.
- Update to v50
  This release incorporates the capabilities of the 4.5 kernel,
  and adds the below features and fixes:
  New apis:
  ndctl_bus_get_ctx
  ndctl_namespace_get_pfn
  ndctl_namespace_get_mode
  ndctl_namespace_get_numa_node
  ndctl_region_get_pfn_seed
  ndctl_pfn_get_first
  ndctl_pfn_get_next
  ndctl_pfn_get_id
  ndctl_pfn_get_namespace
  ndctl_pfn_get_uuid
  ndctl_pfn_set_uuid
  ndctl_pfn_get_location
  ndctl_pfn_set_location
  ndctl_pfn_get_align
  ndctl_pfn_set_align
  ndctl_pfn_set_namespace
  ndctl_pfn_get_bus
  ndctl_pfn_get_ctx
  ndctl_pfn_get_devname
  ndctl_pfn_get_block_device
  ndctl_pfn_is_valid
  ndctl_pfn_is_enabled
  ndctl_pfn_get_region
  ndctl_pfn_enable
  ndctl_pfn_delete
  ndctl_pfn_is_configured
  
  New utility commands:
  list
  help (man pages)
  create-namespace
  
  Api fixes:
  ndctl_{namespace|btt}_foreach crash fix
  ndctl_namespace_delete no longer errors on "io" namespaces
  miscellaneous static analysis fixes
  Utility command fixes:
  {en|dis}able-{namespace|region} return code
- updates for the new versioning scheme introduced with v47
- synchronized the spec file with the one produced by contrib/genspec
- cleaned up spec file. added licenses. added make check
- Management library for "libnvdimm" subsystem devices (Non-volatile Memory)

OBS-URL: https://build.opensuse.org/request/show/618945
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=19
2018-06-29 08:50:37 +00:00
Raymund Will
004ce7b3af - Drop 'v' from pkgconfig-version (breaks 'ipmctl') (FATE#325527)
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=18
2018-06-22 10:01:18 +00:00
Johannes Thumshirn
5d71033d36 Accepting request 607403 from home:morbidrsa
Add FATE number

OBS-URL: https://build.opensuse.org/request/show/607403
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=17
2018-05-15 07:21:58 +00:00
Johannes Thumshirn
12d244e3c6 Accepting request 605339 from home:morbidrsa
- Update to version 60.1:
  * ndctl: release v60.1
  * ndctl: fix ABI breakage due to rename of fw_info_get_updated_version
  * ndctl, documentation: add inject-smart to the Makefile
  * ndctl: release v60
  * ndctl, bash-completion: add completion for {start,wait}-scrub commands
  * ndctl, util: add a raw_uuid field to namespace listings
  * ndctl: fix ordering of closing vs invalidating flush_fd
  * ndctl: fix libdaxctl memory leak
  * ndctl: add support in libndctl to provide deep flush
  * ndctl, test: fix pmem-errors.sh vs new ARS rework
  * ndctl, scrub: add {wait,start}-scrub helper utilities
  * ndctl: add new START and WAIT actions
  * ndctl, scrub: add ndctl_bus_start_scrub()
  * ndctl, scrub: report the bus scrub state in 'ndctl list'
  * ndctl, scrub: fix ndctl_bus_wait_for_scrub_completion()
  * ndctl: complete move to "fsdax" and "devdax"
  * ndctl, read-labels: fix json reference counting
  * ndctl: export ndctl.h
  * ndctl, test: add write_cache testing to libndctl
  * libndctl: Add APIs for query and control of write_cache
  * ndctl: fix ndctl_persistence_domain declaration
  * ndctl, rescan-partitions.sh: fix skipping for missing modules
  * ndctl: replace direct errno prints with strerror strings
  * ndctl, inject-smart: fix usage of strerror(errno)
  * ndctl, check: fix a few error returns
  * ndctl: Add support for get bus and region persistence domain
  * ndctl: fail NUMA filtering when unsupported
  * ndctl, documentation: update copyright
  * ndctl: complete removal of daxctl io

OBS-URL: https://build.opensuse.org/request/show/605339
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ndctl?expand=0&rev=16
2018-05-14 08:46:27 +00:00