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, Apr 16, 1:26 PM
Unknown Object (File)
Mon, Apr 14, 8:33 AM
Unknown Object (File)
Mon, Apr 14, 3:50 AM
Unknown Object (File)
Sun, Apr 13, 11:28 PM
Unknown Object (File)
Sun, Apr 13, 11:27 PM
Unknown Object (File)
Mar 14 2025, 12:35 PM
Unknown Object (File)
Mar 6 2025, 2:45 AM
Unknown Object (File)
Feb 8 2025, 2:39 AM
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.