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)
Wed, Oct 7, 5:28 PM
Unknown Object (File)
Fri, Oct 2, 6:40 PM
Unknown Object (File)
Fri, Oct 2, 2:46 AM
Unknown Object (File)
Thu, Oct 1, 8:52 PM
Unknown Object (File)
Wed, Sep 30, 12:59 PM
Unknown Object (File)
Wed, Sep 30, 5:11 AM
Unknown Object (File)
Wed, Sep 30, 3:03 AM
Unknown Object (File)
Sun, Sep 20, 2:00 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.