Page MenuHomeFreeBSD

nvdimm: Provide nvdimm location information
ClosedPublic

Authored by scottph on Jun 5 2019, 7:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 4:54 PM
Unknown Object (File)
Mon, Apr 27, 4:16 AM
Unknown Object (File)
Sat, Apr 25, 6:49 PM
Unknown Object (File)
Tue, Apr 21, 1:37 AM
Unknown Object (File)
Mon, Apr 20, 8:18 PM
Unknown Object (File)
Mon, Apr 20, 4:35 PM
Unknown Object (File)
Tue, Apr 14, 10:40 PM
Unknown Object (File)
Sun, Apr 12, 8:41 PM
Subscribers

Details

Summary

Provide the acpi handle path as the location string for the nvdimm
children of the nvdimm_root device.

MFC after: 1 week
Sponsored by: Intel Corporation

Test Plan

load nvdimm.ko, see sysctl entries like:

dev.nvdimm.2.%location: handle=\_SB_.NVDR.N031

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 5 2019, 7:29 PM
sys/dev/nvdimm/nvdimm.c
572 ↗(On Diff #58275)

oops, in the process of posting the patch I managed to lose a parenthesis here. I have the dumb error fixed up locally.

This revision was automatically updated to reflect the committed changes.