On Thu, Aug 22, 2024 at 09:13:21AM +0200, Christophe Leroy wrote:
> Architectures use different location for vDSO sources:
>       arch/mips/vdso
>       arch/sparc/vdso
>       arch/arm64/kernel/vdso
>       arch/riscv/kernel/vdso
>       arch/csky/kernel/vdso
>       arch/x86/um/vdso
>       arch/x86/entry/vdso
>       arch/powerpc/kernel/vdso
>       arch/arm/vdso
>       arch/loongarch/vdso
> 
> Don't hard-code vdso sources location in selftest Makefile,
> instead create a vdso/ symbolic link in tools/arch/$arch/ and
> update Makefile accordingly.

That seems like a good way of handling it. As archs add their
implementations, they can just add the symlink and do no more work. It
will also make review slightly easier: if I don't see the symlink added,
I'll know the submitter didn't actually test their chacha :-P.

I'll take this into my random.git tree now as a fix.

Jason

Reply via email to