mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 17:56:42 +07:00
3ced8d7300
This patch exports a in-kernel 'library' API which can be called by other drivers to help interacting with an IBM XSL on a POWER9 system. The XSL (Translation Service Layer) is a stripped down version of the PSL (Power Service Layer) used in some cards such as the Mellanox CX5. Like the PSL, it implements the CAIA architecture, but has a number of differences, mostly in it's implementation dependent registers. The XSL also uses a special DMA cxl mode, which uses a slightly different init sequence for the CAPP and PHB. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com> Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
14 lines
498 B
Makefile
14 lines
498 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 pci.o trace.o
|
|
cxl-y += vphb.o phb.o api.o cxllib.o
|
|
cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o
|
|
cxl-$(CONFIG_DEBUG_FS) += debugfs.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)
|