kernel: 5.10: allocate last level PTEs in high memory
authorRui Salvaterra <rsalvaterra@gmail.com>
Mon, 3 Jan 2022 13:36:36 +0000 (13:36 +0000)
committerRui Salvaterra <rsalvaterra@gmail.com>
Tue, 1 Mar 2022 22:57:34 +0000 (22:57 +0000)
Enable support for allocating user space page table entries in high memory [1],
for the targets which support this feature. This saves precious low memory
(permanently mapped, the only type of memory directly accessible by the kernel).

[1] https://www.kernel.org/doc/html/latest/vm/highmem.html

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
target/linux/bcm53xx/config-5.10
target/linux/ipq40xx/config-5.10
target/linux/ipq806x/config-5.10
target/linux/mediatek/mt7623/config-5.10
target/linux/mvebu/config-5.10
target/linux/x86/config-5.10
target/linux/zynq/config-5.10

index 3dd03591132a667a8ff5564747a261d53b526a3a..6049641898970e6e4a9cb84ed5dc3f2e213ae1cd 100644 (file)
@@ -159,7 +159,7 @@ CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT_MAP=y
 CONFIG_HAVE_SMP=y
 CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
+CONFIG_HIGHPTE=y
 CONFIG_HW_RANDOM=y
 CONFIG_HW_RANDOM_BCM2835=y
 CONFIG_HZ_FIXED=0
index 3ebc7b3e1e9406fa42d4930d7ed1b388e56ac0cb..403ed6e6e4dc15e4d22f57a336e95018856460bf 100644 (file)
@@ -189,7 +189,7 @@ CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT_MAP=y
 CONFIG_HAVE_SMP=y
 CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
+CONFIG_HIGHPTE=y
 CONFIG_HWSPINLOCK=y
 CONFIG_HWSPINLOCK_QCOM=y
 CONFIG_HW_RANDOM=y
index 827447d8ebc3e14f0f29664fe01b319044a88d14..d22ac6cd0485aa1987d45a8ca68f35ee36632b6e 100644 (file)
@@ -176,7 +176,7 @@ CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT_MAP=y
 CONFIG_HAVE_SMP=y
 CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
+CONFIG_HIGHPTE=y
 CONFIG_HWMON=y
 CONFIG_HWSPINLOCK=y
 CONFIG_HWSPINLOCK_QCOM=y
index 142ffd7998f5e0405ea9938d803e215277a42a06..3d017400a04725ff4059a7dbd5f28cadf8405f0b 100644 (file)
@@ -265,7 +265,7 @@ CONFIG_HAVE_SMP=y
 CONFIG_HDMI=y
 CONFIG_HID=y
 CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
+CONFIG_HIGHPTE=y
 CONFIG_HOTPLUG_CPU=y
 CONFIG_HW_CONSOLE=y
 CONFIG_HWMON=y
index ee9331252c09977510b1dee24d32642e6740e662..0bce22daee0a0c6f268581738b2ebdcbab66dd3c 100644 (file)
@@ -198,7 +198,7 @@ CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT_MAP=y
 CONFIG_HAVE_SMP=y
 CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
+CONFIG_HIGHPTE=y
 CONFIG_HOTPLUG_CPU=y
 CONFIG_HWBM=y
 CONFIG_HWMON=y
index 2d07f5a905f77af57c34e6ce48e879b71596e1e5..ec27bb7945fe81dfd9c13c2d1289392aef33c85e 100644 (file)
@@ -146,7 +146,7 @@ CONFIG_HID=y
 CONFIG_HIGHMEM=y
 CONFIG_HIGHMEM4G=y
 # CONFIG_HIGHMEM64G is not set
-# CONFIG_HIGHPTE is not set
+CONFIG_HIGHPTE=y
 CONFIG_HPET_EMULATE_RTC=y
 CONFIG_HPET_TIMER=y
 # CONFIG_HP_WATCHDOG is not set
index 35b7f03a9b57cad6f72c77792d6d63005ea24fa5..7e960d4ad04780ad30d7f34441c74725a0af67d0 100644 (file)
@@ -225,7 +225,7 @@ CONFIG_HID=y
 CONFIG_HID_GENERIC=y
 CONFIG_HID_MICROSOFT=y
 CONFIG_HIGHMEM=y
-# CONFIG_HIGHPTE is not set
+CONFIG_HIGHPTE=y
 CONFIG_HOTPLUG_CPU=y
 CONFIG_HWMON=y
 CONFIG_HW_CONSOLE=y