Re: [PATCH] x86, aperture: Check for GART before accessing GART registers

From: Ingo Molnar
Date: Thu Apr 02 2015 - 06:01:47 EST



* Aravind Gopalakrishnan <Aravind.Gopalakrishnan@xxxxxxx> wrote:

> GART registers are not present in newer processors (Fam15h, Model 10h
> and later). So, avoid accesses to GART registers in PCI config
> space by returning early in early_gart_iommu_check() and
> gart_iommu_hole_init() if GART is not available.

In what fashion did this problem manifest itself on real systems?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/