NDCTL User Guide
HomePMDKNDCTLBlog
v70
v70
  • NDCTL User Guide
  • Installing NDCTL & DAXCTL
    • Installing NDCTL and DAXCTL Packages on Linux
    • Installing NDCTL and DAXCTL from Source on Linux
  • Quick Start
  • Concepts
    • NVDIMM Devices
    • PMEM and BLK Modes
    • Regions
      • Regions, Atomic Sectors, and DAX
    • Label Storage Area (LSA)
    • Namespaces
  • Managing NVDIMMs
  • Managing Regions
  • Managing Label Storage Areas (LSA)
  • Managing Namespaces
  • Managing NVDIMM Security
  • NDCTL Man Pages
    • ndctl(1)
    • ndctl-activate-firmware(1)
    • ndctl−check−labels(1)
    • ndctl−check−namespace(1)
    • ndctl−clear−errors(1)
    • ndctl−create−namespace(1)
    • ndctl−destroy−namespace(1)
    • ndctl−disable−dimm(1)
    • ndctl−disable−namespace(1)
    • ndctl−disable−region(1)
    • ndctl−enable−dimm(1)
    • ndctl-enable−namespace(1)
    • ndctl−enable−region(1)
    • ndctl−freeze−security(1)
    • ndctl−init−labels(1)
    • ndctl−inject−error(1)
    • ndctl−inject−smart(1)
    • ndct-list(1)
    • ndctl−load−keys(1)
    • ndctl−monitor(1)
    • ndctl-read-infoblock(1)
    • ndctl−read−labels(1)
    • ndctl−remove−passphrase(1)
    • ndctl−sanitize−dimm(1)
    • ndctl−setup−passphrase(1)
    • ndctl−start−scrub(1)
    • ndctl-update-firmware(1)
    • ndctl-update-passphrase(1)
    • ndctl−wait−overwrite(1)
    • ndctl−wait−scrub(1)
    • ndctl-write-infoblock(1)
    • ndctl−write−labels(1)
    • ndctl−zero−labels(1)
  • DAXCTL Man Pages
    • daxctl(1)
    • daxctl-list(1)
    • daxctl−migrate−device−model(1)
    • daxctl−offline−memory(1)
    • daxctl−online−memory(1)
    • daxctl−reconfigure−device(1)
  • Troubleshooting
  • Glossary
  • Reference Material
Powered by GitBook
On this page
  • Introduction
  • What's new in v70

Was this helpful?

NDCTL User Guide

NextInstalling NDCTL & DAXCTL

Last updated 4 years ago

Was this helpful?

Introduction

ndctl is a utility for managing the Linux LIBNVDIMM Kernel subsystem. It is designed to work with various non-volatile memory devices (NVDIMMs) from different vendors. The LIBNVDIMM subsystem defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the NFIT (NVDIMM Firmware Interface Table). The latest and specifications can be found at . Operations supported by ndctl include:

  • Provisioning capacity (namespaces)

  • Enumerating Devices

  • Enabling and Disabling NVDIMMs, Regions, and Namespaces

  • Managing NVDIMM Labels

What's new in v70

This release incorporates functionality up to the 5.9 kernel.

Highlights include support for the new firmware activation facility, a new 'split-acpi' command in 'daxctl' to aid testing and debugging, and other minor fixes.

Commands:

  • update-firmware: add support for firmware activation

  • list: updates for firmware activation

  • activate-firmware: new command to trigger firmware activation

  • daxctl-split-acpi: split ACPI tables for debugging

Tests:

  • revoke-devmem: new test to validate iomem protections

  • update-firmware: update to test firmware activation

APIs:

  • ndctl_bus_activate_firmware

  • ndctl_bus_clear_fw_activate_noidle

  • ndctl_bus_clear_fw_activate_nosuspend

  • ndctl_bus_get_fw_activate_method

  • ndctl_bus_get_fw_activate_state

  • ndctl_bus_set_fw_activate_noidle

  • ndctl_bus_set_fw_activate_nosuspend

  • ndctl_dimm_fw_activate_arm

  • ndctl_dimm_fw_activate_disarm

  • ndctl_dimm_get_fw_activate_result

  • ndctl_dimm_get_fw_activate_state

ACPI v6.0
ACPI
UEFI
uefi.org