Lines Matching +full:pci +full:- +full:iommu
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/dma-map-ops.h>
3 #include <linux/dma-direct.h>
4 #include <linux/iommu.h>
9 #include <linux/pci.h>
10 #include <linux/amd-iommu.h>
14 #include <asm/iommu.h>
19 #include <xen/swiotlb-xen.h>
37 /* Set this to 1 if there is a HW IOMMU in the system */
46 /* don't initialize swiotlb if iommu=off (no_iommu=1) */ in pci_swiotlb_detect()
112 * See <Documentation/arch/x86/x86_64/boot-options.rst> for the iommu kernel
120 return -EINVAL; in iommu_setup()
174 early_param("iommu", iommu_setup);
178 x86_init.iommu.iommu_init(); in pci_iommu_init()
181 /* An IOMMU turned us off. */ in pci_iommu_init()
183 pr_info("PCI-DMA: Using software bounce buffering for IO (SWIOTLB)\n"); in pci_iommu_init()
192 /* Must execute after PCI subsystem */
200 pdev->dev.bus_dma_limit = DMA_BIT_MASK(32); in via_no_dac_cb()
207 dev_info(&dev->dev, "disabling DAC on VIA PCI bridge\n"); in via_no_dac()
208 pci_walk_bus(dev->subordinate, via_no_dac_cb, NULL); in via_no_dac()