From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/intel: Fix build failure with intel-gtt and !intel-iommu Date: Mon, 14 Nov 2011 14:26:47 +0100 Message-ID: <20111114132647.GD14704@amd.com> References: <20111111134832.GI13213@amd.com> <1321019553.2027.47.camel@shinybook.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <1321019553.2027.47.camel@shinybook.infradead.org> Sender: linux-kernel-owner@vger.kernel.org To: David Woodhouse Cc: David Airlie , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Nov 11, 2011 at 01:52:33PM +0000, David Woodhouse wrote: > On Fri, 2011-11-11 at 14:48 +0100, Joerg Roedel wrote: > > +#define intel_iommu_gfx_mapped 1 > > That ought to be zero; if the IOMMU code isn't present, it's > *definitely* not mapped through the IOMMU :) Okay, I change this to 0 in my patch. > But I'm fairly sure this was already noticed and a patch is on its way > upstream already. It is not yet fixed upstream. I plan to send fixes to Linus soon. Any objection against me including this if its not fixed until then? Joerg -- AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632