diff options
author | 2014-11-21 11:10:39 +0000 | |
---|---|---|
committer | 2014-12-04 12:41:56 +0000 | |
commit | c884227eaae9936f8ecbde6e1387bccdab5f4e90 (patch) | |
tree | a12fd8f936773ef95c601f9f1049c350c126a491 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | swiotlb-xen: pass dev_addr to xen_dma_unmap_page and xen_dma_sync_single_for_cpu (diff) | |
download | linux-dev-c884227eaae9936f8ecbde6e1387bccdab5f4e90.tar.xz linux-dev-c884227eaae9936f8ecbde6e1387bccdab5f4e90.zip |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions