]> xenbits.xensource.com Git - xen.git/commit
x86/boot: Create the l2_xenmap[] mappings dynamically
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 10 Jan 2020 16:35:14 +0000 (16:35 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 22 Jan 2020 19:03:18 +0000 (19:03 +0000)
commit52975142d1546c4dbd7532a27c332bfdc7503274
treec654556ed1305714f69dc9fd3a4fe40a01645d91
parentc081788f80f828a021bb192411da05133bd13957
x86/boot: Create the l2_xenmap[] mappings dynamically

The build-time construction of l2_xenmap[] imposes an arbitrary limit of 16M
total, which is a limit looking to be lifted.

Adjust both the BIOS and EFI paths to fill it in dynamically, based on the
final linked size of Xen.  l2_xenmap[] stays between __page_tables_{start,end}
(rather than move into .bss.page_aligned) as it is expected to gain a
different pagetable reference shortly.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/head.S
xen/arch/x86/boot/x86_64.S
xen/arch/x86/efi/efi-boot.h
xen/arch/x86/xen.lds.S