OSDN Git Service

cxl/core: Emit modalias for CXL devices
authorDan Williams <dan.j.williams@intel.com>
Mon, 24 Jan 2022 00:30:41 +0000 (16:30 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Feb 2022 06:57:30 +0000 (22:57 -0800)
commit83fbdbe4c18678eebe63fc49913f149a5afde057
tree927d4a3b121cdfd917c30006175d6fe551e28072
parentd17d0540a0dbf109210f7b57a37571e2978da0fa
cxl/core: Emit modalias for CXL devices

In order to enable libkmod lookups for CXL device objects to their
corresponding module, add 'modalias' to the base attribute of CXL
devices.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ben Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/164298424120.3018233.15611905873808708542.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Documentation/ABI/testing/sysfs-bus-cxl
drivers/cxl/core/port.c