[PATCH] treewide: enable the vDSO

Rui Salvaterra rsalvaterra at gmail.com
Sun Oct 11 14:35:30 EDT 2020


The vDSO is used to accelerate some syscalls. It should work fine wherever it's
available, so enable it globally for all targets.

Signed-off-by: Rui Salvaterra <rsalvaterra at gmail.com>
---
 target/linux/generic/config-4.19         | 2 +-
 target/linux/generic/config-5.4          | 2 +-
 target/linux/ipq40xx/config-4.19         | 1 -
 target/linux/ipq40xx/config-5.4          | 1 -
 target/linux/ipq806x/config-4.19         | 1 -
 target/linux/ipq806x/config-5.4          | 1 -
 target/linux/layerscape/armv7/config-5.4 | 1 -
 target/linux/sunxi/config-4.19           | 1 -
 target/linux/sunxi/config-5.4            | 1 -
 target/linux/tegra/config-4.19           | 1 -
 target/linux/tegra/config-5.4            | 1 -
 11 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/target/linux/generic/config-4.19 b/target/linux/generic/config-4.19
index 6f4478f18e..bb7181a041 100644
--- a/target/linux/generic/config-4.19
+++ b/target/linux/generic/config-4.19
@@ -5814,7 +5814,7 @@ CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
 # CONFIG_V4L_TEST_DRIVERS is not set
 # CONFIG_VBOXGUEST is not set
 # CONFIG_VCNL4000 is not set
-# CONFIG_VDSO is not set
+CONFIG_VDSO=y
 # CONFIG_VEML6070 is not set
 # CONFIG_VETH is not set
 # CONFIG_VEXPRESS_CONFIG is not set
diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4
index aa3fbded3b..04fda5de24 100644
--- a/target/linux/generic/config-5.4
+++ b/target/linux/generic/config-5.4
@@ -6214,7 +6214,7 @@ CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
 # CONFIG_VBOXGUEST is not set
 # CONFIG_VCNL4000 is not set
 # CONFIG_VCNL4035 is not set
-# CONFIG_VDSO is not set
+CONFIG_VDSO=y
 # CONFIG_VEML6070 is not set
 # CONFIG_VETH is not set
 # CONFIG_VEXPRESS_CONFIG is not set
diff --git a/target/linux/ipq40xx/config-4.19 b/target/linux/ipq40xx/config-4.19
index c70c761d25..0adcc25340 100644
--- a/target/linux/ipq40xx/config-4.19
+++ b/target/linux/ipq40xx/config-4.19
@@ -497,7 +497,6 @@ CONFIG_USB=y
 CONFIG_USB_COMMON=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
 CONFIG_WATCHDOG_CORE=y
diff --git a/target/linux/ipq40xx/config-5.4 b/target/linux/ipq40xx/config-5.4
index 671f2b41f5..b442f73fbc 100644
--- a/target/linux/ipq40xx/config-5.4
+++ b/target/linux/ipq40xx/config-5.4
@@ -523,7 +523,6 @@ CONFIG_USB=y
 CONFIG_USB_COMMON=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
 CONFIG_WATCHDOG_CORE=y
diff --git a/target/linux/ipq806x/config-4.19 b/target/linux/ipq806x/config-4.19
index f61883a6db..b21254ed08 100644
--- a/target/linux/ipq806x/config-4.19
+++ b/target/linux/ipq806x/config-4.19
@@ -494,7 +494,6 @@ CONFIG_USB=y
 CONFIG_USB_COMMON=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
 CONFIG_WATCHDOG_CORE=y
diff --git a/target/linux/ipq806x/config-5.4 b/target/linux/ipq806x/config-5.4
index 568c5df39e..20870f75c0 100644
--- a/target/linux/ipq806x/config-5.4
+++ b/target/linux/ipq806x/config-5.4
@@ -512,7 +512,6 @@ CONFIG_USB=y
 CONFIG_USB_COMMON=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
 CONFIG_WATCHDOG_CORE=y
diff --git a/target/linux/layerscape/armv7/config-5.4 b/target/linux/layerscape/armv7/config-5.4
index 3e242a2245..56a6dfd913 100644
--- a/target/linux/layerscape/armv7/config-5.4
+++ b/target/linux/layerscape/armv7/config-5.4
@@ -746,7 +746,6 @@ CONFIG_USB_SUPPORT=y
 CONFIG_USER_NS=y
 CONFIG_USE_OF=y
 CONFIG_UTS_NS=y
-CONFIG_VDSO=y
 CONFIG_VEXPRESS_CONFIG=y
 CONFIG_VEXPRESS_SYSCFG=y
 CONFIG_VFAT_FS=y
diff --git a/target/linux/sunxi/config-4.19 b/target/linux/sunxi/config-4.19
index e3ac9f4f2d..415e22f594 100644
--- a/target/linux/sunxi/config-4.19
+++ b/target/linux/sunxi/config-4.19
@@ -579,7 +579,6 @@ CONFIG_USB_STORAGE=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USERIO=y
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 CONFIG_VFAT_FS=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
diff --git a/target/linux/sunxi/config-5.4 b/target/linux/sunxi/config-5.4
index fa765b31f8..73a0711e0f 100644
--- a/target/linux/sunxi/config-5.4
+++ b/target/linux/sunxi/config-5.4
@@ -565,7 +565,6 @@ CONFIG_USB_STORAGE=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USERIO=y
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 CONFIG_VFAT_FS=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
diff --git a/target/linux/tegra/config-4.19 b/target/linux/tegra/config-4.19
index 20eead79ce..c5a4c9941d 100644
--- a/target/linux/tegra/config-4.19
+++ b/target/linux/tegra/config-4.19
@@ -539,7 +539,6 @@ CONFIG_USB_ULPI=y
 CONFIG_USB_ULPI_VIEWPORT=y
 # CONFIG_USERIO is not set
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 # CONFIG_VFIO is not set
 CONFIG_VFP=y
 CONFIG_VFPv3=y
diff --git a/target/linux/tegra/config-5.4 b/target/linux/tegra/config-5.4
index f6eef50e75..6bc96d13ce 100644
--- a/target/linux/tegra/config-5.4
+++ b/target/linux/tegra/config-5.4
@@ -554,7 +554,6 @@ CONFIG_USB_ULPI=y
 CONFIG_USB_ULPI_VIEWPORT=y
 # CONFIG_USERIO is not set
 CONFIG_USE_OF=y
-CONFIG_VDSO=y
 # CONFIG_VFIO is not set
 CONFIG_VFP=y
 CONFIG_VFPv3=y
-- 
2.28.0




More information about the openwrt-devel mailing list