From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [OSSTEST PATCH] ts-kernel-build: Enable x86 IOMMU options Date: Tue, 21 Apr 2015 12:51:34 -0400 Message-ID: <20150421165134.GA10465@l.oracle.com> References: <21814.26407.914735.236087@mariner.uk.xensource.com> <1429630585-22316-1-git-send-email-ian.jackson@eu.citrix.com> <1429631047.4743.123.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YkbOn-0007B4-Q8 for xen-devel@lists.xenproject.org; Tue, 21 Apr 2015 16:51:49 +0000 Content-Disposition: inline In-Reply-To: <1429631047.4743.123.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org, Boris Ostrovsky , Ian Jackson , David Vrabel , Andrew Cooper List-Id: xen-devel@lists.xenproject.org On Tue, Apr 21, 2015 at 04:44:07PM +0100, Ian Campbell wrote: > On Tue, 2015-04-21 at 16:36 +0100, Ian Jackson wrote: > > This has a variety of beneficial implications: > > > > * The kernel becomes more like the kind of distro kernels that Xen > > users are probably using. > > > > * We are more likely to discover any bugs in Linux where Linux > > running under Xen (eg as dom0) fights with Xen for control of io > > mediation resources or otherwise mishandles the situation. > > > > * A pleasant side effect is that in a kernel which does not yet have > > "config: Enable NEED_DMA_MAP_STATE when SWIOTLB is selected" > > (a bugfix), enabling INTEL_IOMMU has the side effect of enabling > > NEED_DMA_MAP_STATE and thus working around the bug. > > > > The list of options to enable was derived by eyeballing > > drivers/iommu/Kconfig from 3.14.34. > > > > I will leave the question of whether to enable any ARM IOMMU options > > for the Xen ARM folks to consider. > > I've not got time right now, but lets not block on that: > > > Signed-off-by: Ian Jackson > > CC: Konrad Rzeszutek Wilk > > CC: Boris Ostrovsky > > CC: David Vrabel > > CC: Andrew Cooper > > Acked-by: Ian Campbell Acked-by: Konrad Rzeszutek Wilk > > Ian. >