summaryrefslogtreecommitdiffstats
path: root/drivers/xen/swiotlb-xen.c
diff options
context:
space:
mode:
authorJulien Grall2015-05-05 17:36:56 +0200
committerDavid Vrabel2015-10-23 15:20:42 +0200
commit250c9af3d831139317009eaebbe82e20d23a581f (patch)
tree17f00a273e1f71f946b50718b28a5cf71ec17e31 /drivers/xen/swiotlb-xen.c
parentxen/privcmd: Add support for Linux 64KB page granularity (diff)
downloadkernel-qcow2-linux-250c9af3d831139317009eaebbe82e20d23a581f.tar.gz
kernel-qcow2-linux-250c9af3d831139317009eaebbe82e20d23a581f.tar.xz
kernel-qcow2-linux-250c9af3d831139317009eaebbe82e20d23a581f.zip
arm/xen: Add support for 64KB page granularity
The hypercall interface is always using 4KB page granularity. This is requiring to use xen page definition macro when we deal with hypercall. Note that pfn_to_gfn is working with a Xen pfn (i.e 4KB). We may want to rename pfn_gfn to make this explicit. We also allocate a 64KB page for the shared page even though only the first 4KB is used. I don't think this is really important for now as it helps to have the pointer 4KB aligned (XENMEM_add_to_physmap is taking a Xen PFN). 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>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions