mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01: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 <[email protected]> Co-developed-by: Ira Weiny <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Alison Schofield <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
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
|