From 39d54c876512ed8b66a201a0d1e96d19e5848a3b Mon Sep 17 00:00:00 2001 From: Chaohong guo Date: Sat, 29 Sep 2018 13:30:10 +0800 Subject: [PATCH] EFI: Disable RELOC by default temporary Commit 6085781 replaced __emalloc() with a call to uefi allocate_page() and allows UEFI FW to allocate memory for hypervisor from high to low address below 4GB. However, this change triggers an issue (might be memory corruption), in turn, PXE boot cannot work. Since root cause the issue might take some time, the PXE boot issue blocks auto-test, we disable hypervisor relocation by default for the time being in config option, and users can enable it by themselves. In the following weeks, if we root cause the issue, we can re-enable relocation feature.` Tracked-On: #1371 Signed-off-by: Chaohong guo --- hypervisor/arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/arch/x86/Kconfig b/hypervisor/arch/x86/Kconfig index cb0f70266..d4b411650 100644 --- a/hypervisor/arch/x86/Kconfig +++ b/hypervisor/arch/x86/Kconfig @@ -146,7 +146,7 @@ config MTRR_ENABLED config RELOC bool "Enable relocation" - default y + default n config IOMMU_INIT_BUS_LIMIT hex "bus limitation when iommu init"