MFC r345632 by lwhsu: Fix `make` in sys/modulesPR: 239120
MFC r344474-r344476r344474:nvdimm: split spa dev into a separate entitySeparate code for exposing a device backed by a system physicaladdress range away from the NVDIMM spa code. This will allo
MFC r344474-r344476r344474:nvdimm: split spa dev into a separate entitySeparate code for exposing a device backed by a system physicaladdress range away from the NVDIMM spa code. This will allow afuture patch to add support for NVDIMM namespaces while using thesame device code.Submitted by: D Scott Phillips <[email protected]>Reviewed by: bwidawskSponsored by: Intel CorporationDifferential Revision: https://reviews.freebsd.org/D18736r344475:nvdimm: Read NVDIMM namespace labelsWhen attaching to NVDIMM devices, read and verify the namespacelabels from the special namespace label storage area. A laterchange will expose NVDIMM namespaces derived from this label data.Submitted by: D Scott Phillips <[email protected]>Discussed with: kibSponsored by: Intel CorporationDifferential Revision: https://reviews.freebsd.org/D18735r344476:nvdimm: Simple namespace supportAdd support for simple NVDIMM v1.2 namespaces from the UEFIversion 2.7 specification. The combination of NVDIMM regions andlabels can lead to a wide variety of namespace layouts. Here wesupport a simple subset of namespaces where each NVDIMM SPA rangeis composed of a single region per member dimm.Submitted by: D Scott Phillips <[email protected]>Discussed with: kibSponsored by: Intel CorporationDifferential Revision: https://reviews.freebsd.org/D18736
show more ...
MFC r343629:nvdimm: only enumerate present nvdimm devices
Fix modules/nvdimm build issues after r339391 by adding a dependencyto the SRC list. Sort the list while changing the line.Reported by: ci.f.o, make -j24 buildkernelApproved by: re (gjb)
Add initial driver for ACPI NFIT-enumerated NVDIMMs.Driver enumerates NVDIMMs. Besides, for each found System PhysicalAddress (SPA) range, spaN geom provider is created, which allowsformatting a
Add initial driver for ACPI NFIT-enumerated NVDIMMs.Driver enumerates NVDIMMs. Besides, for each found System PhysicalAddress (SPA) range, spaN geom provider is created, which allowsformatting and mounting the region as the normal volume. Also,/dev/nvdimm_spaN node is created, which can be read/written/mapped byuserspace, the mapping is zero-copy.No support for block access methods implemented, labels are notparsed. No management interfaces are provided.Tested by: Intel, NetAppSponsored by: The FreeBSD FoundationApproved by: re (gjb)MFC after: 2 weeks