]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "swiotlb-xen: pass dev_addr to swiotlb_tbl_unmap_single"
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 10 Dec 2014 14:48:43 +0000 (14:48 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 11 Dec 2014 12:05:01 +0000 (12:05 +0000)
commitf1125424b6b12337aab816b2b3dd733cb3f85e15
tree8278f04e3bb19bfcab68bfe12557cf579c40025b
parentbadb5d2b08704ff542394b14e059fcc8009ec22f
Revert "swiotlb-xen: pass dev_addr to swiotlb_tbl_unmap_single"

This reverts commit e7ba97ccef680a64b5c22f457267781c20211c5f.

This commit broke on x86 PV because entries in the generic SWIOTLB are
indexed using (pseudo-)physical address not DMA address and these are
not the same in a x86 PV guest.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
drivers/xen/swiotlb-xen.c