acpi: switch to dynamic mapping at SYS_STATE_boot
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 2 Feb 2017 11:51:39 +0000 (12:51 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 2 Feb 2017 11:51:39 +0000 (12:51 +0100)
commit1a6e3220cc19b8705c27ca90dbc615270237f372
treea1522f5cf6da32917429896275387a9e5b7820b4
parent0f72f9ba1f0586afac67bc88f35eba5cc26392cd
acpi: switch to dynamic mapping at SYS_STATE_boot

We can switch ACPI from using fixmap to dynamic mapping as soon as
the system enters SYS_STATE_boot. This will allow us, for example,
to map MADT on systems with large number of processors where the
table might not fit into NUM_FIXMAP_ACPI_PAGES (currently set to 4).

To avoid having a window between system entering SYS_STATE_boot and
vmap area being initialized move vm_init() a little higher.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/setup.c
xen/drivers/acpi/osl.c