From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH] ts-kernel-build: Enable x86 IOMMU options Date: Tue, 21 Apr 2015 16:44:07 +0100 Message-ID: <1429631047.4743.123.camel@citrix.com> References: <21814.26407.914735.236087@mariner.uk.xensource.com> <1429630585-22316-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YkaLM-00034C-0E for xen-devel@lists.xenproject.org; Tue, 21 Apr 2015 15:44:12 +0000 In-Reply-To: <1429630585-22316-1-git-send-email-ian.jackson@eu.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 Jackson Cc: xen-devel@lists.xenproject.org, Boris Ostrovsky , Andrew Cooper , David Vrabel List-Id: xen-devel@lists.xenproject.org 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 Ian.