diff mbox series

mvebu: enable the vDSO

Message ID 20201007182049.313278-1-rsalvaterra@gmail.com
State Superseded
Headers show
Series mvebu: enable the vDSO | expand

Commit Message

Rui Salvaterra Oct. 7, 2020, 6:20 p.m. UTC
The vDSO is used to accelerate some syscalls. It's working fine on other ARM
targets (e.g. sunxi), let's also enable it on mvebu.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
---
 target/linux/mvebu/config-5.4 | 1 +
 1 file changed, 1 insertion(+)

Comments

Hauke Mehrtens Oct. 10, 2020, 6:56 p.m. UTC | #1
On 10/7/20 8:20 PM, Rui Salvaterra wrote:
> The vDSO is used to accelerate some syscalls. It's working fine on other ARM
> targets (e.g. sunxi), let's also enable it on mvebu.
> 
> Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
> ---
>   target/linux/mvebu/config-5.4 | 1 +
>   1 file changed, 1 insertion(+)

Hi,

I would prefer if we activate CONFIG_VDSO on all (arm) targets.

Could you please add change CONFIG_VDSO to y in these files:
target/linux/generic/config-4.19
target/linux/generic/config-5.4

And then remove it from all target configuration files.

Hauke
Rui Salvaterra Oct. 11, 2020, 11:46 a.m. UTC | #2
Hi, Hauke,

On Sat, 10 Oct 2020 at 19:56, Hauke Mehrtens <hauke@hauke-m.de> wrote:
>
> Hi,
>
> I would prefer if we activate CONFIG_VDSO on all (arm) targets.
>
> Could you please add change CONFIG_VDSO to y in these files:
> target/linux/generic/config-4.19
> target/linux/generic/config-5.4
>
> And then remove it from all target configuration files.

Sure thing, I also believe it's the right thing to do. Will cook a
patch later today.

Thanks,
Rui
diff mbox series

Patch

diff --git a/target/linux/mvebu/config-5.4 b/target/linux/mvebu/config-5.4
index a13cb8d9e5..7e44c79089 100644
--- a/target/linux/mvebu/config-5.4
+++ b/target/linux/mvebu/config-5.4
@@ -489,6 +489,7 @@  CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_MVEBU=y
 CONFIG_USB_XHCI_PLATFORM=y
 CONFIG_USE_OF=y
+CONFIG_VDSO=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
 CONFIG_WATCHDOG_CORE=y