Home
last modified time | relevance | path

Searched refs:iommu_default_passthrough (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/include/linux/
Diommu.h459 extern bool iommu_default_passthrough(void);
816 static inline bool iommu_default_passthrough(void) in iommu_default_passthrough() function
/Linux-v5.15/drivers/iommu/
Diommu.c133 if (iommu_default_passthrough() && mem_encrypt_active()) { in iommu_subsys_init()
139 if (!iommu_default_passthrough() && !iommu_dma_strict) in iommu_subsys_init()
147 if (!iommu_default_passthrough()) in iommu_subsys_init()
2856 bool iommu_default_passthrough(void) in iommu_default_passthrough() function
2860 EXPORT_SYMBOL_GPL(iommu_default_passthrough);
/Linux-v5.15/drivers/iommu/amd/
Diommu.c341 if ((iommu_default_passthrough() || !amd_iommu_force_isolation) && in iommu_init_device()
1815 swiotlb = (iommu_default_passthrough() || sme_me_mask) ? 1 : 0; in amd_iommu_init_dma_ops()