Stefano Stabellini c884227eaa 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 <stefano.stabellini@eu.citrix.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: stable@vger.kernel.org
2014-12-04 12:41:56 +00:00
..
2014-11-23 14:29:44 -05:00
2014-10-08 17:37:16 -04:00
2014-11-13 18:07:52 -08:00
2014-11-17 11:25:29 -08:00
2014-10-15 07:23:49 +02:00
2014-11-16 15:34:31 -08:00
2014-10-07 21:29:18 -04:00
2014-11-02 14:45:52 -08:00
2014-10-21 08:17:43 -07:00
2014-11-29 10:15:31 -08:00
2014-10-15 07:23:49 +02:00