]> git.baikalelectronics.ru Git - kernel.git/commit
arm/xen: Add support for 64KB page granularity
authorJulien Grall <julien.grall@citrix.com>
Tue, 5 May 2015 15:36:56 +0000 (16:36 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 23 Oct 2015 13:20:42 +0000 (14:20 +0100)
commit625f6c541f652e20891b812e1a25394bce102b3a
tree17f00a273e1f71f946b50718b28a5cf71ec17e31
parent3c3df9d886ac821999edc51facaf8d56298f1e3f
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>
arch/arm/include/asm/xen/page.h
arch/arm/xen/enlighten.c