diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2022-01-03 13:36:36 +0000 |
---|---|---|
committer | Rui Salvaterra <rsalvaterra@gmail.com> | 2022-03-01 22:57:34 +0000 |
commit | 72d2c54ccbfec20503b2ae9ff3ea66cfcf3c8703 (patch) | |
tree | f443eac1a1c39301f99c5e33b90c605ff1b49bf1 | |
parent | 0989b7ad3a38345bc09a535782884d78ec195c9d (diff) | |
download | upstream-72d2c54ccbfec20503b2ae9ff3ea66cfcf3c8703.tar.gz upstream-72d2c54ccbfec20503b2ae9ff3ea66cfcf3c8703.tar.bz2 upstream-72d2c54ccbfec20503b2ae9ff3ea66cfcf3c8703.zip |
kernel: 5.10: allocate last level PTEs in high memory
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>
-rw-r--r-- | target/linux/bcm53xx/config-5.10 | 2 | ||||
-rw-r--r-- | target/linux/ipq40xx/config-5.10 | 2 | ||||
-rw-r--r-- | target/linux/ipq806x/config-5.10 | 2 | ||||
-rw-r--r-- | target/linux/mediatek/mt7623/config-5.10 | 2 | ||||
-rw-r--r-- | target/linux/mvebu/config-5.10 | 2 | ||||
-rw-r--r-- | target/linux/x86/config-5.10 | 2 | ||||
-rw-r--r-- | target/linux/zynq/config-5.10 | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/bcm53xx/config-5.10 b/target/linux/bcm53xx/config-5.10 index 3dd0359113..6049641898 100644 --- a/target/linux/bcm53xx/config-5.10 +++ b/target/linux/bcm53xx/config-5.10 @@ -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 diff --git a/target/linux/ipq40xx/config-5.10 b/target/linux/ipq40xx/config-5.10 index 3ebc7b3e1e..403ed6e6e4 100644 --- a/target/linux/ipq40xx/config-5.10 +++ b/target/linux/ipq40xx/config-5.10 @@ -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 diff --git a/target/linux/ipq806x/config-5.10 b/target/linux/ipq806x/config-5.10 index 827447d8eb..d22ac6cd04 100644 --- a/target/linux/ipq806x/config-5.10 +++ b/target/linux/ipq806x/config-5.10 @@ -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 diff --git a/target/linux/mediatek/mt7623/config-5.10 b/target/linux/mediatek/mt7623/config-5.10 index 142ffd7998..3d017400a0 100644 --- a/target/linux/mediatek/mt7623/config-5.10 +++ b/target/linux/mediatek/mt7623/config-5.10 @@ -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 diff --git a/target/linux/mvebu/config-5.10 b/target/linux/mvebu/config-5.10 index ee9331252c..0bce22daee 100644 --- a/target/linux/mvebu/config-5.10 +++ b/target/linux/mvebu/config-5.10 @@ -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 diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10 index 2d07f5a905..ec27bb7945 100644 --- a/target/linux/x86/config-5.10 +++ b/target/linux/x86/config-5.10 @@ -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 diff --git a/target/linux/zynq/config-5.10 b/target/linux/zynq/config-5.10 index 35b7f03a9b..7e960d4ad0 100644 --- a/target/linux/zynq/config-5.10 +++ b/target/linux/zynq/config-5.10 @@ -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 |