linux-stable/drivers/dax
Dan Williams 21c75763a3 device-dax: Add a 'target_node' attribute
The target-node attribute is the Linux numa-node that a device-dax
instance may create when it is online. Prior to being online the
device's 'numa_node' property reflects the closest online cpu node which
is the typical expectation of a device 'numa_node'. Once it is online it
becomes its own distinct numa node, i.e. 'target_node'.

Export the 'target_node' property to give userspace tooling the ability
to predict the effective numa-node from a device-dax instance configured
to provide 'System RAM' capacity.

Cc: Vishal Verma <vishal.l.verma@intel.com>
Reported-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2019-02-20 11:39:36 -08:00
..
pmem acpi/nfit, device-dax: Identify differentiated memory with a unique numa-node 2019-01-06 21:41:57 -08:00
bus.c device-dax: Add a 'target_node' attribute 2019-02-20 11:39:36 -08:00
bus.h acpi/nfit, device-dax: Identify differentiated memory with a unique numa-node 2019-01-06 21:41:57 -08:00
dax-private.h acpi/nfit, device-dax: Identify differentiated memory with a unique numa-node 2019-01-06 21:41:57 -08:00
device.c device-dax: Add /sys/class/dax backwards compatibility 2019-01-06 21:41:57 -08:00
Kconfig device-dax: Add /sys/class/dax backwards compatibility 2019-01-06 21:41:57 -08:00
Makefile device-dax: Add /sys/class/dax backwards compatibility 2019-01-06 21:41:57 -08:00
super.c device-dax: Introduce bus + driver model 2019-01-06 21:24:46 -08:00