|
@@ -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>
|
|
@@ -54,5 +55,8 @@ 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();
|
|
|
}
|
|
|
}
|