diff --git a/drivers/cxl/acpi.c b/drivers/cxl/acpi.c index 5a7b7d3f0e00..3e5bcf076154 100644 --- a/drivers/cxl/acpi.c +++ b/drivers/cxl/acpi.c @@ -962,6 +962,13 @@ static void __exit cxl_acpi_exit(void) /* load before dax_hmem sees 'Soft Reserved' CXL ranges */ subsys_initcall(cxl_acpi_init); + +/* + * Arrange for host-bridge ports to be active synchronous with + * cxl_acpi_probe() exit. + */ +MODULE_SOFTDEP("pre: cxl_port"); + module_exit(cxl_acpi_exit); MODULE_LICENSE("GPL v2"); MODULE_IMPORT_NS(CXL);