summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2017-07-15 22:57:53 +0200
committerFelix Fietkau <nbd@nbd.name>2017-10-16 09:40:26 +0200
commitf52b404aeea328b4e021a245c640ed3b0e095fa8 (patch)
tree416524a9c263da609490f205298bccd887d3ac13
parent8ad1b09c6dcff814eb04084ef349f975025b7dc1 (diff)
downloadmtk-20170518-f52b404aeea328b4e021a245c640ed3b0e095fa8.zip
mtk-20170518-f52b404aeea328b4e021a245c640ed3b0e095fa8.tar.gz
mtk-20170518-f52b404aeea328b4e021a245c640ed3b0e095fa8.tar.bz2
x86/generic: use HIGHMEM64G instead of HIGHMEM4G to fix PAE and Xen
This is a backport of 641a65fd062987a456216cc4fa91ff2910528261 in master. This change re-enables PAE for the 32-bit x86 subtarget, which is interesting in its own right but also necessary for Xen support. Commit af1d1ebd ("x86: enable 4G high memory support for generic (32bit) subtarget") inadvertently disabled both PAE and Xen support. Fixes: FS#908 Cc: Daniel Golle <daniel@makrotopia.org> Cc: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
-rw-r--r--target/linux/x86/generic/config-default5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default
index 1a14c27..c4ca4fd 100644
--- a/target/linux/x86/generic/config-default
+++ b/target/linux/x86/generic/config-default
@@ -42,6 +42,7 @@ CONFIG_AGP_INTEL=y
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_APM is not set
+CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
@@ -165,7 +166,8 @@ CONFIG_HDMI=y
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
-# CONFIG_HIGHMEM64G is not set
+# CONFIG_HIGHMEM4G is not set
+CONFIG_HIGHMEM64G=y
CONFIG_HOTPLUG_CPU=y
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
@@ -267,6 +269,7 @@ CONFIG_PATA_VIA=y
CONFIG_PCIEAER=y
CONFIG_PCIEPORTBUS=y
CONFIG_PCIE_PME=y
+CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_XEN=y
# CONFIG_PCWATCHDOG is not set