Xen: xlate: Use page_to_xen_pfn instead of page_to_pfn
authorShannon Zhao <shannon.zhao@linaro.org>
Thu, 7 Apr 2016 12:03:20 +0000 (20:03 +0800)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 6 Jul 2016 09:34:42 +0000 (10:34 +0100)
commit975fac3c4f38e0b47514abdb689548a8e9971081
tree5586ff26983898f289b97032e18e5391f2061d97
parent243848fc018cb98c2a70c39fe1f93eb266c79835
Xen: xlate: Use page_to_xen_pfn instead of page_to_pfn

Make xen_xlate_map_ballooned_pages work with 64K pages. In that case
Kernel pages are 64K in size but Xen pages remain 4K in size. Xen pfns
refer to 4K pages.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Tested-by: Julien Grall <julien.grall@arm.com>
drivers/xen/xlate_mmu.c