Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753265AbbDNSjL (ORCPT ); Tue, 14 Apr 2015 14:39:11 -0400 Received: from mail.skyhub.de ([78.46.96.112]:60301 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbbDNSjF (ORCPT ); Tue, 14 Apr 2015 14:39:05 -0400 Date: Tue, 14 Apr 2015 20:36:43 +0200 From: Borislav Petkov To: =?utf-8?Q?J=C3=B6rg-Volker?= Peetz Cc: linux-kernel@vger.kernel.org, Ingo Molnar , tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, bhelgaas@google.com, Suravee.Suthikulpanit@amd.com, joro@8bytes.org Subject: Re: [PATCH] x86, aperture: Check for GART before accessing GART registers Message-ID: <20150414183643.GF14069@pd.tnic> References: <20150402100135.GA5210@gmail.com> <551D661D.3030000@amd.com> <20150402160634.GB8045@gmail.com> <551D6CF5.1010604@amd.com> <20150402165356.GE4579@pd.tnic> <551D7695.2010509@amd.com> <20150402171705.GF4579@pd.tnic> <552CF6DF.3000002@web.de> <20150414113349.GA26075@pd.tnic> <552D5AF8.3070705@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <552D5AF8.3070705@web.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 895 Lines: 24 On Tue, Apr 14, 2015 at 08:22:48PM +0200, Jörg-Volker Peetz wrote: > thank you for the explanation. Somehow I thought I had a newer CPU w/o > GART registers, but I misread the patch. Maybe wishful thinking, in > the hope to save 64 MB :-( 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. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/