swiotlb-xen: pass dev_addr to swiotlb_tbl_unmap_single
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 21 Nov 2014 16:56:12 +0000 (16:56 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:05:41 +0000 (13:05 +0000)
commit5dd77f5ec7136d6baaeee84382cb6c398fa29218
treee2c55b574948a10140253bc9b14cb1c3e669beae
parentfd06c6a369506f12b0aae7218091f6b023df89d3
swiotlb-xen: pass dev_addr to swiotlb_tbl_unmap_single

commit 2c3fc8d26dd09b9d7069687eead849ee81c78e46 upstream.

Need to pass the pointer within the swiotlb internal buffer to the
swiotlb library, that in the case of xen_unmap_single is dev_addr, not
paddr.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/xen/swiotlb-xen.c