// SPDX-License-Identifier: GPL-2.0 /* * Dynamic DMA mapping support. */ #include <linux/types.h> #include <linux/mm.h> #include <linux/string.h> #include <linux/pci.h> #include <linux/module.h> #include <linux/dmar.h> #include <asm/iommu.h> #include <asm/machvec.h> #include <linux/dma-mapping.h> #ifdef CONFIG_INTEL_IOMMU #include <linux/kernel.h> #include <asm/page.h> dma_addr_t bad_dma_address __read_mostly; EXPORT_SYMBOL(bad_dma_address); static int iommu_sac_force __read_mostly; int no_iommu __read_mostly; #ifdef CONFIG_IOMMU_DEBUG int force_iommu __read_mostly = 1; #else int force_iommu __read_mostly; #endif int iommu_pass_through; extern struct dma_map_ops intel_dma_ops;
static int __init pci_iommu_init(void) { if (iommu_detected) intel_iommu_init(); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Fenghua Yu | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Fenghua Yu | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Fenghua Yu | 9 | 100.00% | 1 | 100.00% |
Total | 9 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Fenghua Yu | 48 | 84.21% | 1 | 25.00% |
Yang Hongyang | 8 | 14.04% | 2 | 50.00% |
Matthew Wilcox | 1 | 1.75% | 1 | 25.00% |
Total | 57 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
FUJITA Tomonori | 45 | 81.82% | 1 | 50.00% |
Bart Van Assche | 10 | 18.18% | 1 | 50.00% |
Total | 55 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Fenghua Yu | 171 | 70.66% | 2 | 20.00% |
FUJITA Tomonori | 50 | 20.66% | 2 | 20.00% |
Bart Van Assche | 10 | 4.13% | 1 | 10.00% |
Yang Hongyang | 8 | 3.31% | 2 | 20.00% |
Greg Kroah-Hartman | 1 | 0.41% | 1 | 10.00% |
Suresh B. Siddha | 1 | 0.41% | 1 | 10.00% |
Matthew Wilcox | 1 | 0.41% | 1 | 10.00% |
Total | 242 | 100.00% | 10 | 100.00% |