linux/drivers/dax
Vishal Verma c347bd71dc device-dax: Add a 'modalias' attribute to DAX 'bus' devices
Add a 'modalias' attribute to devices under the DAX bus so that userspace
is able to dynamically load modules as needed.

Normally, udev can get the modalias from 'uevent', and that is correctly
set up by the DAX bus. However other tooling such as 'libndctl' for
interacting with drivers/nvdimm/, and 'libdaxctl' for drivers/dax/ can
also use the modalias to dynamically load modules via libkmod lookups.

The 'nd' bus set up by the libnvdimm subsystem exports a modalias
attribute. Imitate this to export the same for the 'dax' bus.

Cc: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2019-02-27 21:03:48 -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 'modalias' attribute to DAX 'bus' devices 2019-02-27 21:03:48 -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