commit | f6ed58c70d14572d0272ee129579dbfc97b97f50 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Mar 03 09:46:04 2016 -0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Sat Mar 05 12:25:45 2016 -0800 |
tree | 1579f527bffa060ec75a21be4c75f83b21e7b9f7 | |
parent | cfe30b872058f211630eda7f65fb19d83beaaa3c [diff] |
libnvdimm, pfn: 'resource'-address and 'size' attributes for pfn devices Currenty with a raw mode pmem namespace the physical memory address range for the device can be obtained via /sys/block/pmemX/device/{resource|size}. Add similar attributes for pfn instances that takes the struct page memmap and section padding into account. Reported-by: Haozhong Zhang <haozhong.zhang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>