Page MenuHomeFreeBSD

nvdimm: Provide nvdimm location information
ClosedPublic

Authored by scottph on Jun 5 2019, 7:19 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

scottph created this revision.Jun 5 2019, 7:19 PM
kib accepted this revision.Jun 5 2019, 7:29 PM
This revision is now accepted and ready to land.Jun 5 2019, 7:29 PM
scottph added inline comments.Jun 5 2019, 7:35 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.

jhb accepted this revision.Jun 5 2019, 7:55 PM
This revision was automatically updated to reflect the committed changes.