Messages in this thread | | | Date | Mon, 4 May 2015 13:11:46 +0200 | From | Joerg Roedel <> | Subject | Re: [PATCH] x86, aperture: Check for GART before accessing GART registers |
| |
On Tue, Apr 14, 2015 at 08:36:43PM +0200, Borislav Petkov wrote: > 64MB out of how much? Does it even matter? > > You could turn off CONFIG_GART_IOMMU and not build aperture_64.c at all. > > I think then you'll fall back to swiotlb or whatever and that will most > likely slow down DMA ... the story was something like that, at least, > memory's hazy. Joerg's on CC, he'll correct me if I'm talking bull.
Using SWIOTLB will also eat 64MB of RAM, so it doesn't matter if you use it instead of the GART driver. So whether your machine has GART or not, it will cost you 64MB of RAM for DMA remapping (unless you have a real IOMMU).
Joerg
| |