summaryrefslogtreecommitdiffstats
path: root/fs/dax.c
diff options
context:
space:
mode:
authorVishal Verma2019-06-21 02:40:38 +0200
committerDan Williams2019-06-21 02:40:00 +0200
commit40cdc60ac16a42eb4e013f84d0e7aa1d6ee060d3 (patch)
tree1dc50d892f9b1586639ed1ae53b001cca21350a6 /fs/dax.c
parentLinux 5.2-rc5 (diff)
downloadkernel-qcow2-linux-40cdc60ac16a42eb4e013f84d0e7aa1d6ee060d3.tar.gz
kernel-qcow2-linux-40cdc60ac16a42eb4e013f84d0e7aa1d6ee060d3.tar.xz
kernel-qcow2-linux-40cdc60ac16a42eb4e013f84d0e7aa1d6ee060d3.zip
device-dax: Add a 'resource' attribute
device-dax based devices were missing a 'resource' attribute to indicate the physical address range contributed by the device in question. This information is desirable to userspace tooling that may want to use the dax device as system-ram, and wants to selectively hotplug and online the memory blocks associated with a given device. Without this, the tooling would have to parse /proc/iomem for the memory ranges contributed by dax devices, which can be a workaround, but it is far easier to provide this information in the sysfs hierarchy. Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions