mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
core/region.c is overloaded with per-region control logic (pmem, dax, sysram, etc). Move the CXL DAX region device infrastructure from region.c into a new region_dax.c file. This will also allow us to add additional dax-driver integration paths that don't further dirty the core region.c logic. No functional changes. Signed-off-by: Gregory Price <gourry@gourry.net> Co-developed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://patch.msgid.link/20260327020203.876122-3-gourry@gourry.net Signed-off-by: Dave Jiang <dave.jiang@intel.com>
25 lines
739 B
Makefile
25 lines
739 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_CXL_BUS) += cxl_core.o
|
|
obj-$(CONFIG_CXL_SUSPEND) += suspend.o
|
|
|
|
ccflags-y += -I$(srctree)/drivers/cxl
|
|
CFLAGS_trace.o = -DTRACE_INCLUDE_PATH=. -I$(src)
|
|
|
|
cxl_core-y := port.o
|
|
cxl_core-y += pmem.o
|
|
cxl_core-y += regs.o
|
|
cxl_core-y += memdev.o
|
|
cxl_core-y += mbox.o
|
|
cxl_core-y += pci.o
|
|
cxl_core-y += hdm.o
|
|
cxl_core-y += pmu.o
|
|
cxl_core-y += cdat.o
|
|
cxl_core-$(CONFIG_TRACING) += trace.o
|
|
cxl_core-$(CONFIG_CXL_REGION) += region.o region_pmem.o region_dax.o
|
|
cxl_core-$(CONFIG_CXL_MCE) += mce.o
|
|
cxl_core-$(CONFIG_CXL_FEATURES) += features.o
|
|
cxl_core-$(CONFIG_CXL_EDAC_MEM_FEATURES) += edac.o
|
|
cxl_core-$(CONFIG_CXL_RAS) += ras.o
|
|
cxl_core-$(CONFIG_CXL_RAS) += ras_rch.o
|
|
cxl_core-$(CONFIG_CXL_ATL) += atl.o
|