From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966110AbXDJIXs (ORCPT ); Tue, 10 Apr 2007 04:23:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966117AbXDJIXs (ORCPT ); Tue, 10 Apr 2007 04:23:48 -0400 Received: from mga01.intel.com ([192.55.52.88]:3740 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966110AbXDJIXr (ORCPT ); Tue, 10 Apr 2007 04:23:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: i="4.14,389,1170662400"; d="scan'208"; a="227572554:sNHT17386698" Subject: Re: [patch 0/8] [Intel IOMMU] Support for Intel Virtualization Technology for Directed I/O From: Shaohua Li To: Muli Ben-Yehuda Cc: Andi Kleen , Ashok Raj , linux-kernel@vger.kernel.org, akpm@osdl.org, gregkh@suse.de, asit.k.mallick@intel.com, suresh.b.siddha@intel.com, anil.s.keshavamurthy@intel.com, arjan@linux.intel.com In-Reply-To: <20070410080958.GM2972@rhun.haifa.ibm.com> References: <20070409215552.221374000@intel.com> <200704100949.56130.ak@suse.de> <1176191848.6781.3.camel@sli10-conroe.sh.intel.com> <20070410080958.GM2972@rhun.haifa.ibm.com> Content-Type: text/plain Date: Tue, 10 Apr 2007 16:20:36 +0800 Message-Id: <1176193236.6781.20.camel@sli10-conroe.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2007-04-10 at 11:09 +0300, Muli Ben-Yehuda wrote: > On Tue, Apr 10, 2007 at 03:57:28PM +0800, Shaohua Li wrote: > > On Tue, 2007-04-10 at 09:49 +0200, Andi Kleen wrote: > > > On Monday 09 April 2007 23:55:52 Ashok Raj wrote: > > > > > > > Please help review and provide feedback. > > > > > > High level question: how did you solve the "user X server needs IOMMU bypass" > > > problem? > > > Please see patch 5. We have two workarounds for graphics. One is > > completely bypass dma remapping for gfx, this option only works for > > gfx card with dedicated dma remapping engine. The other is doing 1-1 > > mapping for whole physical memory address, then virtual dma address > > will equal to physical address, so gfx can ignore iommu in the case. > > Apologies but I've not had a chance to review the patches yet. Do you > special case the BDF of the graphics adpater (via PCI ID?), or does > the user need to provide a command line option to specify the graphics > adapter? Not understand what you ask. The PCI device's type can tell us if it's a gfx device. Thanks, shaohua