summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-mx31moboard.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-05-10 07:08:44 +0300
committerJuergen Gross <jgross@suse.com>2017-05-11 16:55:20 +0300
commit69861e0a52f8733355ce246f0db15e1b240ad667 (patch)
treeda511147606697a15f627492178a46c7d3643323 /arch/arm/mach-imx/mach-mx31moboard.c
parentdef9331a12977770cc6132d79f8e6565871e8e38 (diff)
downloadlinux-69861e0a52f8733355ce246f0db15e1b240ad667.tar.xz
xen: adjust early dom0 p2m handling to xen hypervisor behavior
When booted as pv-guest the p2m list presented by the Xen is already mapped to virtual addresses. In dom0 case the hypervisor might make use of 2M- or 1G-pages for this mapping. Unfortunately while being properly aligned in virtual and machine address space, those pages might not be aligned properly in guest physical address space. So when trying to obtain the guest physical address of such a page pud_pfn() and pmd_pfn() must be avoided as those will mask away guest physical address bits not being zero in this special case. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx31moboard.c')
0 files changed, 0 insertions, 0 deletions