x86: Change 4-level page table base address to low memory
authorBin Meng <bmeng.cn@gmail.com>
Thu, 31 Jan 2019 16:22:12 +0000 (08:22 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 12 Feb 2019 06:37:16 +0000 (14:37 +0800)
commitdbb0696ba05b6e201341805e0df0f5095bc43a78
tree39202f3d3ef2374fec1132adc31e7e12d6e24f75
parentca7db866fead1d01ecf018343a99e3cd0d095d51
x86: Change 4-level page table base address to low memory

At present the 4-level page table base address for 64-bit U-Boot
proper is assigned an address that conflicts with CONFIG_LOADADDR.
Change it to an address within the low memory range instead.

Fixes crashes seen when 'dhcp' on QEMU x86_64 with
"-net nic -net user,tftp=.,bootfile=u-boot".

Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/i386/cpu.c