x86: drop high compat r/o M2P table address range
authorJan Beulich <jbeulich@suse.com>
Thu, 30 Apr 2020 08:38:07 +0000 (10:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 30 Apr 2020 08:38:07 +0000 (10:38 +0200)
commit5af040ef8b572ffccb7e3530e617d4259a9ff724
tree84533cd6f25f0cdf5d29943b74cfe3a8f0a876fd
parent4f1b2e581744d5f78e4c809faf0a3167644afb82
x86: drop high compat r/o M2P table address range

Now that we don't properly hook things up into the page tables anymore
we also don't need to set aside an address range. Drop it, using
compat_idle_pg_table_l2[] simply (explicitly) from slot 0.

While doing the re-arrangement, which is accompanied by the dropping or
replacing of some local variables, restrict the scopes of some further
ones at the same time.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
xen/arch/x86/mm.c
xen/arch/x86/x86_64/mm.c
xen/include/asm-x86/config.h