From: Konrad Rzeszutek Wilk Date: Sat, 28 Jul 2012 00:10:58 +0000 (-0400) Subject: xen/swiotlb: Simplify the logic. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~30^2~4^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=988f0e24bbcbbf550dff016faf8273a94f4eb1af;p=pandora-kernel.git xen/swiotlb: Simplify the logic. Its pretty easy: 1). We only check to see if we need Xen SWIOTLB for PV guests. 2). If swiotlb=force or iommu=soft is set, then Xen SWIOTLB will be enabled. 3). If it is an initial domain, then Xen SWIOTLB will be enabled. 4). Native SWIOTLB must be disabled for PV guests. Acked-by: Stefano Stabellini Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed