e465058d55
This patch hooks Calgary into the build, the x86-64 IOMMU initialization paths, and introduces the Calgary specific bits. The implementation draws inspiration from both PPC (which has support for the same chip but requires firmware support which we don't have on x86-64) and gart. Calgary is different from gart in that it support a translation table per PHB, as opposed to the single gart aperture. Changes from previous version: * Addition of boot-time disablement for bus-level translation/isolation (e.g, enable userspace DMA for things like X) * Usage of newer IOMMU abstraction functions Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Jon Mason <jdmason@us.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
55 lines
2 KiB
Makefile
55 lines
2 KiB
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
extra-y := head.o head64.o init_task.o vmlinux.lds
|
|
EXTRA_AFLAGS := -traditional
|
|
obj-y := process.o signal.o entry.o traps.o irq.o \
|
|
ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_x86_64.o \
|
|
x8664_ksyms.o i387.o syscall.o vsyscall.o \
|
|
setup64.o bootflag.o e820.o reboot.o quirks.o i8237.o \
|
|
pci-dma.o pci-nommu.o alternative.o
|
|
|
|
obj-$(CONFIG_X86_MCE) += mce.o
|
|
obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o
|
|
obj-$(CONFIG_X86_MCE_AMD) += mce_amd.o
|
|
obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/
|
|
obj-$(CONFIG_ACPI) += acpi/
|
|
obj-$(CONFIG_X86_MSR) += msr.o
|
|
obj-$(CONFIG_MICROCODE) += microcode.o
|
|
obj-$(CONFIG_X86_CPUID) += cpuid.o
|
|
obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o
|
|
obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o
|
|
obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o \
|
|
genapic.o genapic_cluster.o genapic_flat.o
|
|
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o
|
|
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
|
|
obj-$(CONFIG_PM) += suspend.o
|
|
obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq/
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
obj-$(CONFIG_IOMMU) += pci-gart.o aperture.o
|
|
obj-$(CONFIG_CALGARY_IOMMU) += pci-calgary.o tce.o
|
|
obj-$(CONFIG_SWIOTLB) += pci-swiotlb.o
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
|
obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o
|
|
obj-$(CONFIG_X86_VSMP) += vsmp.o
|
|
obj-$(CONFIG_K8_NB) += k8.o
|
|
|
|
obj-$(CONFIG_MODULES) += module.o
|
|
|
|
obj-y += topology.o
|
|
obj-y += intel_cacheinfo.o
|
|
|
|
CFLAGS_vsyscall.o := $(PROFILING) -g0
|
|
|
|
bootflag-y += ../../i386/kernel/bootflag.o
|
|
cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o
|
|
topology-y += ../../i386/kernel/topology.o
|
|
microcode-$(subst m,y,$(CONFIG_MICROCODE)) += ../../i386/kernel/microcode.o
|
|
intel_cacheinfo-y += ../../i386/kernel/cpu/intel_cacheinfo.o
|
|
quirks-y += ../../i386/kernel/quirks.o
|
|
i8237-y += ../../i386/kernel/i8237.o
|
|
msr-$(subst m,y,$(CONFIG_X86_MSR)) += ../../i386/kernel/msr.o
|
|
alternative-y += ../../i386/kernel/alternative.o
|
|
|