]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add initial driver for ACPI NFIT-enumerated NVDIMMs.
authorkib <kib@FreeBSD.org>
Tue, 16 Oct 2018 20:12:35 +0000 (20:12 +0000)
committerkib <kib@FreeBSD.org>
Tue, 16 Oct 2018 20:12:35 +0000 (20:12 +0000)
commita084607579c9e54938a8007138d3473c31f2ca3c
tree9e47d83f9b209ef444e3e3699f4d0c84f798a13b
parent6ccc1b583b329a848dc77aebe15c26cf1f10cab6
Add initial driver for ACPI NFIT-enumerated NVDIMMs.

Driver enumerates NVDIMMs.  Besides, for each found System Physical
Address (SPA) range, spaN geom provider is created, which allows
formatting and mounting the region as the normal volume.  Also,
/dev/nvdimm_spaN node is created, which can be read/written/mapped by
userspace, the mapping is zero-copy.

No support for block access methods implemented, labels are not
parsed.   No management interfaces are provided.

Tested by: Intel, NetApp
Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)
MFC after: 2 weeks
sys/dev/nvdimm/nvdimm.c [new file with mode: 0644]
sys/dev/nvdimm/nvdimm_spa.c [new file with mode: 0644]
sys/dev/nvdimm/nvdimm_var.h [new file with mode: 0644]
sys/modules/Makefile
sys/modules/nvdimm/Makefile [new file with mode: 0644]