nvdimm4
Acpi nvdimm driver
Usage
To load the driver as a module at boot, place the following line in loader.conf(5):
nvdimm_load="YES"
Overview
Note: The nvdimm driver is under development and has some important limitations described below.
The nvdimm driver provides access to Non-Volatile DIMM (NVDIMM) persistent memory devices, which are ACPI-enumerated under the root NVDIMM device with a _HID of ACPI0012 and in the NFIT table.
For each System Physical Address (SPA) Range described by NFIT, a device node /dev/nvdimm_spaNNN is created, where NNN is the SPA position in the table. The node can be used to read(2), write(2), or mmap(2) the device.
Also, for each SPA, the geom provider spaNNN is created, which can be used to create a conventional filesystem (e.g., by newfs(8)) and mount(8) it as any storage volume. Content accessible by /dev/nvdimm_spaNNN and /dev/spaNNN is coherent.
The nvdimm driver has support for reading NVDIMM namespaces (if supported by your hardware and already configured by some other mechanism, e.g., a BIOS configuration screen). The driver will provide a /dev/nvdimm_spaNNNnsMMM device node and spaNNNnsMMM geom provider for each namespace in a SPA, which behave analogously to their full-SPA cousins described above.
Releases
19 releases since FreeBSD 12.1-RELEASE; the text changed 8 times.