Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
nvdimm(4): Fix Clang build after r353110Clang spuriously warns about some well-defined C99 static initializers.Mute it.X-MFC-With: r353110
nvdimm(4): Add nvdimm_e820 pseudo-busnvdimm_e820 is a newbus pseudo driver that looks for "legacy" e820 PRAMspans and creates ordinary-looking SPA devfs nodes for them(/dev/nvdimm_spaN).As thes
nvdimm(4): Add nvdimm_e820 pseudo-busnvdimm_e820 is a newbus pseudo driver that looks for "legacy" e820 PRAMspans and creates ordinary-looking SPA devfs nodes for them(/dev/nvdimm_spaN).As these legacy regions lack real NFIT SPA regions and namespacedefinitions, they must be administratively sliced up externally usingdevice.hints. This is similar in purpose to the Linux memmap= mechanism.It is assumed that systems with working NFIT tables will not have any usefor this driver, and that that will be the prevailing style going forward,so if there are no explicit hints provided, this driver does notautomatically create any devices.Reviewed by: kib (previous version)Sponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D21885
show more ...
nvdimm(4): Extract ACPI root bus driverNo functional change intended.The intent is to add a "legacy" e820 pmem newbus bus for nvdimm device in asubsequent revision, and it's a little more clear
nvdimm(4): Extract ACPI root bus driverNo functional change intended.The intent is to add a "legacy" e820 pmem newbus bus for nvdimm device in asubsequent revision, and it's a little more clear if the parent buses getindependent source files.Quite a lot of ACPI-specific logic is left in nvdimm.c; disentangling thatis a much larger change (and probably not especially useful).Reviewed by: kibSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D21813
Fix `make` in sys/modulesSponsored by: The FreeBSD Foundation
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 nam
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 <d.scott.phillips@intel.com>Discussed with: kibMFC after: 1 weekSponsored by: Intel CorporationDifferential Revision: https://reviews.freebsd.org/D18736
nvdimm: only enumerate present nvdimm devicesNot all child devices of the NVDIMM root device represent DIMM deviceswhich are present in the system. The spec says (ACPI 6.2, sec 9.20.2): For e
nvdimm: only enumerate present nvdimm devicesNot all child devices of the NVDIMM root device represent DIMM deviceswhich are present in the system. The spec says (ACPI 6.2, sec 9.20.2): For each NVDIMM present or intended to be supported by platform, platform firmware also exposes an NVDIMM device ... under the NVDIMM root device.Present NVDIMM devices are found by walking all of the NFIT table'sSPA ranges, then walking the NVDIMM regions mentioned by those SPAranges.A set of NFIT walking helper functions are introduced to avoid theneed to splat the enumeration logic across several disparatecallbacks.Submitted by: D Scott Phillips <d.scott.phillips@intel.com>Sponsored by: Intel CorporationMFC after: 1 weekDifferential revision: https://reviews.freebsd.org/D18439
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