From: Stefano Stabellini Date: Fri, 21 Nov 2014 11:10:39 +0000 (+0000) Subject: swiotlb-xen: remove BUG_ON in xen_bus_to_phys X-Git-Tag: omap-for-v3.19/fixes-rc1~121^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c884227eaae9936f8ecbde6e1387bccdab5f4e90;p=pandora-kernel.git swiotlb-xen: remove BUG_ON in xen_bus_to_phys On x86 truncation cannot occur because config XEN depends on X86_64 || (X86_32 && X86_PAE). On ARM truncation can occur without CONFIG_ARM_LPAE, when the dma operation involves foreign grants. However in that case the physical address returned by xen_bus_to_phys is actually invalid (there is no mfn to pfn tracking for foreign grants on ARM) and it is not used. Signed-off-by: Stefano Stabellini Reviewed-by: Catalin Marinas Acked-by: Konrad Rzeszutek Wilk CC: stable@vger.kernel.org --- Reading git-diff-tree failed