aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/swiotlb-xen.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-10-13 17:50:12 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 14:20:46 +0100
commitf73314b28148f9ee9f89a0ae961c8fb36e3269fa (patch)
tree723535d3e14456d2c36d75ebfb97774f74998407 /drivers/xen/swiotlb-xen.c
parentxen/xenbus: Rename *RING_PAGE* to *RING_GRANT* (diff)
downloadlinux-dev-f73314b28148f9ee9f89a0ae961c8fb36e3269fa.tar.xz
linux-dev-f73314b28148f9ee9f89a0ae961c8fb36e3269fa.zip
xen/grant-table: Add an helper to iterate over a specific number of grants
With the 64KB page granularity support on ARM64, a Linux page may be split accross multiple grant. Currently we have the helper gnttab_foreach_grant_in_grant to break a Linux page based on an offset and a len, but it doesn't fit when we only have a number of grants in hand. Introduce a new helper which take an array of Linux page and a number of grant and will figure out the address of each grant. Signed-off-by: Julien Grall <julien.grall@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions