diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-05-05 17:54:12 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 15:20:42 +0200 |
commit | 5995a68a6272e4e8f4fe4de82cdc877e650fe8be (patch) | |
tree | 2699b77a0e00a61dfb0a1d3eb65b4645a67274a8 /drivers/xen/swiotlb-xen.c | |
parent | net/xen-netback: Make it running on 64KB page granularity (diff) | |
download | linux-5995a68a6272e4e8f4fe4de82cdc877e650fe8be.tar.xz linux-5995a68a6272e4e8f4fe4de82cdc877e650fe8be.zip |
xen/privcmd: Add support for Linux 64KB page granularity
The hypercall interface (as well as the toolstack) is always using 4KB
page granularity. When the toolstack is asking for mapping a series of
guest PFN in a batch, it expects to have the page map contiguously in
its virtual memory.
When Linux is using 64KB page granularity, the privcmd driver will have
to map multiple Xen PFN in a single Linux page.
Note that this solution works on page granularity which is a multiple of
4KB.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@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