diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-03-03 20:46:04 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-05 23:25:45 +0300 |
commit | f6ed58c70d14572d0272ee129579dbfc97b97f50 (patch) | |
tree | 1579f527bffa060ec75a21be4c75f83b21e7b9f7 /drivers/nvdimm/pmem.c | |
parent | cfe30b872058f211630eda7f65fb19d83beaaa3c (diff) | |
download | linux-f6ed58c70d14572d0272ee129579dbfc97b97f50.tar.xz |
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>
Diffstat (limited to 'drivers/nvdimm/pmem.c')
0 files changed, 0 insertions, 0 deletions