]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoao Martins <joao.m.martins@oracle.com>
Sun, 27 Mar 2016 01:01:17 +0000 (02:01 +0100)
commite7f8d7961af1c019386e6bec91e2de006272491e
treecab90b474449afee5a54e6213e72edacb90ed8b3
parentc4a017023bb04083f9e658414ad9a36872053592
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>
(cherry picked from commit 291be10fd7511101d44cf98166d049bd31bc7600)
Signed-off-by: Joao Martins <joao.m.martins@oracle.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