* rebase/dom0/swiotlb-new:
Enable Xen-SWIOTLB to be part of bootup process.
Add in Xen-SWIOTLB hypercalls and lookup functions for PFN<->MFNs addresses.
Make the xen-iommu work only on PV guests.
Provide two functions:xen_swiotlb_[init|init_alloc] and remove dupliate __setup function.
Add Xen-SWIOTLB back.
Remove references to the old Xen-SWIOTLB code.
Remove the old implementation of the Xen-SWIOTLB pass-through mechanism.
Conflicts:
arch/x86/xen/Makefile
{
/* don't initialize swiotlb if iommu=off (no_iommu=1) */
#ifdef CONFIG_X86_64
- if (!iommu_detected && !no_iommu && max_pfn > MAX_DMA32_PFN)
+ if ((!iommu_detected && !no_iommu && max_pfn > MAX_DMA32_PFN) ||
+ iommu_pass_through)
swiotlb = 1;
#endif
- if (xen_wants_swiotlb())
- swiotlb = 1;
-
if (swiotlb_force)
swiotlb = 1;
if (swiotlb) {
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o
- obj-$(CONFIG_PCI_XEN) += pci-swiotlb.o
+obj-$(CONFIG_XEN_DOM0) += vga.o
+obj-$(CONFIG_XEN_DOM0) += apic.o
+obj-$(CONFIG_XEN_DOM0_PCI) += pci.o
+ obj-$(CONFIG_PCI_XEN) += pci-swiotlb.o