mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
bbbe57386e
functions. We add the glue code that sets up a dma_ops structure with the xen_swiotlb_* functions. The code turns on xen_swiotlb flag when it detects it is running under Xen and it is either in privileged mode or the iommu=soft flag was passed in. It also disables the bare-metal SWIOTLB if the Xen-SWIOTLB has been enabled. Note: The Xen-SWIOTLB is only built when CONFIG_XEN is enabled. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Albert Herranz <albert_herranz@yahoo.es> Cc: Ian Campbell <Ian.Campbell@citrix.com>
22 lines
616 B
Makefile
22 lines
616 B
Makefile
ifdef CONFIG_FUNCTION_TRACER
|
|
# Do not profile debug and lowlevel utilities
|
|
CFLAGS_REMOVE_spinlock.o = -pg
|
|
CFLAGS_REMOVE_time.o = -pg
|
|
CFLAGS_REMOVE_irq.o = -pg
|
|
endif
|
|
|
|
# Make sure early boot has no stackprotector
|
|
nostackp := $(call cc-option, -fno-stack-protector)
|
|
CFLAGS_enlighten.o := $(nostackp)
|
|
CFLAGS_mmu.o := $(nostackp)
|
|
|
|
obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \
|
|
time.o xen-asm.o xen-asm_$(BITS).o \
|
|
grant-table.o suspend.o
|
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
|
|
obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o
|
|
|
|
obj-$(CONFIG_SWIOTLB_XEN) += pci-swiotlb-xen.o
|