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)
Tue, Aug 11, 9:33 PM
Unknown Object (File)
Fri, Aug 7, 8:32 AM
Unknown Object (File)
Wed, Aug 5, 7:13 AM
Unknown Object (File)
Wed, Aug 5, 6:02 AM
Unknown Object (File)
Tue, Aug 4, 7:33 AM
Unknown Object (File)
Tue, Jul 28, 10:02 AM
Unknown Object (File)
Mon, Jul 27, 4:29 PM
Unknown Object (File)
Sat, Jul 25, 10:08 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.