]> 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>
Wed, 10 Dec 2014 14:58:35 +0000 (14:58 +0000)
commita8a48162b414f8d04f3f76a68e84b4bfdce29591
tree8dde627fa2a6beb0ac7c338a9473bd6b6a11134f
parent2a8b19cfa78b85c76135bed3e8053a6b048369bb
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