Lines Matching refs:aper_base
75 static void exclude_from_vmcore(u64 aper_base, u32 aper_order) in exclude_from_vmcore() argument
77 aperture_pfn_start = aper_base >> PAGE_SHIFT; in exclude_from_vmcore()
82 static void exclude_from_vmcore(u64 aper_base, u32 aper_order) in exclude_from_vmcore() argument
283 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local
312 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check()
313 aper_base <<= 25; in early_gart_iommu_check()
317 (aper_base != last_aper_base) || in early_gart_iommu_check()
325 last_aper_base = aper_base; in early_gart_iommu_check()
334 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
338 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check()
342 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
343 e820__range_add(aper_base, aper_size, E820_TYPE_RESERVED); in early_gart_iommu_check()
378 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local
427 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in gart_iommu_hole_init()
428 aper_base <<= 25; in gart_iommu_hole_init()
431 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
435 if (!aperture_valid(aper_base, aper_size, 64<<20)) { in gart_iommu_hole_init()
437 agp_aper_base == aper_base && in gart_iommu_hole_init()
455 (last_aper_base && aper_base != last_aper_base)) { in gart_iommu_hole_init()
460 last_aper_base = aper_base; in gart_iommu_hole_init()