]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/xen/pci-swiotlb-xen.c
Merge branch 'stable/xen-pcifront-0.8.2' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / x86 / xen / pci-swiotlb-xen.c
index 22471001b74c48dc26e499a549d4eb8549ed48e3..bfd0632fe65ec79e593aa66a14e77b66152737e4 100644 (file)
@@ -1,6 +1,7 @@
 /* Glue code to lib/swiotlb-xen.c */
 
 #include <linux/dma-mapping.h>
+#include <linux/pci.h>
 #include <xen/swiotlb-xen.h>
 
 #include <asm/xen/hypervisor.h>
@@ -55,6 +56,9 @@ void __init pci_xen_swiotlb_init(void)
        if (xen_swiotlb) {
                xen_swiotlb_init(1);
                dma_ops = &xen_swiotlb_dma_ops;
+
+               /* Make sure ACS will be enabled */
+               pci_request_acs();
        }
 }
 IOMMU_INIT_FINISH(pci_xen_swiotlb_detect,