mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 20:59:10 +07:00
14baf4d9c7
The new of.c file contains code to parse the device tree to find out about cxl adapters and AFUs. guest.c implements the guest-specific callbacks for the backend API. The process element ID is not known until the context is attached, so we have to separate the context ID assigned by the cxl driver from the process element ID visible to the user applications. In bare-metal, the 2 IDs match. Co-authored-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com> Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> [mpe: Fix SMP=n build, fix PSERIES=n build, minor whitespace fixes] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
13 lines
448 B
Makefile
13 lines
448 B
Makefile
ccflags-y := $(call cc-disable-warning, unused-const-variable)
|
|
ccflags-$(CONFIG_PPC_WERROR) += -Werror
|
|
|
|
cxl-y += main.o file.o irq.o fault.o native.o
|
|
cxl-y += context.o sysfs.o debugfs.o pci.o trace.o
|
|
cxl-y += vphb.o api.o
|
|
cxl-$(CONFIG_PPC_PSERIES) += guest.o of.o hcalls.o
|
|
obj-$(CONFIG_CXL) += cxl.o
|
|
obj-$(CONFIG_CXL_BASE) += base.o
|
|
|
|
# For tracepoints to include our trace.h from tracepoint infrastructure:
|
|
CFLAGS_trace.o := -I$(src)
|