xen/swiotlb: Pass addresses rather than frame numbers to xen_arch_need_swiotlb
authorJulien Grall <julien.grall@citrix.com>
Wed, 9 Sep 2015 14:17:33 +0000 (15:17 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 23 Oct 2015 13:20:43 +0000 (14:20 +0100)
commit291be10fd7511101d44cf98166d049bd31bc7600
tree668ca1a692248892515894661ed129ef44f82825
parent250c9af3d831139317009eaebbe82e20d23a581f
xen/swiotlb: Pass addresses rather than frame numbers to xen_arch_need_swiotlb

With 64KB page granularity support, the frame number will be different.

It will be easier to modify the behavior in a single place rather than
in each caller.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/arm/include/asm/xen/page.h
arch/arm/xen/mm.c
arch/x86/include/asm/xen/page.h
drivers/xen/swiotlb-xen.c