Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/
Damd_gart_64.c46 static unsigned long iommu_size; /* size of remapping area bytes */ variable
262 dma_addr >= iommu_bus_base + iommu_size) in gart_unmap_page()
500 if (!iommu_size) { in check_iommu_size()
501 iommu_size = aper_size; in check_iommu_size()
503 iommu_size /= 2; in check_iommu_size()
506 a = aper + iommu_size; in check_iommu_size()
507 iommu_size -= round_up(a, PMD_SIZE) - a; in check_iommu_size()
509 if (iommu_size < 64*1024*1024) { in check_iommu_size()
512 iommu_size >> 20); in check_iommu_size()
515 return iommu_size; in check_iommu_size()
[all …]