]> www.infradead.org Git - users/dwmw2/linux.git/commit
cxl/acpi: Ensure ports ready at cxl_acpi_probe() return
authorDan Williams <dan.j.williams@intel.com>
Wed, 23 Oct 2024 01:43:40 +0000 (18:43 -0700)
committerIra Weiny <ira.weiny@intel.com>
Fri, 25 Oct 2024 21:07:03 +0000 (16:07 -0500)
commit48f62d38a07d464a499fa834638afcfd2b68f852
treee5a1a49a47ac8681cad034273249fc2e6de8422f
parent3d6ebf16438de5d712030fefbb4182b46373d677
cxl/acpi: Ensure ports ready at cxl_acpi_probe() return

In order to ensure root CXL ports are enabled upon cxl_acpi_probe()
when the 'cxl_port' driver is built as a module, arrange for the
module to be pre-loaded or built-in.

The "Fixes:" but no "Cc: stable" on this patch reflects that the issue
is merely by inspection since the bug that triggered the discovery of
this potential problem [1] is fixed by other means. However, a stable
backport should do no harm.

Fixes: 8dd2bc0f8e02 ("cxl/mem: Add the cxl_mem driver")
Link: http://lore.kernel.org/20241004212504.1246-1-gourry@gourry.net
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Gregory Price <gourry@gourry.net>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://patch.msgid.link/172964781969.81806.17276352414854540808.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
drivers/cxl/acpi.c